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...") |
>Teg |
||
| Line 3: | Line 3: | ||
-->{{#cargo_declare: | -->{{#cargo_declare: | ||
_table=NPCs | _table=NPCs | ||
| + | |Id=String | ||
|Name=String | |Name=String | ||
|Title=String | |Title=String | ||
| − | | | + | |WeaponType=String |
| − | |||
| − | |||
| − | |||
|Rarity=Integer | |Rarity=Integer | ||
| − | | | + | |ElementalType=String |
| − | | | + | |CharaType=String |
| − | | | + | |VariationId=Integer |
| − | | | + | |MinHp3=Integer |
| − | | | + | |MinHp4=Integer |
| − | | | + | |MinHp5=Integer |
| + | |MaxHp=Integer | ||
| + | |PlusHp0=Integer | ||
| + | |PlusHp1=Integer | ||
| + | |PlusHp2=Integer | ||
| + | |PlusHp3=Integer | ||
| + | |PlusHp4=Integer | ||
| + | |McFullBonusHp5=Integer | ||
| + | |MinAtk3=Integer | ||
| + | |MinAtk4=Integer | ||
| + | |MinAtk5=Integer | ||
| + | |MaxAtk=Integer | ||
| + | |PlusAtk0=Integer | ||
| + | |PlusAtk1=Integer | ||
| + | |PlusAtk2=Integer | ||
| + | |PlusAtk3=Integer | ||
| + | |PlusAtk4=Integer | ||
| + | |McFullBonusAtk5=Integer | ||
| + | |MinDef=Integer | ||
| + | |DefCoef=Integer | ||
| + | |Skill1=String | ||
| + | |Skill1Name=String | ||
| + | |Skill1Desc=String | ||
| + | |Skill2=String | ||
| + | |Skill2Name=String | ||
| + | |Skill2Desc=String | ||
| + | |Abilities11=String | ||
| + | |Abilities12=String | ||
| + | |Abilities13=String | ||
| + | |Abilities14=String | ||
| + | |Abilities21=String | ||
| + | |Abilities22=String | ||
| + | |Abilities23=String | ||
| + | |Abilities24=String | ||
| + | |Abilities31=String | ||
| + | |Abilities32=String | ||
| + | |Abilities33=String | ||
| + | |Abilities34=String | ||
| + | |ExAbilityData1=String | ||
| + | |ExAbilityData2=String | ||
| + | |ExAbilityData3=String | ||
| + | |ExAbilityData4=String | ||
| + | |ExAbilityData5=String | ||
| + | |ManaCircleName=String | ||
| + | |JapaneseCV=String | ||
| + | |EnglishCV=String | ||
| + | |Description=Wikitext | ||
| + | |IsPlayable=Boolean | ||
| + | |MaxFriendshipPoint=Integer | ||
}}<!-- | }}<!-- | ||
| Line 22: | Line 68: | ||
-->{{#cargo_store: | -->{{#cargo_store: | ||
_table=NPCs | _table=NPCs | ||
| − | |Name={{{Name| | + | |Id={{{Id|}}} |
| + | |Name={{{Name|}}} | ||
|Title={{{Title|}}} | |Title={{{Title|}}} | ||
| − | | | + | |WeaponType={{{WeaponType|}}} |
| − | |||
| − | |||
| − | |||
|Rarity={{{Rarity|}}} | |Rarity={{{Rarity|}}} | ||
| − | | | + | |ElementalType={{{ElementalType|}}} |
| − | | | + | |CharaType={{{CharaType|}}} |
| − | | | + | |VariationId={{{VariationId|}}} |
| − | | | + | |MinHp3={{{MinHp3|}}} |
| − | | | + | |MinHp4={{{MinHp4|}}} |
| − | | | + | |MinHp5={{{MinHp5|}}} |
| + | |MaxHp={{{MaxHp|}}} | ||
| + | |PlusHp0={{{PlusHp0|}}} | ||
| + | |PlusHp1={{{PlusHp1|}}} | ||
| + | |PlusHp2={{{PlusHp2|}}} | ||
| + | |PlusHp3={{{PlusHp3|}}} | ||
| + | |PlusHp4={{{PlusHp4|}}} | ||
| + | |McFullBonusHp5={{{McFullBonusHp5|}}} | ||
| + | |MinAtk3={{{MinAtk3|}}} | ||
| + | |MinAtk4={{{MinAtk4|}}} | ||
| + | |MinAtk5={{{MinAtk5|}}} | ||
| + | |MaxAtk={{{MaxAtk|}}} | ||
| + | |PlusAtk0={{{PlusAtk0|}}} | ||
| + | |PlusAtk1={{{PlusAtk1|}}} | ||
| + | |PlusAtk2={{{PlusAtk2|}}} | ||
| + | |PlusAtk3={{{PlusAtk3|}}} | ||
| + | |PlusAtk4={{{PlusAtk4|}}} | ||
| + | |McFullBonusAtk5={{{McFullBonusAtk5|}}} | ||
| + | |MinDef={{{MinDef|}}} | ||
| + | |DefCoef={{{DefCoef|}}} | ||
| + | |Skill1={{{Skill1|}}} | ||
| + | |Skill1Name={{{Skill1Name|}}} | ||
| + | |Skill1Desc={{{Skill1Desc|}}} | ||
| + | |Skill2={{{Skill2|}}} | ||
| + | |Skill2Name={{{Skill2Name|}}} | ||
| + | |Skill2Desc={{{Skill2Desc|}}} | ||
| + | |Abilities11={{{Abilities11|}}} | ||
| + | |Abilities12={{{Abilities12|}}} | ||
| + | |Abilities13={{{Abilities13|}}} | ||
| + | |Abilities14={{{Abilities14|}}} | ||
| + | |Abilities21={{{Abilities21|}}} | ||
| + | |Abilities22={{{Abilities22|}}} | ||
| + | |Abilities23={{{Abilities23|}}} | ||
| + | |Abilities24={{{Abilities24|}}} | ||
| + | |Abilities31={{{Abilities31|}}} | ||
| + | |Abilities32={{{Abilities32|}}} | ||
| + | |Abilities33={{{Abilities33|}}} | ||
| + | |Abilities34={{{Abilities34|}}} | ||
| + | |ExAbilityData1={{{ExAbilityData1|}}} | ||
| + | |ExAbilityData2={{{ExAbilityData2|}}} | ||
| + | |ExAbilityData3={{{ExAbilityData3|}}} | ||
| + | |ExAbilityData4={{{ExAbilityData4|}}} | ||
| + | |ExAbilityData5={{{ExAbilityData5|}}} | ||
| + | |ManaCircleName={{{ManaCircleName|}}} | ||
| + | |JapaneseCV={{{JapaneseCV|}}} | ||
| + | |EnglishCV={{{EnglishCV|}}} | ||
| + | |Description={{{Description|}}} | ||
| + | |IsPlayable={{{IsPlayable|}}} | ||
| + | |MaxFriendshipPoint={{{MaxFriendshipPoint|}}} | ||
}}<!-- | }}<!-- | ||
--><div class="panel" style="max-width:900px;margin:auto"> | --><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|{{{ | + | <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>{{#ifexist: File:{{{ | + | <div class="adv-portrait" style="text-align:center;"> |
| + | {{#switch:{{{Rarity|}}} | ||
| + | |3={{#tag:tabber| | ||
| + | Rarity 3= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 01 r03 portrait.png | [[File:{{{Id|}}} 01 r03 portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> | ||
| + | {{!}}-{{!}} | ||
| + | Rarity 4= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 01 r04 portrait.png | [[File:{{{Id|}}} 01 r04 portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> | ||
| + | {{!}}-{{!}} | ||
| + | Rarity 5= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 01 r05 portrait.png | [[File:{{{Id|}}} 01 r05 portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> | ||
| + | }} | ||
| + | |4={{#tag:tabber| | ||
| + | Rarity 4= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 01 r04 portrait.png | [[File:{{{Id|}}} 01 r04 portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> | ||
| + | {{!}}-{{!}} | ||
| + | Rarity 5= | ||
| + | <div>{{#ifexist: File:{{{Id|}}} 01 r05 portrait.png | [[File:{{{Id|}}} 01 r05 portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> | ||
| + | }} | ||
| + | |5={{#tag:tabber| | ||
| + | Rarity 5=<div>{{#ifexist: File:{{{Id|}}} 01 r05 portrait.png | [[File:{{{Id|}}} 01 r05 portrait.png|400px]] | [[File:Unknown.png|400px|link=]] }}</div> | ||
| + | }} | ||
| + | }} | ||
| + | </div> | ||
<div style="flex-grow:1;text-align:center"> | <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">Details</p> | <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">Details</p> | ||
| − | <div style="width:300px;margin:15px auto;font-style:italic;font-size:.9em;">{{{ | + | <div style="width:300px;margin:15px auto;font-style:italic;font-size:.9em;">{{{Description|No details yet.}}}</div> |
| − | + | {{TermDescriptionTooltip|HP|{{{MinHp{{{Rarity|}}}|}}} - {{{MaxHp|}}} ({{#expr:{{{MaxHp|}}}+{{{PlusHp0|}}}+{{{PlusHp1|}}}+{{{PlusHp2|}}}+{{{PlusHp3|}}}+{{{PlusHp4|}}}+{{{McFullBonusHp5|}}}}})|Min - Max (Max+Bonus)}} | |
| − | {{TermDescription| | + | {{TermDescriptionTooltip|Attack|{{{MinAtk{{{Rarity|}}}|}}} - {{{MaxAtk|}}} ({{#expr:{{{MaxAtk|}}}+{{{PlusAtk0|}}}+{{{PlusAtk1|}}}+{{{PlusAtk2|}}}+{{{PlusAtk3|}}}+{{{PlusAtk4|}}}+{{{McFullBonusAtk5|}}}}})|Min - Max (Max+Bonus)}} |
| − | {{TermDescription|Base Rarity|{{{Rarity| | + | {{TermDescription|Defense|{{{DefCoef|}}} }} |
| − | {{TermDescription|Voice Actor (EN)|{{{ | + | {{TermDescription|Class|{{#if: {{{CharaType|}}} | <div style="margin:-2px 0 0 1px">[[File:Icon Type Row {{{CharaType|}}}.png|105px|link=]]</div>}} }} |
| − | {{TermDescription|Voice Actor (JP)|{{{ | + | {{TermDescription|Base Rarity|{{#if: {{{Rarity|}}} | <div style="margin-top:-2px">[[File:Icon Rarity Row {{{Rarity|}}}.png|90px|link=]]</div>}} }} |
| + | {{TermDescription|Voice Actor (EN)|{{{EnglishCV|?}}}}} | ||
| + | {{TermDescription|Voice Actor (JP)|{{{JapaneseCV|?}}}}} | ||
| + | |||
| + | |||
</div> | </div> | ||
</div> | </div> | ||
| Line 54: | Line 173: | ||
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Skills</p> | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Skills</p> | ||
<div class="skill-section"> | <div class="skill-section"> | ||
| − | {{ | + | {{#if: {{{Skill1Name|}}} | {{SkillDisplayEntry|Name={{{Skill1Name|}}} }} }} |
| − | {{#if:{{{ | + | {{#if: {{{Skill2Name|}}} | {{SkillDisplayEntry|Name={{{Skill2Name|}}} }} }} |
| − | {{#if:{{{ | + | {{#if: {{{Skill3Name|}}} | {{SkillDisplayEntry|Name={{{Skill3Name|}}} }} }} |
</div> | </div> | ||
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Co-abilities</p> | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Co-abilities</p> | ||
<div class="skill-section"> | <div class="skill-section"> | ||
| − | {{ | + | {{#if: {{{ExAbilityData1|}}} | {{CoAbilityDisplayEntry|Id={{{ExAbilityData1|}}} }} }} |
</div> | </div> | ||
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Abilities</p> | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Abilities</p> | ||
<div class="skill-section"> | <div class="skill-section"> | ||
| − | {{ | + | {{#if: {{{Abilities11|}}} | {{AbilityDisplayEntry|Id={{{Abilities11|}}} }} }} |
| − | {{#if: {{{ | + | {{#if: {{{Abilities21|}}} | {{AbilityDisplayEntry|Id={{{Abilities21|}}} }} }} |
| − | {{#if: {{{ | + | {{#if: {{{Abilities31|}}} | {{AbilityDisplayEntry|Id={{{Abilities31|}}} }} }} |
</div> | </div> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</div> | </div> | ||
</div><!-- | </div><!-- | ||
| − | -->[[Category: | + | -->[[Category:NPCs]]</includeonly> |
Revision as of 13:41, 30 September 2018
This template defines the table "NPCs". This table has not been created yet.