Jump to content

Template:FriendlyPageLink: Difference between revisions

From OIAr
Jan Schoonderbeek (talk | contribs)
superfluous brackets removed
Jan Schoonderbeek (talk | contribs)
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 08: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