Template:Sly 2/doc: Difference between revisions

Update template doc
(Added template doc)
 
(Update template doc)
Line 1:
Use thisThis template has two uses; it is a shortcut to insertwrite the full title of Sly 2, and a shortcut to link to articles in the <tt>Sly 2</tt> namespace.
 
== Usage ==
When used without any parameters, it simply inserts the full title of 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 ==