Template:NPC Infobox: Difference between revisions
Template page
More actions
m adding alt titles from neighbor infobox |
m if title is different from the page name |
||
| Line 43: | Line 43: | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
Set page display title if name is different from page name | |||
The namespace check is necessary since the magic words need additional masking. | |||
-->{{#ifeq:{{NAMESPACE}}||<!-- | |||
-->{{#if:{{{name|}}}|<!-- | |||
-->{{DISPLAYTITLE:{{{name|}}}|noreplace}}<!-- | |||
-->{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}}}||[[Category:Pages with Custom Title]]}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->[[Category:NPCs]]<!-- | -->[[Category:NPCs]]<!-- | ||
Type | Type | ||