Template:FriendlyPageLink: Difference between revisions

From OIAr
Jump to navigation Jump to search
(superfluous brackets removed)
(cater for situation that no link is actually provided)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
* [[{{{1|}}}|{{#show:{{{1}}}|?Friendly name}}]]
{{#if: {{{1|}}} |[[{{{1}}}|{{#ifexist: {{{1}}} |{{#show:{{{1}}}|?Friendly name}}| {{{1}}} }}]]|<small>''no link''</small>}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 07:43, 10 July 2013

no link

Template documentation

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