Difference between revisions of "Template:Related page link"
Dinoguy1000 (talk | contribs) (rewrite - titles with equals signs appear o work correctly now) |
Dinoguy1000 (talk | contribs) m (Protected "Template:Related page link": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{ #vardefine: $rpl-ns | {{{1}}} |
− | + | }}{{ #vardefine: $rpl-page | {{ #if: {{{2|}}} | {{{2}}} | {{ #var: $pagename | {{ #vardefineecho: $pagename | {{Normalized pagename|{{PAGENAME}}}} }} }} }} | |
− | }}{{ #vardefine: $rpl-page | {{ #if: {{{2|}}} | {{{2}}} | {{ #var: $pagename }} }} | ||
}}[[{{ #var: $rpl-ns }}:{{ #var: $rpl-page }}#{{ #if: {{{3|}}} | {{{3}}} | }}[[{{ #var: $rpl-ns }}:{{ #var: $rpl-page }}#{{ #if: {{{3|}}} | {{{3}}} | ||
}}|{{ #if: {{{label|}}} | {{{label}}} | {{ #var: $rpl-ns }} }}]]</includeonly><noinclude> | }}|{{ #if: {{{label|}}} | {{{label}}} | {{ #var: $rpl-ns }} }}]]</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |