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:Item: Difference between revisions

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.
m (Added vs1 for Vesteria Saga; changed name space from TearRingSaga to Saga)
(Converting space to non-breaking space so that image and text will not appear on separate lines if template appears in a narrow space)
Line 1: Line 1:
[[File:Is {{#invoke:Item|PlatformGame|{{{1|gba}}}}} {{lc:{{{image|{{{2|Iron Sword}}}}}}}}.png{{#switch:{{{1}}}|16|fewa={{!}}x20px}}|alt=]] [[{{#switch:{{{1}}}|ps1|ps2|vs1=Saga:}}{{{link|{{{2|Iron Sword}}}}}}|<span style="color: {{#switch:{{{type}}}|drop={{#switch:{{#invoke:Item|PlatformGame|{{{1|gba}}}}}|gcn=#ff8080|wii=#ff8080|#00ff00}}|forged=#45d0f0}};">{{{2|Iron Sword}}}</span>]]{{#switch:{{{type}}}|drop=[[File:SNESItemDrop.png|link=Inventory#Droppable items|This item is dropped upon this unit's defeat.]]|forged=[[File:3DSForge.png|14px|link=Forge|This weapon is forged and has boosted stats.]]}}{{#if:{{{lock|}}}|[[File:WiiLock.png|14px|link=Inventory#Locked items|This item or skill is locked to this unit.]]|}}<noinclude>
[[File:Is {{#invoke:Item|PlatformGame|{{{1|gba}}}}} {{lc:{{{image|{{{2|Iron Sword}}}}}}}}.png{{#switch:{{{1}}}|16|fewa={{!}}x20px}}|alt=]]&nbsp;[[{{#switch:{{{1}}}|ps1|ps2|vs1=Saga:}}{{{link|{{{2|Iron Sword}}}}}}|<span style="color: {{#switch:{{{type}}}|drop={{#switch:{{#invoke:Item|PlatformGame|{{{1|gba}}}}}|gcn=#ff8080|wii=#ff8080|#00ff00}}|forged=#45d0f0}};">{{{2|Iron Sword}}}</span>]]{{#switch:{{{type}}}|drop=[[File:SNESItemDrop.png|link=Inventory#Droppable items|This item is dropped upon this unit's defeat.]]|forged=[[File:3DSForge.png|14px|link=Forge|This weapon is forged and has boosted stats.]]}}{{#if:{{{lock|}}}|[[File:WiiLock.png|14px|link=Inventory#Locked items|This item or skill is locked to this unit.]]|}}<noinclude>
{{doc}}
{{doc}}
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 05:02, 13 June 2021

 Iron Sword

Purpose

A template for use on character data and chapter data pages. This makes adding an item or skill with a link to its page alongside its icon more streamlined.

Usage

This template has two main parameters: the game's number in the series/console platform code, and the item/skill's name.

{{Item|platform|item/skill}}

For above: {{Item|gba|Iron Sword}}

There additional parameters that can be included or excluded when needed. They can be put in any order in the template, as long as the first two parameters are still the required two.

For dropped and forged items, the "type" parameter should be added. Examples:

{{Item|gba|Vulnerary|type=drop}}
{{Item|gcn|Vulnerary|type=drop}}
{{Item|ds|Silver Sword|type=forged}}

 VulneraryThis item is dropped upon this unit's defeat.

 VulneraryThis item is dropped upon this unit's defeat.

 Silver SwordThis weapon is forged and has boosted stats.

If an item is locked to a unit's inventory, the "lock" parameter should be added. Examples:

{{Item|ds|Fire Emblem|link=Fire Emblem (Archanean item)|lock=y}}
{{Item|10|Steel Sword|type=drop|lock=y}}

 Fire EmblemThis item or skill is locked to this unit.

 Steel SwordThis item is dropped upon this unit's defeat.This item or skill is locked to this unit.

Additional parameters can be added to manually change the image and the article the text links to. Examples:

{{Item|14|Iron Katana|image=katana}}
{{Item|gcn|Blessing|link=Blessing (skill)}}

 Iron Katana

 Blessing

Multiple parameters can be used at the same time.

{{Item|14|Thunder|image=tome|type=drop}}

 ThunderThis item is dropped upon this unit's defeat.

For items and skills in TearRing Saga: Yutona Heroes War Chronicles, the template will automatically link to the relevant TearRingSaga namespace article.

{{Item|ps1|Warp}}
{{Item|ps1|Fire|link=Fire (spell)}}
{{Item|ps1|Continuation|image=continuation skill}}

 Warp

 Fire

 Continuation