Difference between revisions of "Template:Vdc"
BrazilianNut (talk | contribs) m (Moved EN to the top of translations; fixed (hopefully) links to translated versions of VDC's Main Page and added {{lang icon|en}} to languages which the Main Pag has not been trasnlated to.) |
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.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{uselang|}}}|<span class="plainlinks">[{{FULLURL:vdc:{{FULLPAGENAMEE:{{{1|Main Page}}}}}|uselang={{{uselang}}} }} {{{2|{{{1|Main Page}}}}}}]</span>|[[vdc:{{FULLPAGENAMEE:{{{1|Main Page}}}}}|{{{2|{{{1|Main Page}}}}}}]]}} {{lang | + | <includeonly>{{#if:{{{uselang|}}}|<span class="plainlinks">[{{FULLURL:vdc:{{FULLPAGENAMEE:{{{1|Main Page}}}}}|uselang={{{uselang}}} }} {{{2|{{{1|Main Page}}}}}}]</span>|[[vdc:{{FULLPAGENAMEE:{{{1|Main Page}}}}}|{{{2|{{{1|Main Page}}}}}}]]{{if lang|non-en= {{lang icon}}}}}} {{lang |
| en = on the | | en = on the | ||
| ar = على | | ar = على | ||
Line 21: | Line 21: | ||
| zh-hans = ,源于 | | zh-hans = ,源于 | ||
| zh-hant = 來自於 | | zh-hant = 來自於 | ||
− | }} {{lang | + | }} {{#ifeq:{{lc:{{{link|}}}}}|no|{{lang |
− | | en = | + | | en = Valve Developer Community |
− | | | + | | ar = Valve Developer Community |
− | | | + | | cs = Valve Developer Community |
− | | da = | + | | da = Valve Developer Community |
− | + | | de = Valve Entwickler-Community | |
− | | es = | + | | es = Comunidad de Desarrolladores de Valve |
− | | fi = | + | | fi = Valve Developer Community |
− | | | + | | fr = Valve Developer Community |
− | | | + | | hu = Valve Developer Community |
− | | | + | | it = Valve Developer Community |
− | | | + | | ko = Valve Developer Community |
− | | | + | | nl = Valve Developer Community |
− | | | + | | no = Valve Utviklerfellesskapet |
− | | | + | | pl = Społeczności programistów Valve |
− | | pt = | + | | pt = Valve Developer Community |
− | | pt-br = | + | | pt-br = comunidade de desenvolvedores da Valve |
− | | ro = | + | | ro = Valve Developer Community |
− | | ru = | + | | ru = Сообществе разработчиков Valve |
− | | sv = | + | | sv = Valve Developer Community |
− | | zh-hans = | + | | zh-hans = Valve 开发者社区 |
− | | zh-hant = | + | | zh-hant = Valve 開發者社群 |
+ | }}|{{#if:{{{uselang|}}}|<span class="plainlinks">[{{FULLURL:vdc:{{FULLPAGENAMEE:Main Page}}|uselang={{{uselang|de}}}}} {{lang | ||
+ | | en = Valve Developer Community | ||
+ | | ar = Valve Developer Community | ||
+ | | cs = Valve Developer Community | ||
+ | | da = Valve Developer Community | ||
+ | | de = Valve Entwickler-Community | ||
+ | | es = Comunidad de Desarrolladores de Valve | ||
+ | | fi = Valve Developer Community | ||
+ | | fr = Valve Developer Community | ||
+ | | hu = Valve Developer Community | ||
+ | | it = Valve Developer Community | ||
+ | | ko = Valve Developer Community | ||
+ | | nl = Valve Developer Community | ||
+ | | no = Valve Utviklerfellesskapet | ||
+ | | pl = Społeczności programistów Valve | ||
+ | | pt = Valve Developer Community | ||
+ | | pt-br = comunidade de desenvolvedores da Valve | ||
+ | | ro = Valve Developer Community | ||
+ | | ru = Сообществе разработчиков Valve | ||
+ | | sv = Valve Developer Community | ||
+ | | zh-hans = Valve 开发者社区 | ||
+ | | zh-hant = Valve 開發者社群 | ||
+ | }}]</span>|<span class="plainlinks">[{{FULLURL:vdc:{{FULLPAGENAMEE:Main Page}}}} {{lang | ||
+ | | en = Valve Developer Community | ||
+ | | ar = Valve Developer Community | ||
+ | | cs = Valve Developer Community | ||
+ | | da = Valve Developer Community | ||
+ | | de = Valve Entwickler-Community | ||
+ | | es = Comunidad de Desarrolladores de Valve | ||
+ | | fi = Valve Developer Community | ||
+ | | fr = Valve Developer Community | ||
+ | | hu = Valve Developer Community | ||
+ | | it = Valve Developer Community | ||
+ | | ko = Valve Developer Community | ||
+ | | nl = Valve Developer Community | ||
+ | | no = Valve Utviklerfellesskapet | ||
+ | | pl = Społeczności programistów Valve | ||
+ | | pt = Valve Developer Community | ||
+ | | pt-br = comunidade de desenvolvedores da Valve | ||
+ | | ro = Valve Developer Community | ||
+ | | ru = Сообществе разработчиков Valve | ||
+ | | sv = Valve Developer Community | ||
+ | | zh-hans = Valve 开发者社区 | ||
+ | | zh-hant = Valve 開發者社群 | ||
+ | }}]</span> {{if lang|non-en={{lang icon}}}}}}}}</includeonly><noinclude> | ||
{{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ko, nl, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}} | {{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ko, nl, no, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}} | ||
{{Doc begin}} | {{Doc begin}} | ||
− | * {{tlx|vdc| | + | * {{tlx|vdc|Team Fortress 2 Design Theory}} generates {{vdc|Team Fortress 2 Design Theory}} |
− | * {{tlx|vdc| | + | * {{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|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]]. | ||
[[Category:Link insertion templates|Vdc]] | [[Category:Link insertion templates|Vdc]] | ||
</noinclude> | </noinclude> |
Revision as of 15:57, 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}}
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.