Difference between revisions of "Template:NPC"
Jump to navigation
Jump to search
>Teg (Created page with "<noinclude><!-- -->{{#cargo_declare: _table=NPCs |Name=String |Title=String |Element=String |Type=String |Weapon=String |Details=Wikitext |Rarity=Integer |VoiceEN=String |Voi...") |
>Boblers (making voice actor strings visible) |
||
| (158 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude><!-- | + | <noinclude>[[Category:Templates]]<!-- |
-->{{#cargo_declare: | -->{{#cargo_declare: | ||
_table=NPCs | _table=NPCs | ||
| + | |Id=String | ||
|Name=String | |Name=String | ||
| + | |NameJP=String | ||
|Title=String | |Title=String | ||
| − | | | + | |TitleJP=String |
| − | | | + | |WeaponType=String |
| − | | | + | |WeaponTypeId=Integer |
| − | | | + | |ElementalType=String |
| − | | | + | |ElementalTypeId=Integer |
| − | | | + | |Variations=Integer |
| − | | | + | |JapaneseCV=String |
| − | | | + | |EnglishCV=String |
| − | | | + | |ReleaseDate=DateTime |
| − | | | + | |Alignment=String |
| − | | | + | |Description=Wikitext |
}}<!-- | }}<!-- | ||
| Line 22: | Line 24: | ||
-->{{#cargo_store: | -->{{#cargo_store: | ||
_table=NPCs | _table=NPCs | ||
| − | |Name={{{Name|{{ | + | |Id={{{Id|}}} |
| + | |Name={{{Name|}}} | ||
| + | |NameJP={{{NameJP|}}} | ||
|Title={{{Title|}}} | |Title={{{Title|}}} | ||
| − | | | + | |TitleJP={{{TitleJP|}}} |
| − | | | + | |WeaponType={{{WeaponType|}}} |
| − | | | + | |WeaponTypeId={{#switch:{{{WeaponType}}}|Sword=1|Blade=2|Dagger=3|Axe=4|Lance=5|Bow=6|Wand=7|Staff=8|0}} |
| − | | | + | |ElementalType={{{ElementalType|}}} |
| − | | | + | |ElementalTypeId={{#switch:{{{ElementalType}}}|Flame=1|Water=2|Wind=3|Light=4|Shadow=5|None=99|0}} |
| − | | | + | |Variations={{{Variations|}}} |
| − | | | + | |JapaneseCV={{{JapaneseCV|}}} |
| − | | | + | |EnglishCV={{{EnglishCV|}}} |
| − | | | + | |ReleaseDate={{#time:F d, Y h:i:s A e|{{#time:F d, Y|{{{ReleaseDate|}}}}} 6:00:00}} |
| − | | | + | |Alignment={{{Alignment|}}} |
| − | | | + | |Description={{{Description|}}} |
}}<!-- | }}<!-- | ||
| − | --><div class="panel" style="max-width:900px;margin:auto"> | + | -->{{NPCPageHeader}} |
| − | <div class="panel-heading"><div style="font-size:.6em;margin-bottom:-5px;">{{{Title|?}}}</div><div>{{InlineIcon|Icon Element|{{{ | + | |
| + | <div class="panel" style="max-width:900px;margin:auto"> | ||
| + | <div class="panel-heading"><div style="font-size:.6em;margin-bottom:-5px;">{{{Title|?}}}</div><div>{{InlineIcon|Icon Element|{{{ElementalType|?}}}}}{{InlineIcon|Icon Weapon|{{{WeaponType|?}}}}} {{{Name|{{PAGENAME}}}}}</div></div> | ||
<div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden"> | <div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden"> | ||
| − | + | <div class="adv-portrait" style="text-align:center;display:flex;flex-direction:column;justify-content:center;">{{#vardefine:imagePrefix|{{{Id|}}} 0{{{VariationId|1}}}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <div class=" | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{# | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{#tag:tabber| | {{#tag:tabber| | ||
| − | + | Variation 1= | |
| − | {{{ | + | <div>{{#ifexist: File:{{{Id|}}} 01 base portrait.png | [[File:{{{Id|}}} 01 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> |
| − | + | {{#ifexpr: {{{Variations|1}}} > 1 | | |
| − | {{ | ||
| − | |||
| − | {{{ | ||
| − | {{ | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| − | + | Variation 2= | |
| − | <div | + | <div>{{#ifexist: File:{{{Id|}}} 02 base portrait.png | [[File:{{{Id|}}} 02 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} |
| − | {{{ | + | {{#ifexpr: {{{Variations|1}}} > 2 | |
| − | </div> | + | {{!}}-{{!}} |
| − | {{ | + | Variation 3= |
| − | + | <div>{{#ifexist: File:{{{Id|}}} 03 base portrait.png | [[File:{{{Id|}}} 03 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} | |
| − | <div | + | {{#ifexpr: {{{Variations|1}}} > 3 | |
| − | {{{ | + | {{!}}-{{!}} |
| − | </div> | + | Variation 4= |
| − | {{ | + | <div>{{#ifexist: File:{{{Id|}}} 04 base portrait.png | [[File:{{{Id|}}} 04 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} |
| + | {{#ifexpr: {{{Variations|1}}} > 4 | | ||
| + | {{!}}-{{!}} | ||
| + | Variation 5= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 05 base portrait.png | [[File:{{{Id|}}} 05 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} | ||
| + | {{#ifexpr: {{{Variations|1}}} > 5 | | ||
| + | {{!}}-{{!}} | ||
| + | Variation 6= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 06 base portrait.png | [[File:{{{Id|}}} 06 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} | ||
| + | {{#ifexpr: {{{Variations|1}}} > 6 | | ||
| + | {{!}}-{{!}} | ||
| + | Variation 7= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 07 base portrait.png | [[File:{{{Id|}}} 07 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} | ||
| + | {{#ifexpr: {{{Variations|1}}} > 7 | | ||
| + | {{!}}-{{!}} | ||
| + | Variation 8= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 08 base portrait.png | [[File:{{{Id|}}} 08 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} | ||
| + | {{#ifexpr: {{{Variations|1}}} > 8 | | ||
| + | {{!}}-{{!}} | ||
| + | Variation 9= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 09 base portrait.png | [[File:{{{Id|}}} 09 base portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> }} | ||
{{!}}-{{!}} | {{!}}-{{!}} | ||
| − | + | 3D Model= | |
| − | + | {{#if:{{{3DModel|}}} | |
| − | {{{ | + | | {{{3DModel}}} |
| + | | {{#if:{{{3DModelId|}}} | {{#widget:3DModelNotteMoe|id={{{3DModelId}}}}} | {{3DModel|{{{Name|}}}}} }} }} | ||
| + | }} | ||
</div> | </div> | ||
| − | {{ | + | <div style="flex-grow:1;text-align:center"> |
| − | {{ | + | <p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p> |
| − | + | <div style="width:300px;margin:15px auto;font-style:italic;font-size:.9em;">{{{Description|No details yet.}}}</div> | |
| − | + | {{TermDescription|Japanese Title|{{{TitleJP|?}}}}} | |
| − | {{{ | + | {{TermDescription|Japanese Name|{{{NameJP}}}}} |
| + | {{TermDescription|Voice Actor (EN)|{{{EnglishCV}}}}} | ||
| + | {{TermDescription|Voice Actor (JP)|{{{JapaneseCV}}}}} | ||
| + | {{TermDescription|Alignment|{{{Alignment}}}}} | ||
| + | {{#if:{{{ReleaseDate|}}}|{{TermDescription|First Appearance|{{#time:F d, Y|{{{ReleaseDate|-}}}}}}}}} | ||
</div> | </div> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</div> | </div> | ||
| + | <div style="padding:1em;"> | ||
| + | |||
| + | {{#if:{{{Information|}}}| | ||
| + | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Information</p> | ||
| + | {{{Information|}}} | ||
}} | }} | ||
| + | {{#if:{{{Appearances|}}}| | ||
| + | {{StylizedHeader|Appearances}} | ||
| + | {{{Appearances|}}} | ||
</div> | </div> | ||
| + | }} | ||
</div> | </div> | ||
</div><!-- | </div><!-- | ||
| − | -->[[Category: | + | -->[[Category:NPCs]]</includeonly> |
Latest revision as of 15:33, 7 July 2020
This template defines the table "NPCs". This table has not been created yet.