Template:FriendlyPageLink: Difference between revisions

From OIAr
Jump to navigation Jump to search
(closing brackets)
(cater for situation that no link is actually provided)
 
Line 1: Line 1:
[[{{{1|}}}|{{#ifexist: {{{1|}}} |{{#show:{{{1|}}}|?Friendly name}}| {{{1|}}} }}]]<noinclude>
{{#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

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