Template:NPC Infobox: Difference between revisions
Template page
More actions
m seeing if removing year works in format date |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
-->{{Exists|File:NPC {{{title|{{{name|{{PAGENAME}}}}}}}}.png|In-Game,}}<!-- | -->{{Exists|File:NPC {{{title|{{{name|{{PAGENAME}}}}}}}}.png|In-Game,}}<!-- | ||
-->}} | -->}} | ||
|sections = Profile, Family, Voice Actors, | |sections = Profile, Family, Voice Actors, Additional Titles | ||
|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|}}} | ||
|Birthday = {{#if:{{{birthday|}}}|{{#formatdate:{{{birthday|}}}| | |Pronouns = {{{pronouns|}}} | ||
|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|}}}}} | ||
|Location = {{#if:{{{location|}}}|[[{{{location}}}]]}} | |Location = {{#if:{{{location|}}}|[[{{{location}}}]]}} | ||
| Line 34: | Line 35: | ||
|Japanese = {{{voice_ja|}}} | |Japanese = {{{voice_ja|}}} | ||
|Korean = {{{voice_ko|}}} | |Korean = {{{voice_ko|}}} | ||
|Additional Titles_collapsible = Yes | |||
|Additional Titles_collapsed = Yes | |||
|Additional Titles = Titles | |||
|Titles_nolabel = Yes | |||
|Titles = {{#if:{{#explode:{{{alttitle}}}|;|1}}|{{List|{{{alttitle}}}}}|{{{alttitle |}}}}} | |||
}}<!-- | }}<!-- | ||
-->{{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 | ||