Template:NPC Infobox: Difference between revisions
Template page
More actions
m adding alt titles from neighbor infobox |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
|Profile_collapsible = Yes | |Profile_collapsible = Yes | ||
|Profile = Real Name, Birthday, Death, Location, Role, Affiliation | |Profile = Real Name, Pronouns, Birthday, Death, Location, Role, Affiliation | ||
|Real Name = {{{realname|}}} | |Real Name = {{{realname|}}} | ||
|Pronouns = {{{pronouns|}}} | |||
|Birthday = {{#if:{{{birthday|}}}|{{#formatdate:{{{birthday|}}}|mdy}}}} | |Birthday = {{#if:{{{birthday|}}}|{{#formatdate:{{{birthday|}}}|mdy}}}} | ||
|Death = {{#ifeq:{{{deceased}}}|Past|Deceased prior to the game's events|{{{deceased|}}}}} | |Death = {{#ifeq:{{{deceased}}}|Past|Deceased prior to the game's events|{{{deceased|}}}}} | ||
| Line 43: | Line 44: | ||
-->{{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 | ||