Difference between revisions of "Template:Link"
(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| | + | * {{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> |