Template:Shiren 6 Item Infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{{Infobox Table | | |||
{{ | {{Shiren 6 Infobox Item Header | {{{category|}}} }} | ||
{{Infobox Header 2 | colspan = 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }} | |||
{{#switch: {{{category|}}} | |||
| Weapons | Shields | Traps = {{Infobox Image 2 | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }} | |||
}} | |||
{{Infobox Description 2 | colspan = 2 | {{{description_en|}}} | {{{description_ja|}}} }} | |||
{{#if: {{{cost|}}} {{{value|}}} | | |||
{{Infobox Subtable | colspan = 2 | title = Information | | |||
{{#if: {{{cost|}}} | | |||
{{Infobox Row 2 | Cost | {{{cost}}} }} | |||
}}{{#if: {{{value|}}} | | |||
{{Infobox Row 2 | Value | {{{value}}} }} | |||
}}{{#switch: {{{category|}}} | |||
| Weapons = {{#if: {{{strength|}}} | | |||
{{Infobox Row 2 | Strength | {{{strength}}} }} | |||
}}{{#if: {{{maxbonus|}}} | | |||
}}.png|frameless]] | {{Infobox Row 2 | Max Bonus | {{{maxbonus}}} }} | ||
}}{{#if: {{{seal|}}} | | |||
{{Infobox Row 2 | Seal | [[File:Shiren 6 - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }} | |||
}} | |||
| Shields = {{#if: {{{defense|}}} | | |||
{{Infobox Row 2 | Defense | {{{defense}}} }} | |||
}}{{#if: {{{maxbonus|}}} | | |||
Jars= | {{Infobox Row 2 | Max Bonus | {{{maxbonus}}} }} | ||
Projectiles= | }}{{#if: {{{seal|}}} | | ||
Scrolls=Scroll| | {{Infobox Row 2 | Seal | [[File:Shiren 6 - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }} | ||
Staves= | }} | ||
Traps= | | Riceballs = {{#if: {{{fullness|}}} | | ||
{{Infobox Row 2 | Fullness | {{{fullness}}} }} | |||
}}{{#if: {{{bonus|}}}| | |||
# | {{Infobox Row 2 | Full-Bonus | {{{bonus}}} }} | ||
}} | }} | ||
| Jars = {{#if: {{{type|}}} | | |||
{{Infobox Row 2 | Type | {{{type}}} }} | |||
}}{{#if: {{{costplus|}}} | | |||
{{Infobox Row 2 | Cost + | {{{costplus}}} }} | |||
}}{{#if: {{{valueplus|}}} | | |||
{{Infobox Row 2 | Value + | {{{valueplus}}} }} | |||
}} | |||
| Projectiles = {{#if: {{{damage|}}} | | |||
{{Infobox Row 2 | Damage | {{{damage}}} }} | |||
}} | |||
| Scrolls = {{#if: {{{blank_en|}}} | | |||
{{Infobox Row 2 | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }} | |||
}}{{#if: {{{blank_ja|}}} | | |||
{{Infobox Row 2 | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }} | |||
}}{{#if: {{{blank_td|}}} | | |||
{{Infobox Row 2 | Blank Scroll ({{CountryFlag|TW}}) | {{{blank_td}}} }} | |||
}} | |||
| Staves = {{#if: {{{costplus|}}} | | |||
{{Infobox Row 2 | Cost + | {{{costplus}}} }} | |||
}}{{#if: {{{valueplus|}}} | | |||
{{Infobox Row 2 | Value + | {{{valueplus}}} }} | |||
}} | |||
| Traps = {{#if: {{{generate|}}} | | |||
{{Infobox Row 2 | # of uses when generated | {{{generate}}} }} | |||
}}{{#if: {{{use|}}} | | |||
{{Infobox Row 2 | # 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 6 items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION --> | {{#if: {{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 6 items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION --> | ||
</onlyinclude> | </onlyinclude> | ||
<noinclude>{{Clear}}{{doc}} | <noinclude>{{Clear}}{{doc}} | ||
[[Category:Shiren 6 Infobox Templates]] | [[Category:Shiren 6 Infobox Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:31, 23 November 2023
Usage
{{Shiren 6 Item Infobox | category = | name = | jpname = | romaji = | image = | img_size = | img description = | description = | description jp = | caption = | data title = | cost = | value = }}
Add the following if the item is from the Weapons category
.
| strength = | max bonus = | rune =
Add the following if the item is from the Shields category
.
| defense = | max bonus = | rune =
Add the following if the item is from the Riceballs category
.
| fullness = | bonus =
Add the following if the item is from the Jars category
.
| type = | cost plus = | value plus =
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 td =
Add the following if the item is from the Staves category
.
| cost plus = | value plus =
Add the following if the item is from the Traps category
.
| generate = | use =
Full Syntax
{{Shiren 6 Item Infobox | category = | name = | jpname = | romaji = | image = | img_size = | img description = | description = | description jp = | caption = | data title = | cost = | value = | strength = | max bonus = | rune = | defense = | fullness = | bonus = | type = | cost plus = | value plus = | damage = | blank en = | blank ja = | blank td = | generate = | use = }}