Template:Shiren 1 SFC Item Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{{Infobox Table | | |||
{{Shiren 1 SFC Item Infobox Header | {{{category|}}} }} | |||
{{Infobox Header | colspan = 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }} | |||
{{#switch: {{{category|}}} | |||
Weapons= | | Weapons | Shields | Traps = {{Infobox Image | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }} | ||
}} | |||
{{Infobox Description | colspan = 2 | {{{description_en|}}} | {{{description_ja|}}} }} | |||
{{#if: {{{cost|}}} {{{value|}}} | | |||
{{Infobox Subtable | colspan = 2 | title = Information | | |||
{{#if: {{{cost|}}} | | |||
{{Shiren 1 SFC Infobox Row | Cost | {{{cost}}} }} | |||
}}{{#if: {{{value|}}} | | |||
{{Shiren 1 SFC Infobox Row | Value | {{{value}}} }} | |||
}}{{#switch: {{lc: {{{category|}}}}} | |||
}} | | weapons | weapon = {{#if: {{{strength|}}} | | ||
{{Shiren 1 SFC Infobox Row | Strength | {{{strength}}} }} | |||
}}{{#if: {{{maxbonus|}}} | | |||
{{Shiren 1 SFC Infobox Row | Max Bonus | {{{maxbonus}}} }} | |||
}}{{#if: {{{seal|}}} | | |||
{{Shiren 1 SFC Infobox Row | Seal | [[File:Shiren 1 SFC - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }} | |||
}} | |||
| shields | shield = {{#if: {{{defense|}}} | | |||
{{Shiren 1 SFC Infobox Row | Defense | {{{defense}}} }} | |||
}}{{#if: {{{maxbonus|}}} | | |||
{{Shiren 1 SFC Infobox Row | Max Bonus | {{{maxbonus}}} }} | |||
}}{{#if: {{{seal|}}} | | |||
# | {{Shiren 1 SFC Infobox Row | Seal | [[File:Shiren 1 SFC - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }} | ||
}} | }} | ||
| riceballs | riceball = {{#if: {{{fullness|}}} | | |||
{{Shiren 1 SFC Infobox Row | Fullness | {{{fullness}}} }} | |||
}}{{#if: {{{bonus|}}}| | |||
{{Shiren 1 SFC Infobox Row | Full-Bonus | {{{bonus}}} }} | |||
}} | |||
{{# | | jars | jar = {{#if: {{{type|}}} | | ||
{{Shiren 1 SFC Infobox Row | Type | {{{type}}} }} | |||
}}{{#if: {{{costplus|}}} | | |||
{{Shiren 1 SFC Infobox Row | Cost + | {{{costplus}}} }} | |||
}}{{#if: {{{valueplus|}}} | | |||
{{Shiren 1 SFC Infobox Row | Value + | {{{valueplus}}} }} | |||
}} | |||
| projectiles | projectile = {{#if: {{{damage|}}} | | |||
{{Shiren 1 SFC Infobox Row | Damage | {{{damage}}} }} | |||
}} | |||
| scrolls | scroll = {{#if: {{{blank_en|}}} | | |||
{{Shiren 1 SFC Infobox Row | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }} | |||
}}{{#if: {{{blank_ja|}}} | | |||
{{Shiren 1 SFC Infobox Row | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }} | |||
}}{{#if: {{{blank_td|}}} | | |||
{{Shiren 1 SFC Infobox Row | Blank Scroll ({{CountryFlag|TW}}) | {{{blank_td}}} }} | |||
}} | |||
| staves | staff = {{#if: {{{costplus|}}} | | |||
{{Shiren 1 SFC Infobox Row | Cost + | {{{costplus}}} }} | |||
}}{{#if: {{{valueplus|}}} | | |||
{{Shiren 1 SFC Infobox Row | Value + | {{{valueplus}}} }} | |||
}} | |||
| traps | trap = {{#if: {{{generate|}}} | | |||
{{Shiren 1 SFC Infobox Row | # of uses when generated | {{{generate}}} }} | |||
}}{{#if: {{{use|}}} | | |||
{{Shiren 1 SFC Infobox Row | # of uses when used | {{{use}}} }} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | }} | ||
<!-- AUTOCATEGORIZATION --> | <!-- AUTOCATEGORIZATION --> | ||
{{#if:{{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 1 SFC items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION --> | {{#if: {{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 1 SFC items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION --> | ||
</onlyinclude> | </onlyinclude> | ||
<noinclude>{{Clear}}{{doc}} | <noinclude>{{Clear}}{{doc}} | ||
[[Category:Shiren 1 SFC Infobox Templates]] | [[Category:Shiren 1 SFC Infobox Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:03, 3 February 2024
Usage
{{Shiren 1 SFC Item Infobox | category = | name = | jpname = | romaji = | image = | size = | description = | cost = | value = }}
Add the following if the item is from the Weapons category
.
| strength = | maxbonus = | rune =
Add the following if the item is from the Shields category
.
| defense = | maxbonus = | rune =
Add the following if the item is from the Riceballs category
.
| fullness = | bonus =
Add the following if the item is from the Pots category
.
| type = | costplus = | valueplus =
Add the following if the item is from the Projectiles category
.
| damage =
Add the following if the item is from the Scrolls category
.
| blank_en = | blank_ja = | blank_zh =
Add the following if the item is from the Staves category
.
| costplus = | valueplus =
Add the following if the item is from the Traps category
.
| generate = | use =
Full Syntax
{{Shiren 1 SFC Item Infobox | category = | name = | jpname = | romaji = | image = | size = | description = | cost = | value = | strength = | maxbonus = | rune = | defense = | fullness = | bonus = | type = | costplus = | valueplus = | damage = | blank_en = | blank_ja = | blank_zh = | generate = | use = }}