Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: If you would like, please join our Discord server, and/or follow us on Twitter (X) or Tumblr!

Template:ItemData: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Correction to rounding)
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="cellpadding-3"  backpadding=3 style="border-spacing: 0; {{round|20px}};  border:3px solid {{Color2}};  background-color: {{Color3}}; text-align: center"
{| class="cellpadding-3 item-list"
|- style="{{roundt}} background:{{Color1}}"
! style="width: 150px" | Game
!width=150px style="{{roundtl|20px}}; border:none"|Game
! style="width: 55px" | Icon
!width=55px style="border:none"|Icon
! style="width: 55px" | [[Durability|Uses]]
!width=55px style="border:none"|[[Durability|{{color|#d9d9d9|Uses}}]]
! style="width: 55px" | [[Worth]]
!width=55px style="border:none"|[[Worth|{{color|#d9d9d9|Worth}}]]
! style="width: 400px" | Effects and notes
!width=400px style="{{roundtr|20px}}}; border:none"|Effects and notes
|-
|-
{{#if:{{{game1|}}}|
{{#if:{{{game1|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game1|}}}}}
{{!}} {{{game1|}}}
{{#if:{{{sprite1|}}}|
{{!}} {{{sprite1|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite1|}}}}}
{{!}} {{{uses1|--}}}
{{#if:{{{uses1|}}}|
{{!}} {{{worth1|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses1|}}}}}
{{!}} {{{notes1|--}}}}}
{{#if:{{{worth1|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth1|}}}}}
{{#if:{{{notes1|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes1|}}}}}
|-
|-
{{#if:{{{game2|}}}|
{{#if:{{{game2|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{game2|}}}}}
{{!}} {{{game2|}}}
{{#if:{{{sprite2|}}}|
{{!}} {{{sprite2|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{sprite2|}}}}}
{{!}} {{{uses2|--}}}
{{#if:{{{uses2|}}}|
{{!}} {{{worth2|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{uses2|}}}}}
{{!}} {{{notes2|--}}}}}
{{#if:{{{worth2|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worth2|}}}}}
{{#if:{{{notes2|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{notes2|}}}}}
|-
|-
{{#if:{{{game3|}}}|
{{#if:{{{game3|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game3|}}}}}
{{!}} {{{game3|}}}
{{#if:{{{sprite3|}}}|
{{!}} {{{sprite3|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite3|}}}}}
{{!}} {{{uses3|--}}}
{{#if:{{{uses3|}}}|
{{!}} {{{worth3|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses3|}}}}}
{{!}} {{{notes3|--}}}}}
{{#if:{{{worth3|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth3|}}}}}
{{#if:{{{notes3|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes3|}}}}}
|-
|-
{{#if:{{{game4|}}}|
{{#if:{{{game4|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{game4|}}}}}
{{!}} {{{game4|}}}
{{#if:{{{sprite4|}}}|
{{!}} {{{sprite4|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{sprite4|}}}}}
{{!}} {{{uses4|--}}}
{{#if:{{{uses4|}}}|
{{!}} {{{worth4|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{uses4|}}}}}
{{!}} {{{notes4|--}}}}}
{{#if:{{{worth4|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worth4|}}}}}
{{#if:{{{notes4|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{notes4|}}}}}
|-
|-
{{#if:{{{game5|}}}|
{{#if:{{{game5|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game5|}}}}}
{{!}} {{{game5|}}}
{{#if:{{{sprite5|}}}|
{{!}} {{{sprite5|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite5|}}}}}
{{!}} {{{uses5|--}}}
{{#if:{{{uses5|}}}|
{{!}} {{{worth5|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses5|}}}}}
{{!}} {{{notes5|--}}}}}
{{#if:{{{worth5|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth5|}}}}}
{{#if:{{{notes5|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes5|}}}}}
|-
|-
{{#if:{{{game6|}}}|
{{#if:{{{game6|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{game6|}}}}}
{{!}} {{{game6|}}}
{{#if:{{{sprite6|}}}|
{{!}} {{{sprite6|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{sprite6|}}}}}
{{!}} {{{uses6|--}}}
{{#if:{{{uses6|}}}|
{{!}} {{{worth6|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{uses6|}}}}}
{{!}} {{{notes6|--}}}}}
{{#if:{{{worth6|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worth6|}}}}}
{{#if:{{{notes6|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{notes6|}}}}}
|-
|-
{{#if:{{{game7|}}}|
{{#if:{{{game7|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game7|}}}}}
{{!}} {{{game7|}}}
{{#if:{{{sprite7|}}}|
{{!}} {{{sprite7|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite7|}}}}}
{{!}} {{{uses7|--}}}
{{#if:{{{uses7|}}}|
{{!}} {{{worth7|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses7|}}}}}
{{!}} {{{notes7|--}}}}}
{{#if:{{{worth7|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth7|}}}}}
{{#if:{{{notes7|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes7|}}}}}
|-
|-
{{#if:{{{game8|}}}|
{{#if:{{{game8|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{game8|}}}}}
{{!}} {{{game8|}}}
{{#if:{{{sprite8|}}}|
{{!}} {{{sprite8|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{sprite8|}}}}}
{{!}} {{{uses8|--}}}
{{#if:{{{uses8|}}}|
{{!}} {{{worth8|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{uses8|}}}}}
{{!}} {{{notes8|--}}}}}
{{#if:{{{worth8|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worth8|}}}}}
{{#if:{{{notes8|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{notes8|}}}}}
|-
|-
{{#if:{{{game9|}}}|
{{#if:{{{game9|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game9|}}}}}
{{!}} {{{game9|}}}
{{#if:{{{sprite9|}}}|
{{!}} {{{sprite9|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite9|}}}}}
{{!}} {{{uses9|--}}}
{{#if:{{{uses9|}}}|
{{!}} {{{worth9|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses9|}}}}}
{{!}} {{{notes9|--}}}}}
{{#if:{{{worth9|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth9|}}}}}
{{#if:{{{notes9|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes9|}}}}}
|-
|-
{{#if:{{{game10|}}}|
{{#if:{{{game10|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{game10|}}}}}
{{!}} {{{game10|}}}
{{#if:{{{sprite10|}}}|
{{!}} {{{sprite10|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{sprite10|}}}}}
{{!}} {{{uses10|--}}}
{{#if:{{{uses10|}}}|
{{!}} {{{worth10|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{uses10|}}}}}
{{!}} {{{notes10|--}}}}}
{{#if:{{{worth10|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worth10|}}}}}
{{#if:{{{notes10|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{notes10|}}}}}
|-
|-
{{#if:{{{game11|}}}|
{{#if:{{{game11|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game11|}}}}}
{{!}} {{{game11|}}}
{{#if:{{{sprite11|}}}|
{{!}} {{{sprite11|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite11|}}}}}
{{!}} {{{uses11|--}}}
{{#if:{{{uses11|}}}|
{{!}} {{{worth11|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses11|}}}}}
{{!}} {{{notes11|--}}}}}
{{#if:{{{worth11|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth11|}}}}}
{{#if:{{{notes11|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes11|}}}}}
|-
|-
{{#if:{{{game12|}}}|
{{#if:{{{game12|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{game12|}}}}}
{{!}} {{{game12|}}}
{{#if:{{{sprite12|}}}|
{{!}} {{{sprite12|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{sprite12|}}}}}
{{!}} {{{uses12|--}}}
{{#if:{{{uses12|}}}|
{{!}} {{{worth12|--}}}
{{!}}style="background:{{Color1}}" {{!}} {{{uses12|}}}}}
{{!}} {{{notes12|--}}}}}
{{#if:{{{worth12|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worth12|}}}}}
{{#if:{{{notes12|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{notes12|}}}}}
|-
|-
{{#if:{{{game13|}}}|
{{#if:{{{game13|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{game13|}}}}}
{{!}} {{{game13|}}}
{{#if:{{{sprite13|}}}|
{{!}} {{{sprite13|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{sprite13|}}}}}
{{!}} {{{uses13|--}}}
{{#if:{{{uses13|}}}|
{{!}} {{{worth13|--}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{uses13|}}}}}
{{!}} {{{notes13|--}}}}}
{{#if:{{{worth13|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{worth13|}}}}}
{{#if:{{{notes13|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{notes13|}}}}}
|-
|-
{{#if:{{{game14|}}}|
{{#if:{{{game14|}}}|
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{game14|}}}}}
{{!}} {{{game14|}}}
{{#if:{{{sprite14|}}}|
{{!}} {{{sprite14|--}}}
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{sprite14|}}}}}
{{!}} {{{uses14|--}}}
{{#if:{{{uses14|}}}|
{{!}} {{{worth14|--}}}
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{uses14|}}}}}
{{!}} {{{notes14|--}}}}}
{{#if:{{{worth14|}}}|
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{worth14|}}}}}
{{#if:{{{notes14|}}}|
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{notes14|}}}}}
|-
{{#if:{{{gameo|}}}|
{{!}}style="{{roundbl|20px}}; border:none; background-color:{{Color3}}" {{!}} {{{gameo|}}}}}
{{#if:{{{spriteo|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{spriteo|}}}}}
{{#if:{{{useso|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{useso|}}}}}
{{#if:{{{wortho|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{wortho|}}}}}
{{#if:{{{noteso|}}}|
{{!}}style="{{roundbr|20px}}; border:none; background-color:{{Color3}}" {{!}} {{{noteso|}}}}}
|-
{{#if:{{{gamee|}}}|
{{!}}style="{{roundbl|20px}}; background:{{Color1}}" {{!}} {{{gamee|}}}}}
{{#if:{{{spritee|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{spritee|}}}}}
{{#if:{{{usese|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{usese|}}}}}
{{#if:{{{worthe|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{worthe|}}}}}
{{#if:{{{notese|}}}|
{{!}}style="{{roundbr|20px}}; background:{{Color1}}" {{!}} {{{notese|}}}}}
|-
|-
{{#if:{{{game15|}}}|
{{!}} {{{game15|}}}
{{!}} {{{sprite15|--}}}
{{!}} {{{uses15|--}}}
{{!}} {{{worth15|--}}}
{{!}} {{{notes15|--}}}}}
|}<noinclude>
|}<noinclude>
==Usage==
For item stats on item/weapon pages. Input the values after the equal signs. Game values have to be inputted; input them as <nowiki>"{{title|Game  Title}}".</nowiki>
There are fourteen FE games in total, so use "game1" to "game14". "Game14" has been coded as the last row, with rounded corners. However, if the item did not appear in FE14 ({{title|Fates}}), then use "gameo" (if the total number of games is odd) or "gamee" (if the total number of games is even.) Whatever number after "game" is used is irrelevant, as long as the last row is rounded used "game14", "gameo" OR "gamee" (and so, "rank14"/"ranko"/"ranke".)


In other words, use "game1" to "game14" for different games, but the number is irrelevant as long as the last set of values are rounded using "game14", "gameo" OR "gamee".
{{doc}}</noinclude>
 
<pre>
{{ItemData
|game1=
|sprite1=
|uses1=
|worth1=
|notes1=
|-
|game2=
|sprite2=
|uses2=
|worth2=
|notes2=
|-
...
|game14=
|sprite14=
|uses14=
|worth14=
|notes14=
|-
}}
</pre>
[[Category:Stat templates]]
</noinclude>

Latest revision as of 15:39, 24 May 2023

Game Icon Uses Worth Effects and notes

Usage

For item stats on item/weapon pages. Input the values after the equal signs. Game values have to be inputted; input them as {{title|Game Title}}. Currently supports up to game15.

{{ItemData
|game1=
|sprite1=
|uses1=
|worth1=
|notes1=
|-
|game2=
|sprite2=
|uses2=
|worth2=
|notes2=
|-
...
|game14=
|sprite14=
|uses14=
|worth14=
|notes14=
}}