Difference between revisions of "Template:WhatLinksHere"

From NeoDex
Jump to navigation Jump to search
(Trial and error with this one.)
Line 1: Line 1:
<includeonly><center>[[Special:WhatLinksHere/{{PAGENAME}}|{{#switch: {{{type}}}| template = |>Pages that use this template<| page = |>What links here<| Template = |>Pages that use this template<| Page = |>What links here<| #default = |>What links here<}}]]</center></includeonly><noinclude>Use:
<includeonly><center>[[Special:WhatLinksHere/{{{type1}}}{{PAGENAME}}|{{#switch: {{{type2}}}| template = |>Pages that use this template<| page = |>What links here<| Template = |>Pages that use this template<| Page = |>What links here<| #default = |>What links here<}}]]</center></includeonly><noinclude>Use:


<code><nowiki>{{WhatLinksHere|type='''1'''}}</nowiki></code>
<code><nowiki>{{WhatLinksHere|type='''1'''}}</nowiki></code>
Line 10: Line 10:
Example:
Example:


{{WhatLinksHere|type=template}}
{{WhatLinksHere|type1=Template:|type2=template}}


[[Category:Templates/Helpers]]</noinclude>
[[Category:Templates/Helpers]]</noinclude>

Revision as of 01:58, 28 February 2014

Use:

{{WhatLinksHere|type='''1'''}}

  • 1:
    • Page type. If it's a template, put template in this space. If it's any other page, fill it with page,
---

Example:

[[Special:WhatLinksHere/Template:WhatLinksHere|]]