Difference between revisions of "Template:Wyrmprint"
Jump to navigation
Jump to search
>Teg (Created page with "<noinclude><!-- -->{{#cargo_declare: _table=Wyrmprints |Name=String |Rarity=String |MaxLevel=Integer |MinHP=Integer |MaxHP=Integer |MinStr=Integer |MaxStr=Integer |MinMight=I...") |
>Boblers (adding a missing div) |
||
| (656 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <noinclude><!-- | + | <noinclude>{{doc}}[[Category:Templates]]<!-- |
-->{{#cargo_declare: | -->{{#cargo_declare: | ||
_table=Wyrmprints | _table=Wyrmprints | ||
| + | |Id=String | ||
| + | |BaseId=String | ||
|Name=String | |Name=String | ||
| + | |NameJP=String | ||
| + | |NameSC=String | ||
| + | |NameTC=String | ||
|Rarity=String | |Rarity=String | ||
| − | | | + | |AmuletType=String |
| − | | | + | |MinHp=Integer |
| − | | | + | |MaxHp=Integer |
| − | | | + | |MinAtk=Integer |
| − | | | + | |MaxAtk=Integer |
| − | | | + | |VariationId=String |
| − | | | + | |Abilities11=String |
| − | | | + | |Abilities12=String |
| − | | | + | |Abilities13=String |
| + | |Abilities21=String | ||
| + | |Abilities22=String | ||
| + | |Abilities23=String | ||
| + | |Abilities31=String | ||
| + | |Abilities32=String | ||
| + | |Abilities33=String | ||
| + | |ArtistCV=String | ||
| + | |FlavorText1=Wikitext | ||
| + | |FlavorText2=Wikitext | ||
| + | |FlavorText3=Wikitext | ||
| + | |FlavorText4=Wikitext | ||
| + | |FlavorText5=Wikitext | ||
| + | |IsPlayable=Boolean | ||
| + | |SellCoin=Integer | ||
| + | |SellDewPoint=Integer | ||
| + | |ReleaseDate=DateTime | ||
| + | |FeaturedCharacters=List (,) of Wikitext | ||
| + | |Obtain=Wikitext | ||
| + | |Availability=String | ||
}}</noinclude><includeonly><!-- | }}</noinclude><includeonly><!-- | ||
-->{{#cargo_store: | -->{{#cargo_store: | ||
_table=Wyrmprints | _table=Wyrmprints | ||
| + | |Id={{{Id|}}} | ||
| + | |BaseId={{{BaseId|}}} | ||
|Name={{{Name|{{PAGENAME}}}}} | |Name={{{Name|{{PAGENAME}}}}} | ||
| + | |NameJP={{{NameJP|}}} | ||
| + | |NameSC={{{NameSC|}}} | ||
| + | |NameTC={{{NameTC|}}} | ||
|Rarity={{{Rarity|}}} | |Rarity={{{Rarity|}}} | ||
| − | | | + | |AmuletType={{{AmuletType|}}} |
| − | | | + | |MinHp={{{MinHp|}}} |
| − | | | + | |MaxHp={{{MaxHp|}}} |
| − | | | + | |MinAtk={{{MinAtk|}}} |
| − | | | + | |MaxAtk={{{MaxAtk|}}} |
| − | | | + | |VariationId={{{VariationId|}}} |
| − | | | + | |Abilities11={{{Abilities11|}}} |
| − | | | + | |Abilities12={{{Abilities12|}}} |
| − | | | + | |Abilities13={{{Abilities13|}}} |
| + | |Abilities21={{{Abilities21|}}} | ||
| + | |Abilities22={{{Abilities22|}}} | ||
| + | |Abilities23={{{Abilities23|}}} | ||
| + | |Abilities31={{{Abilities31|}}} | ||
| + | |Abilities32={{{Abilities32|}}} | ||
| + | |Abilities33={{{Abilities33|}}} | ||
| + | |ArtistCV={{{ArtistCV|None}}} | ||
| + | |FlavorText1={{{FlavorText1|}}} | ||
| + | |FlavorText2={{{FlavorText2|}}} | ||
| + | |FlavorText3={{{FlavorText3|}}} | ||
| + | |FlavorText4={{{FlavorText4|}}} | ||
| + | |FlavorText5={{{FlavorText5|}}} | ||
| + | |IsPlayable={{{IsPlayable|}}} | ||
| + | |SellCoin={{{SellCoin|}}} | ||
| + | |SellDewPoint={{{SellDewPoint|}}} | ||
| + | |ReleaseDate={{#time:F d, Y h:i:s A e|{{#time:F d, Y|{{{ReleaseDate|}}}}} 6:00:00}} | ||
| + | |FeaturedCharacters={{{FeaturedCharacters|None}}} | ||
| + | |Obtain={{{Obtain|}}} | ||
| + | |Availability={{{Availability|}}} | ||
}}<!-- | }}<!-- | ||
| − | --><div class="panel" style=" | + | -->{{#ifeq:{{{Abilities11|0}}} | 0 | | {{#vardefine:maxAbility1|Abilities11}}}}{{#ifeq:{{{Abilities12|0}}} | 0 | | {{#vardefine:maxAbility1|Abilities12}}}}{{#ifeq:{{{Abilities13|0}}} | 0 | | {{#vardefine:maxAbility1|Abilities13}}}}{{#ifeq:{{{Abilities21|0}}} | 0 | | {{#vardefine:maxAbility2|Abilities21}}}}{{#ifeq:{{{Abilities22|0}}} | 0 | | {{#vardefine:maxAbility2|Abilities22}}}}{{#ifeq:{{{Abilities23|0}}} | 0 | | {{#vardefine:maxAbility1|Abilities23}}}}{{#ifeq:{{{Abilities31|0}}} | 0 | | {{#vardefine:maxAbility3|Abilities31}}}}{{#ifeq:{{{Abilities32|0}}} | 0 | | {{#vardefine:maxAbility3|Abilities32}}}}{{#ifeq:{{{Abilities33|0}}} | 0 | | {{#vardefine:maxAbility1|Abilities33}}}}{{#vardefine:ability1MaxMight|{{#expr:{{#cargo_query:tables=Abilities|fields=PartyPowerWeight|where=Id="{{{{{#var:maxAbility1}}|}}}"|limit=1|more results text=|default=0|no html}}}}}}{{#vardefine:ability2MaxMight|{{#expr:{{#cargo_query:tables=Abilities|fields=PartyPowerWeight|where=Id="{{{{{#var:maxAbility2}}|}}}"|limit=1|more results text=|default=0|no html}}}}}}{{#vardefine:ability3MaxMight|{{#expr:{{#cargo_query:tables=Abilities|fields=PartyPowerWeight|where=Id="{{{{{#var:maxAbility3}}|}}}"|limit=1|more results text=|default=0|no html}}}}}}<!-- |
| + | |||
| + | --><div class="panel wyrmprints" style="max-width:850px;margin:auto"> | ||
<div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div> | <div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div> | ||
| − | <div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center"> | + | <div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden"> |
| − | <div>{{#ifexist: File: | + | <div style="text-align:center;display:flex;flex-direction:column;justify-content:center"> |
| + | {{#if:{{{CFU|}}} | ||
| + | |<div style="margin:10px">{{#ifexist: File:{{{BaseId|}}} 01 portrait.png | [[File:{{{BaseId|}}} 01 portrait.png|450px]] | [[File:Unknown.png|450px|link=File:{{{BaseId|}}} 01 portrait.png]][[Category:Wyrmprints without Stage 1 Image]] }}</div> | ||
| + | <span style="font-size:.8em;"><nowiki>*</nowiki> This wyrmprint comes fully unbound.</span> | ||
| + | |{{#tag:tabber| | ||
| + | Initial Vestige= | ||
| + | <div style="margin:10px">{{#ifexist: File:{{{BaseId|}}} 01 portrait.png | [[File:{{{BaseId|}}} 01 portrait.png|450px]] | [[File:Unknown.png|450px|link=File:{{{BaseId|}}} 01 portrait.png]][[Category:Wyrmprints without Stage 1 Image]] }}</div> | ||
| + | {{!}}-{{!}} | ||
| + | Refined Vestige= | ||
| + | <div style="margin:10px">{{#ifexist: File:{{{BaseId|}}} 02 portrait.png | [[File:{{{BaseId|}}} 02 portrait.png|450px]] | [[File:Unknown.png|450px|link=File:{{{BaseId|}}} 02 portrait.png]][[Category:Wyrmprints without Stage 2 Image]] }}</div> | ||
| + | <span style="font-size:.8em;"><nowiki>*</nowiki> This vestige is unlocked after this Wyrmprint is unbound twice.</span> | ||
| + | }} }} | ||
| + | </div> | ||
| + | |||
| + | <div class="wyrmprints-details" style="flex-grow:1;text-align:center;margin-left:5px"> | ||
| + | <p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:10px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p> | ||
| + | {{#tag:tabber| | ||
| + | Stage 1= | ||
| + | <div style="flex-grow:1;text-align:center"> | ||
| + | <div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{FlavorText1|No details yet.}}}</div> | ||
| + | </div> | ||
| + | {{!}}-{{!}} | ||
| + | Stage 2= | ||
| + | <div style="flex-grow:1;text-align:center"> | ||
| + | <div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{FlavorText2|No details yet.}}}</div> | ||
| + | </div> | ||
| + | {{!}}-{{!}} | ||
| + | Stage 3= | ||
| + | <div style="flex-grow:1;text-align:center"> | ||
| + | <div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{FlavorText3|No details yet.}}}</div> | ||
| + | </div> | ||
| + | {{!}}-{{!}} | ||
| + | Stage 4= | ||
| + | <div style="flex-grow:1;text-align:center"> | ||
| + | <div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{FlavorText4|No details yet.}}}</div> | ||
| + | </div> | ||
| + | {{!}}-{{!}} | ||
| + | Stage 5= | ||
<div style="flex-grow:1;text-align:center"> | <div style="flex-grow:1;text-align:center"> | ||
| − | < | + | <div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{FlavorText5|No details yet.}}}</div> |
| − | {{ | + | </div> |
| + | }} | ||
| + | <div>{{WyrmprintStatsCalculator | ||
| + | |minHp={{{MinHp|}}} | ||
| + | |maxHp={{{MaxHp|}}} | ||
| + | |minStr={{{MinAtk|}}} | ||
| + | |maxStr={{{MaxAtk|}}} | ||
| + | |rarity={{{Rarity|}}} | ||
| + | }}</div> | ||
| + | {{TermDescriptionTooltip|Base Min Might|{{#expr:{{{MinHp|0}}}+{{{MinAtk|0}}}+{{AbilityMight|Abilities|{{{Abilities11|}}}}}+{{AbilityMight|Abilities|{{{Abilities21|}}}}}+{{AbilityMight|Abilities|{{{Abilities31|}}}}}}}|Minimum HP + Minimum Str + Lv. 1 Ability Might}} | ||
| + | {{TermDescriptionTooltip|Base Max Might|{{#expr:{{{MaxHp|0}}}+{{{MaxAtk|0}}}+{{AbilityMight|Abilities|{{{Abilities13|}}}}}+{{AbilityMight|Abilities|{{{Abilities23|}}}}}+{{AbilityMight|Abilities|{{{Abilities33|}}}}}}}|Does not include external buffs (e.g. Halidom, Dragons, etc.)<br/><br/>Max HP + Max Str + Total Max Lv. Ability Might}} | ||
| + | {{TermDescription|Rarity|[[File:Icon Rarity Row {{{Rarity|}}}.png|90px|link=]]}} | ||
| + | {{TermDescription|Sell Value|{{formatnum:{{{SellCoin|0}}}}} {{InlineIcon|Icon Resource|Rupies}}+ {{formatnum:{{{SellDewPoint|0}}}}} {{InlineIcon|Icon Resource|Eldwater}} }} | ||
| + | {{TermDescription|Japanese Name|{{{NameJP|?}}}}} | ||
| + | {{ChineseName|{{{NameSC|}}}|{{{NameTC|}}}}} | ||
| + | {{TermDescription|Artist|[[Artists|{{{ArtistCV|?}}}]]}} | ||
| + | {{TermDescription|Featured Characters|{{{FeaturedCharacters|?}}}}} | ||
| + | {{TermDescription|Obtained From|{{{Obtain|?}}}}} | ||
| + | {{TermDescription|Release Date|{{#time:F d, Y|{{{ReleaseDate|-}}}}}}} | ||
| + | {{TermDescription|Availability|{{{Availability|?}}}}} | ||
| + | </div> | ||
| + | |||
| + | </div> | ||
| + | <div style="padding:1em;"> | ||
| + | <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> | ||
| + | :''<span style="font-size:.9em;">Wyrmprint ability(ies) upgrade once after being unbound twice and again when fully unbound.</span>'' | ||
| + | <div class="skill-section"> | ||
| + | {{#if: {{{Abilities11|}}} | {{#ifeq:{{{Abilities11|}}} | 0 | | {{#ifeq:{{{Ability1Event|0}}} | 0 | {{AbilityDisplay|DisplayCap=1|Lv1={{{Abilities11|}}}|Lv2={{{Abilities12|}}}|Lv3={{{Abilities13|}}} }} | {{AbilityDisplay|DisplayCap=1|Lv1={{{Abilities11|}}}|Lv2={{{Abilities12|}}}|Lv3={{{Abilities13|}}}|event=1}} }} }} }} | ||
| + | {{#if: {{{Abilities21|}}} | {{#ifeq:{{{Abilities21|}}} | 0 | | {{#ifeq:{{{Ability2Event|0}}} | 0 | {{AbilityDisplay|DisplayCap=1|Lv1={{{Abilities21|}}}|Lv2={{{Abilities22|}}}|Lv3={{{Abilities23|}}} }} | {{AbilityDisplay|DisplayCap=1|Lv1={{{Abilities21|}}}|Lv2={{{Abilities22|}}}|Lv3={{{Abilities23|}}}|event=1}} }} }} }} | ||
| + | {{#if: {{{Abilities31|}}} | {{#ifeq:{{{Abilities31|}}} | 0 | | {{#ifeq:{{{Ability3Event|0}}} | 0 | {{AbilityDisplay|DisplayCap=1|Lv1={{{Abilities31|}}}|Lv2={{{Abilities32|}}}|Lv3={{{Abilities33|}}} }} | {{AbilityDisplay|DisplayCap=1|Lv1={{{Abilities31|}}}|Lv2={{{Abilities32|}}}|Lv3={{{Abilities33|}}}|event=1}} }} }} }} | ||
| + | </div> | ||
| + | </div>{{ | ||
| + | #if:{{{Notes|}}} | ||
| + | |<div style="padding:1em;"> | ||
| + | <p style="margin-bottom:15px;border-bottom:1px solid;font-size:1.2em;font-variant-caps:small-caps;font-weight:bold">Notes</p> | ||
| + | {{{Notes|}}} | ||
</div> | </div> | ||
| + | |}} | ||
| + | <div style="padding:1em;"> | ||
| + | <p style="margin-bottom:15px;border-bottom:1px solid;font-size:1.2em;font-variant-caps:small-caps;font-weight:bold">Gallery</p> | ||
| + | {{#tag:gallery| | ||
| + | {{#ifexist: File:{{{BaseId|}}} 01.png | {{{BaseId|}}} 01.png | }} | ||
| + | {{#if:{{{CFU|}}}||{{#ifexist: File:{{{BaseId|}}} 02.png | {{{BaseId|}}} 02.png | }} }} | ||
| + | {{exists| File:{{{BaseId|}}} 01 (Small).png |then={{{BaseId|}}} 01 (Small).png{{!}}Small Ver. | else= }} | ||
| + | {{#if:{{{CFU|}}}||{{exists| File:{{{BaseId|}}} 02 (Small).png |then={{{BaseId|}}} 02 (Small).png{{!}}Small Ver. | else= }} }} | ||
| + | |mode=packed-hover | ||
| + | }} | ||
</div> | </div> | ||
</div><!-- | </div><!-- | ||
| − | --></includeonly> | + | -->[[Category:Wyrmprints]] {{#vardefine:i|0}}{{#while: |
| + | | {{#if: {{#explode:{{{Availability|}}}|,|{{#var:i}}}} | true }} | ||
| + | | [[Category:{{#sub:{{#explode:{{{Availability|}}}|,|{{#var:i}}}}}} Wyrmprints]]{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | ||
| + | }}</includeonly> | ||
Latest revision as of 23:58, 31 May 2020
Usage
{{Wyrmprint
|Id=
|BaseId=
|Name=
|NameJP=
|FeaturedCharacters=
|Obtain=
|CFU= Boolean. Set to 1 if Wyrmprint Comes Fully Unbound. Ignore otherwise.
|ReleaseDate=Month Day, Year
|Availability=
|Rarity=
|AmuletType=
|MinHp=
|MaxHp=
|MinAtk=
|MaxAtk=
|VariationId=
|Abilities11=
|Abilities12=
|Abilities13=
|Abilities21=
|Abilities22=
|Abilities23=
|Abilities31=
|Abilities32=
|Abilities33=
|Ability1Event=
|Ability2Event=
|Ability3Event=
|ArtistCV=
|FlavorText1=
|FlavorText2=
|FlavorText3=
|FlavorText4=
|FlavorText5=
|IsPlayable=
|SellCoin=
|SellDewPoint=
|Notes= (Optional trivia)
}}
This template defines the table "Wyrmprints". This table has not been created yet.