Template:Shiren 6 Item Infobox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<onlyinclude> <div class="templateTheme infoboxItem"> <div class="infoboxItemRow"> <div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">File:Shiren 6 - {{#switch:{{{category|}}}| Armbands=Armband| Weapons=Weapon| Shields=Shield| Herbs=Herb| Riceballs=Riceball| Jars=Jar| Projectiles=Arrow| Scrolls|#default=Scroll| Staves=Staff| Traps=Trap| Stones=Piggy Stone| Cannonballs=Cannonball| Gitan=Gitan }}...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
<div class=" | <div class="newInfobox"> | ||
<div class="infoboxItemRow"> | <div class="infoboxItemRow"> | ||
<div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 6 - {{#switch:{{{category|}}}| | <div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 6 - {{#switch:{{{category|}}}| | ||
Line 33: | Line 33: | ||
}}</span></div> | }}</span></div> | ||
</div> | </div> | ||
{{Infobox Header | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }} | |||
{{#switch:{{{category|}}}| | {{#switch:{{{category|}}}| | ||
Weapons | Weapons|Shields|Traps={{Infobox Image | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }} | ||
}} | }} | ||
{{Infobox Description | {{{description_en|}}} | {{{description_ja|}}} }} | |||
<div> | <div> | ||
{{#if:{{{cost|}}} {{{value | {{#if:{{{cost|}}} {{{value|}}}| | ||
<div class="infoboxContent mw-collapsible"> | <div class="infoboxContent mw-collapsible"> | ||
<div class="templatePrimary infoboxContext">Information</div> | <div class="templatePrimary infoboxContext">Information</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
{{Infobox Row | Cost | {{{cost}}} }} | |||
}}{{#if:{{{value|}}}| | }}{{#if:{{{value|}}}| | ||
{{Infobox Row | Value | {{{value}}} }} | |||
}}{{#switch:{{{category|}}}| | }}{{#switch:{{{category|}}}| | ||
Weapons={{#if:{{{strength|}}}| | Weapons={{#if:{{{strength|}}}| | ||
{{Infobox Row | Strength | {{{strength}}} }} | |||
}}{{#if:{{{maxbonus|}}}| | }}{{#if:{{{maxbonus|}}}| | ||
{{Infobox Row | Max Bonus | {{{maxbonus}}} }} | |||
}}{{#if:{{{seal|}}}| | }}{{#if:{{{seal|}}}| | ||
{{Infobox Row | Seal | [[File:Shiren 6 - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }} | |||
}}| | }}| | ||
Shields={{#if:{{{defense|}}}| | Shields={{#if:{{{defense|}}}| | ||
{{Infobox Row | Defense | {{{defense}}} }} | |||
}}{{#if:{{{maxbonus|}}}| | }}{{#if:{{{maxbonus|}}}| | ||
{{Infobox Row | Max Bonus | {{{maxbonus}}} }} | |||
}}{{#if:{{{seal|}}}| | }}{{#if:{{{seal|}}}| | ||
{{Infobox Row | Seal | [[File:Shiren 6 - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }} | |||
}}| | }}| | ||
Riceballs={{#if:{{{fullness|}}}| | Riceballs={{#if:{{{fullness|}}}| | ||
{{Infobox Row | Fullness | {{{fullness}}} }} | |||
}}{{#if:{{{bonus|}}}| | }}{{#if:{{{bonus|}}}| | ||
{{Infobox Row | Full-Bonus | {{{bonus}}} }} | |||
}}| | }}| | ||
Jars={{#if:{{{type|}}}| | Jars={{#if:{{{type|}}}| | ||
{{Infobox Row | Type | {{{type}}} }} | |||
}}{{#if:{{{costplus|}}}| | }}{{#if:{{{costplus|}}}| | ||
{{Infobox Row | Cost + | {{{costplus}}} }} | |||
}}{{#if:{{{valueplus|}}}| | }}{{#if:{{{valueplus|}}}| | ||
{{Infobox Row | Value + | {{{valueplus}}} }} | |||
}}| | }}| | ||
Projectiles={{#if:{{{damage|}}}| | Projectiles={{#if:{{{damage|}}}| | ||
{{Infobox Row | Damage | {{{damage}}} }} | |||
}}| | }}| | ||
Scrolls={{#if:{{{blank_en|}}}| | Scrolls={{#if:{{{blank_en|}}}| | ||
{{Infobox Row | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }} | |||
}}{{#if:{{{blank_ja|}}}| | }}{{#if:{{{blank_ja|}}}| | ||
{{Infobox Row | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }} | |||
}}{{#if:{{{blank_tw|}}}| | |||
{{Infobox Row | Blank Scroll ({{CountryFlag|TW}}) | {{{blank_tw}}} }} | |||
}}| | }}| | ||
Staves={{#if:{{{costplus|}}}| | Staves={{#if:{{{costplus|}}}| | ||
{{Infobox Row | Cost + | {{{costplus}}} }} | |||
}}{{#if:{{{valueplus|}}}| | }}{{#if:{{{valueplus|}}}| | ||
{{Infobox Row | Value + | {{{valueplus}}} }} | |||
}}| | }}| | ||
Traps={{#if:{{{generate|}}}| | Traps={{#if:{{{generate|}}}| | ||
{{Infobox Row | # of uses when generated | {{{generate}}} }} | |||
}}{{#if:{{{use|}}}| | }}{{#if:{{{use|}}}| | ||
{{Infobox Row | # of uses when used | {{{use}}} }} | |||
}} | }} | ||
}} | }} |
Revision as of 09:04, 8 October 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 = }}