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 (Text replacement - "\<font color\=\"(.*)\"\>(.*)\<\/font\>" to "{{color|$1|$2}}")
m (Correction to rounding)
Line 151: Line 151:
|-
|-
{{#if:{{{game14|}}}|
{{#if:{{{game14|}}}|
{{!}}style="{{roundbl}}; border:none; background-color:{{Color1}}" {{!}} {{{game14|}}}}}
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{game14|}}}}}
{{#if:{{{sprite14|}}}|
{{#if:{{{sprite14|}}}|
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{sprite14|}}}}}
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{sprite14|}}}}}
Line 159: Line 159:
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{worth14|}}}}}
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{worth14|}}}}}
{{#if:{{{notes14|}}}|
{{#if:{{{notes14|}}}|
{{!}}style="{{roundbr}}; border:none; background-color:{{Color1}}" {{!}} {{{notes14|}}}}}
{{!}}style="border:none; background-color:{{Color1}}" {{!}} {{{notes14|}}}}}
|-
|-
{{#if:{{{gameo|}}}|
{{#if:{{{gameo|}}}|
Line 170: Line 170:
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{wortho|}}}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{wortho|}}}}}
{{#if:{{{noteso|}}}|
{{#if:{{{noteso|}}}|
{{!}}style="{{roundb|20px}}; border:none; background-color:{{Color3}}" {{!}} {{{noteso|}}}}}
{{!}}style="{{roundbr|20px}}; border:none; background-color:{{Color3}}" {{!}} {{{noteso|}}}}}
|-
|-
{{#if:{{{gamee|}}}|
{{#if:{{{gamee|}}}|

Revision as of 01:34, 12 May 2020

width=150px style="Template:Roundtl; border:none"|Game Icon Uses Worth width=400px style="Template:Roundtr}; border:none"|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}}".

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 (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".

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