Template:FriendlyPageLink: Difference between revisions
Jump to navigation
Jump to search
(closing brackets) |
(cater for situation that no link is actually provided) |
||
Line 1: | Line 1: | ||
[[{{{1 | {{#if: {{{1|}}} |[[{{{1}}}|{{#ifexist: {{{1}}} |{{#show:{{{1}}}|?Friendly name}}| {{{1}}} }}]]|<small>''no link''</small>}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:43, 10 July 2013
no link
This template creates a link to a page specified as {{{1}}}, but shows the Friendly name instead of the actual page title. If the specified page doesn't exist, it will show a redlink to that page. If no link is provided to the template, it will show no link
The above documentation is transcluded from Template:FriendlyPageLink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |