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 - "cellspacing=0" to "")
Tags: Mobile edit Mobile web edit
mNo edit summary
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"  backpadding=3 style="border-spacing: 0; {{round|20px}};  border:3px solid {{Color2}};  background-color: {{Color3}}; text-align: center"
|- style="{{roundt}} background:{{Color1}}"
|- style="{{roundt}} background:{{Color1}}"
!width=150px style="{{roundtl}}; border:none"|Game
!width=150px style="{{roundtl|20px}}; border:none"|Game
!width=55px style="border:none"|Icon
!width=55px style="border:none"|Icon
!width=55px style="border:none"|[[Durability|<font color="#d9d9d9">Uses</font>]]
!width=55px style="border:none"|[[Durability|<font color="#d9d9d9">Uses</font>]]
!width=55px style="border:none"|[[Worth|<font color="#d9d9d9">Worth</font>]]
!width=55px style="border:none"|[[Worth|<font color="#d9d9d9">Worth</font>]]
!width=400px style="{{roundtr}}; border:none"|Effects and notes
!width=400px style="{{roundtr|20px}}}; border:none"|Effects and notes
|-
|-
{{#if:{{{game1|}}}|
{{#if:{{{game1|}}}|
Line 162: Line 162:
|-
|-
{{#if:{{{gameo|}}}|
{{#if:{{{gameo|}}}|
{{!}}style="{{roundbl}}; border:none; background-color:{{Color3}}" {{!}} {{{gameo|}}}}}
{{!}}style="{{roundbl|20px}}; border:none; background-color:{{Color3}}" {{!}} {{{gameo|}}}}}
{{#if:{{{spriteo|}}}|
{{#if:{{{spriteo|}}}|
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{spriteo|}}}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{spriteo|}}}}}
Line 170: Line 170:
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{wortho|}}}}}
{{!}}style="border:none; background-color:{{Color3}}" {{!}} {{{wortho|}}}}}
{{#if:{{{noteso|}}}|
{{#if:{{{noteso|}}}|
{{!}}style="{{roundbr}}; border:none; background-color:{{Color3}}" {{!}} {{{noteso|}}}}}
{{!}}style="{{roundb|20px}}; border:none; background-color:{{Color3}}" {{!}} {{{noteso|}}}}}
|-
|-
{{#if:{{{gamee|}}}|
{{#if:{{{gamee|}}}|
{{!}}style="{{roundbl}}; background:{{Color1}}" {{!}} {{{gamee|}}}}}
{{!}}style="{{roundbl|20px}}; background:{{Color1}}" {{!}} {{{gamee|}}}}}
{{#if:{{{spritee|}}}|
{{#if:{{{spritee|}}}|
{{!}}style="background:{{Color1}}" {{!}} {{{spritee|}}}}}
{{!}}style="background:{{Color1}}" {{!}} {{{spritee|}}}}}
Line 181: Line 181:
{{!}}style="background:{{Color1}}" {{!}} {{{worthe|}}}}}
{{!}}style="background:{{Color1}}" {{!}} {{{worthe|}}}}}
{{#if:{{{notese|}}}|
{{#if:{{{notese|}}}|
{{!}}style="{{roundbr}}; background:{{Color1}}" {{!}} {{{notese|}}}}}
{{!}}style="{{roundbr|20px}}; background:{{Color1}}" {{!}} {{{notese|}}}}}
|-
|-
|}<noinclude>
|}<noinclude>

Revision as of 22:28, 12 October 2019

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=
|-
}}