v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "Template:Link"
Jump to navigation
Jump to search
m (+comment) |
(examples) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[{{{1}}}{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}|{{{3}}}}}{{#if:{{{4|}}}|{{{4}}}}}{{#if:{{{5|}}}|{{{5}}}}}{{#if:{{{6|}}}|{{{6}}}}}{{#if:{{{7|}}}|{{{7}}}}}{{#if:{{{8|}}}|{{{8}}}}}{{#if:{{{9|}}}|{{{9}}}}}{{#if:{{{10|}}}|{{{10}}}}}{{#if:{{{t|}}}|{{!}}{{{t}}}}}]]</includeonly><noinclude> | + | <includeonly>[[{{{1}}}{{#if:{{{2|}}}|{{{2}}}}}{{#if:{{{3|}}}|{{{3}}}}}{{#if:{{{4|}}}|{{{4}}}}}{{#if:{{{5|}}}|{{{5}}}}}{{#if:{{{6|}}}|{{{6}}}}}{{#if:{{{7|}}}|{{{7}}}}}{{#if:{{{8|}}}|{{{8}}}}}{{#if:{{{9|}}}|{{{9}}}}}{{#if:{{{10|}}}|{{{10}}}}}{{#if:{{{t|}}}|{{!}}{{{t}}}}}]]<!-- Template:Link --></includeonly><noinclude> |
− | Experimental link template, which might | + | Experimental link template, which might reduce spam on pages linked to from high-traffic pages (especially the announcements). |
− | </ | + | |
+ | ==Usage== | ||
+ | This template accepts up to 10 (ordered) parameters, as well as an optional parameter for a displayed title (<code>t=</code>). Note that '''leading and trailing spaces are stripped from template arguments''' — that is, spaces in a parameter should have at least one non-whitespace character on each side. | ||
+ | <pre>{{link|Ma|in P|ag|e}}</pre> | ||
+ | {{link|Ma|in P|ag|e}} | ||
+ | |||
+ | <pre>{{link|Ma|in |Pag|e}}</pre> | ||
+ | {{link|Ma|in |Pag|e}} (trailing spaces are stripped from argument 2) | ||
+ | |||
+ | <pre>{{link|Ma|in P|ag|e|t=Link to main page}}</pre> | ||
+ | {{link|Ma|in P|ag|e|t=Link to main page}} | ||
+ | |||
+ | </noinclude> |
Latest revision as of 18:01, 29 August 2013
Experimental link template, which might reduce spam on pages linked to from high-traffic pages (especially the announcements).
Usage[edit]
This template accepts up to 10 (ordered) parameters, as well as an optional parameter for a displayed title (t=
). Note that leading and trailing spaces are stripped from template arguments — that is, spaces in a parameter should have at least one non-whitespace character on each side.
{{link|Ma|in P|ag|e}}
{{link|Ma|in |Pag|e}}
MainPage (trailing spaces are stripped from argument 2)
{{link|Ma|in P|ag|e|t=Link to main page}}