Template:Sly 2/doc: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Update template doc)
(Trpo)
 
Line 9: Line 9:


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


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

Latest revision as of 23:31, 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