Difference between revisions of "Template:Link"

From Team Fortress Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
   | purge
 
   | purge
 
   | refresh = purge
 
   | refresh = purge
   | #default = edit
+
   | #default = {{{type|edit}}}
 
   }}}} {{#if:{{{2|}}}|{{{2}}}|{{#switch:{{{type}}}
 
   }}}} {{#if:{{{2|}}}|{{{2}}}|{{#switch:{{{type}}}
 
   | purge
 
   | purge
 
   | refresh = purge
 
   | refresh = purge
   | #default = edit
+
   | #default = {{{type|edit}}}
 
   }}}}]</span><noinclude>
 
   }}}}]</span><noinclude>
 
== Usage ==
 
== Usage ==
Line 14: Line 14:
 
* {{tlx|link|Soldier|click here to edit}} generates {{link|Soldier|click here to edit}}
 
* {{tlx|link|Soldier|click here to edit}} generates {{link|Soldier|click here to edit}}
 
* {{tlx|link|Main Page|3=type=purge}} generates {{link|Main Page|type=purge}}
 
* {{tlx|link|Main Page|3=type=purge}} generates {{link|Main Page|type=purge}}
* {{tlx|link|Main Page|Purge the front page|3=type=purge}} generates {{link|Main Page|Purge the front page|type=purge}}
+
* {{tlx|link|Main Page|3=Purge the front page|4=type=purge}} generates {{link|Main Page|Purge the front page|type=purge}}
  
 
[[Category:Link insertion templates|Link]]
 
[[Category:Link insertion templates|Link]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:22, 27 October 2010

edit

Usage

Internal link template.