Template:Vdc: Difference between revisions

From Open Fortress Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><includeonly>{{#if: {{{2|}}} | [[vdc:{{{1}}}|{{{2}}}]] | [[vdc:{{{1}}}|{{{1}}}]]}}</includeonly>
{{doc}}
<onlyinclude><includeonly>{{#if: {{{2|}}} | [[vdc:{{{1}}}|{{{2}}}]] | [[vdc:{{{1}}}|{{{1}}}]]}}</includeonly></onlyinclude>

Latest revision as of 10:49, 20 August 2024

Template Documentation [edit]

Simple template to make linking out to Valve Developer Community easier.

Wikitext Result
{{vdc|npc_combinedropship}} npc_combinedropship
{{vdc|npc_combinedropship|Dropships}} Dropships

For what it's worth, the stylesheet is set up to attach the link to any "proper" interwiki link to VDC, [[vdc:npc_combinedropship]], but this template means nobody can forget to do the "pipe trick" and leave an ugly "vdc:" on the front of a link.