Template:Sly 2/doc: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Added template doc)
 
(Update template doc)
Line 1: Line 1:
Use this template to insert the full title of Sly 2.
This template has two uses; it is a shortcut to write the full title of Sly 2, and a shortcut to link to articles in the <tt>Sly 2</tt> namespace.


== Usage ==
== Usage ==
When used without any parameters, it simply inserts the full title of Sly 2.
{{tlc|Sly 2}} becomes {{Sly 2}}.
* i.e. {{tlc|Sly 2}} becomes {{Sly 2}}.

If you pass the name of an article in the <tt>Sly 2</tt> namespace as the first parameter, it produces a piped link to that article without the <tt>Sly 2:</tt> prefix.
* i.e. {{tlc|Sly 2|Overview}} becomes {{Sly 1|Overview}}.

If you pass some text as the second parameter, it uses that as the display text for the piped link.
* i.e. {{tlc|Sly 2|Overview{{!}}the first Sly game}} becomes {{Sly 2|Overview|the first sly game}}.


== See also ==
== See also ==

Revision as of 23:30, 18 July 2023

This template has two uses; it is a shortcut to write the full title of Sly 2, and a shortcut to link to articles in the Sly 2 namespace.

Usage

When used without any parameters, it simply inserts the full title of Sly 2.

  • i.e. {{Sly 2}} becomes Sly 2: Band of Thieves.

If you pass the name of an article in the Sly 2 namespace as the first parameter, it produces a piped link to that article without the Sly 2: prefix.

  • i.e. {{Sly 2|Overview}} becomes Overview.

If you pass some text as the second parameter, it uses that as the display text for the piped link.

See also