Difference between revisions of "Template:Vdc"
GrampaSwood (talk | contribs) (Added automatic lang icons if uselang is not used, added the ability to remove the links, fixed the main page links not linking properly in other languages.) |
GrampaSwood (talk | contribs) |
||
Line 91: | Line 91: | ||
{{Doc begin}} | {{Doc begin}} | ||
* {{tlx|vdc|Team Fortress 2 Design Theory}} generates {{vdc|Team Fortress 2 Design Theory}} | * {{tlx|vdc|Team Fortress 2 Design Theory}} generates {{vdc|Team Fortress 2 Design Theory}} | ||
− | * {{tlx|vdc|Team Fortress 2 Design Theory|link=no}} generates {{vdc|Team Fortress 2 Design Theory|link=no}} | + | * {{tlx|vdc|Team Fortress 2 Design Theory|3=link=no}} generates {{vdc|Team Fortress 2 Design Theory|link=no}} |
* {{tlx|vdc|Team Fortress 2 Design Theory|obscure link name}} generates {{vdc|Team Fortress 2 Design Theory|obscure link name}} | * {{tlx|vdc|Team Fortress 2 Design Theory|obscure link name}} generates {{vdc|Team Fortress 2 Design Theory|obscure link name}} | ||
* {{tlx|vdc|Your First Map|uselang{{=}}es}} generates {{vdc|Your First Map|uselang=es}}. Note that the link leads to the Spanish version of the page. However, this will not work for all pages; it will only work for those using the up to date system instead of the deprecated template [[vdc:Template:Lang|Template:Lang]]. | * {{tlx|vdc|Your First Map|uselang{{=}}es}} generates {{vdc|Your First Map|uselang=es}}. Note that the link leads to the Spanish version of the page. However, this will not work for all pages; it will only work for those using the up to date system instead of the deprecated template [[vdc:Template:Lang|Template:Lang]]. |
Latest revision as of 16:49, 9 December 2024
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Vdc/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, ar, cs, da, de, es, fi, fr, hu, it, ko, nl, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant (add) |
Documentation for Vdc
{{vdc|Team Fortress 2 Design Theory}}
generates Team Fortress 2 Design Theory on the Valve Developer Community{{vdc|Team Fortress 2 Design Theory|link=no}}
generates Team Fortress 2 Design Theory on the Valve Developer Community{{vdc|Team Fortress 2 Design Theory|obscure link name}}
generates obscure link name on the Valve Developer Community{{vdc|Your First Map|uselang=es}}
generates Your First Map on the Valve Developer Community. Note that the link leads to the Spanish version of the page. However, this will not work for all pages; it will only work for those using the up to date system instead of the deprecated template Template:Lang.