Difference between revisions of "Template:Link"
(Created page with '<span class="noprint plainlinks">[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action={{#switch:{{{type}}} | purge | refresh = purge | #default = edit }}}} {{#if:{{{2|}}}|{{{2}}}|e…') |
|||
Line 3: | Line 3: | ||
| refresh = purge | | refresh = purge | ||
| #default = edit | | #default = edit | ||
− | }}}} {{#if:{{{2|}}}|{{{2}}}|edit}}]</span><noinclude> | + | }}}} {{#if:{{{2|}}}|{{{2}}}|{{#switch:{{{type}}} |
+ | | purge | ||
+ | | refresh = purge | ||
+ | | #default = edit | ||
+ | }}}}]</span><noinclude> | ||
== Usage == | == Usage == | ||
Internal link template. | Internal link template. | ||
Line 9: | Line 13: | ||
* {{tlx|link|Soldier}} generates {{link|Soldier}} | * {{tlx|link|Soldier}} generates {{link|Soldier}} | ||
* {{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 {{ | + | * {{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|Purge the front page|3=type=purge}} generates {{link|Main Page|Purge the front page|type=purge}} | ||
[[Category:Link insertion templates|Link]] | [[Category:Link insertion templates|Link]] | ||
</noinclude> | </noinclude> |