This template is protected from editing.
Difference between revisions of "Template:Class link"
m (I didn't realize there was a real sandbox. Supports custom colors, and should be a bit easier to read now.) |
(Using the deprecated <font> tag because it also updates the underline color! Maybe one day we can use css :wishful:) |
||
Line 10: | Line 10: | ||
}}{{#if:{{{br|}}}|<br/>}}<!-- | }}{{#if:{{{br|}}}|<br/>}}<!-- | ||
-->[[{{{link|{{{1|Scout}}}{{if lang}}}}}|<!-- | -->[[{{{link|{{{1|Scout}}}{{if lang}}}}}|<!-- | ||
− | -->{{#if:{{{color|}}}|< | + | -->{{#if:{{{color|}}}|<font color="{{{color}}}">}}<!-- |
-->{{Class name|{{{1|Scout}}}}}<!-- | -->{{Class name|{{{1|Scout}}}}}<!-- | ||
− | -->{{#if:{{{color|}}}|</ | + | -->{{#if:{{{color|}}}|</font>}}]]<!-- |
-->{{#if:{{{br|}}}|</div>}}</includeonly><noinclude> | -->{{#if:{{{br|}}}|</div>}}</includeonly><noinclude> | ||
{{doc begin}} | {{doc begin}} | ||
=== Usage === | === Usage === | ||
− | * {{tlx| | + | * {{tlx|Class link|Soldier}} produces {{Class link|Soldier}} |
− | * {{tlx| | + | * {{tlx|Class link|Scout|3=link=Scout achievements}} produces {{Class link|Scout|link=Scout achievements}} |
− | * {{tlx| | + | * {{tlx|Class link|Pyro|3=size=48px}} produces {{Class link|Pyro|size=48px}} |
− | * {{tlx| | + | * {{tlx|Class link|Pyro|3=noimg=true}} produces {{Class link|Pyro|noimg=true}} |
− | * {{tlx| | + | * {{tlx|Class link|Medic|3=color=lime}} produces: {{Class link|Medic|color=lime}} |
+ | * {{tlx|Class link|Medic|3=br=yes}} in a table produces: | ||
{| class="wikitable grid" width="10%" | {| class="wikitable grid" width="10%" | ||
+ | ! class="header" | Random table | ||
+ | |- | ||
| {{Class link|Medic|br=yes}} | | {{Class link|Medic|br=yes}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Latest revision as of 23:57, 2 January 2017
Documentation for Class link
Usage
{{Class link|Soldier}}
produces Soldier{{Class link|Scout|link=Scout achievements}}
produces Scout{{Class link|Pyro|size=48px}}
produces Pyro{{Class link|Pyro|noimg=true}}
produces Pyro{{Class link|Medic|color=lime}}
produces: Medic{{Class link|Medic|br=yes}}
in a table produces:
Random table |
---|