Template:Sly 2/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Added template doc) |
TheOnlyZac (talk | contribs) (Trpo) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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 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.
- i.e.
{{Sly 2|Overview|the second Sly game}}
becomes the second sly game.
See also