No description available.
Template:Shiren 1 SFC Item Infobox: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "style="border-radius:10px"" to "style="border-radius: 1rem;"") |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
< | <div class="templateTheme infoboxItem"> | ||
< | <div class="infoboxItemRow"> | ||
Gitan= | <div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 1 SFC - {{#switch:{{{category|}}}| | ||
< | Bracers=Bracer| | ||
Weapons=Weapon| | |||
ShielSFC=Shield| | |||
Weapons= | Herbs=Herb| | ||
Riceballs=Riceball| | |||
Pots=Pot| | |||
< | Projectiles=Arrow| | ||
Scrolls|#default=Scroll| | |||
< | Staves=Staff| | ||
Traps=Trap| | |||
< | Gitan=Gitan | ||
}}.png|frameless]]</div> | |||
< | <div class="templatePrimary infoboxTitle infoboxItemCategory"><span style="font-weight: bold;">{{#switch:{{{category|}}}| | ||
Bracers=Bracer| | |||
< | Weapons=Weapon| | ||
ShielSFC=Shield| | |||
< | Herbs=Herb| | ||
Riceballs=Riceball| | |||
< | Pots=Pot| | ||
Projectiles=Projectile| | |||
< | Scrolls=Scroll| | ||
Staves=Staff| | |||
Traps=Trap| | |||
#default={{{category|}}} | |||
}}</span></div> | |||
</div> | |||
<div class="templatePrimary infoboxTitle"><span class="infoboxEnTitle"> | |||
<span class="infoboxKaTitle">{{#if:{{{name|}}} | {{{name}}} | {{PAGENAME}} }}</span> | |||
<span class="infoboxHeTitle">{{#if:{{{kana|}}} | <br>{{#if:{{{romaji|}}} | {{Tt|{{{kana}}}|{{{romaji}}}}} | {{{kana}}} }} }}{{#if:{{{hepburn|}}}| <br>{{{hepburn}}} }}</span> | |||
</span></div> | |||
{{#switch:{{{category|}}}| | |||
Weapons= | |||
<div class="infoboxImage">[[File:Shiren 1 SFC - {{#switch:{{{name|}}}|Cudgel X=Cudgel|Dragonkill X=Dragonkiller|Goldblade X=Golden Blade|Master X=Mastersword|Polearm X=Polearm|#default={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}}.png|alt={{#if:{{{description_en|}}} | {{{description_en}}} | No description available }}|frameless]]</div>| | |||
ShielSFC= | |||
<div class="infoboxImage">[[File:Shiren 1 SFC - {{#switch:{{{name|}}}|Armor X=Armor Ward|Blast X=Blast Shield|Bronze X=Bronzeward|Dragon X=Dragonward|Golden X=Gold Shield|Hide X=Hide Shield|Iron X=Iron Shield|Spiked X=Spiked Ward|Wood X=Wood Shield|#default={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}}.png|alt={{#if:{{{description_en|}}} | {{{description_en}}} | No description available }}|frameless]]</div>| | |||
Traps= | |||
<div class="infoboxImage">[[File:Shiren 1 SFC - {{{name|}}}.png|alt={{#if:{{{description_en|}}} | {{{description_en}}} | No description available }}|frameless]]</div> | |||
}} | }} | ||
< | <div class="templateSecondary infoboxContext infoboxDescription"> | ||
<tabber> | <tabber> | ||
English= | English={{#if:{{{description_en|}}} | {{{description_en}}} | ''No description available.'' }} | ||
{{ | |||
|-| | |-| | ||
Japanese= | Japanese={{#if:{{{description_ja|}}} | {{{description_ja}}} | ''説明はありません。'' }} | ||
{{ | |||
</tabber> | </tabber> | ||
< | </div> | ||
< | <div> | ||
< | {{#if:{{{cost|}}} {{{value|}}} {{{fullness|}}} {{{bonus|}}} {{{damage|}}}| | ||
< | <div class="infoboxContent mw-collapsible"> | ||
<div class="templatePrimary infoboxContext">Information</div> | |||
<div class="mw-collapsible-content"> | |||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Cost</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{cost}}}</span></div> | ||
</div> | |||
}}{{#if:{{{value|}}}| | }}{{#if:{{{value|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Value</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{value}}}</span></div> | ||
}}{{#switch:{{{category|}}}|Weapons= | </div> | ||
< | }}{{#switch:{{{category|}}}| | ||
< | Weapons={{#if:{{{strength|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Strength</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{strength}}}</span></div> | ||
< | </div> | ||
< | }}{{#if:{{{maxbonus|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Max Bonus</span></div> | ||
| | <div class="templateSecondary infoboxBodyRow"><span>{{{maxbonus}}}</span></div> | ||
< | </div> | ||
< | }}{{#if:{{{seal|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Seal</span></div> | ||
< | <div class="templatePrimary infoboxBodyRow" style="justify-content: center;"><span>[[File:Shiren 1 SFC - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]]</span></div> | ||
< | </div> | ||
|Riceballs= | }}| | ||
< | ShielSFC={{#if:{{{defense|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Defense</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{defense}}}</span></div> | ||
< | </div> | ||
< | }}{{#if:{{{maxbonus|}}}| | ||
| | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Max Bonus</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{maxbonus}}}</span></div> | ||
< | </div> | ||
< | }}{{#if:{{{seal|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Seal</span></div> | ||
< | <div class="templatePrimary infoboxBodyRow" style="justify-content: center;"><span>[[File:Shiren 1 SFC - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]]</span></div> | ||
< | </div> | ||
< | }}| | ||
|Projectiles= | Riceballs={{#if:{{{fullness|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Fullness</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{fullness}}}</span></div> | ||
|Scrolls= | </div> | ||
< | }}{{#if:{{{bonus|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Full-Bonus</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{bonus}}}</span></div> | ||
< | </div> | ||
< | }}| | ||
< | Pots={{#if:{{{type|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Type</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{type}}}</span></div> | ||
< | </div> | ||
}}{{#if:{{{costplus|}}}| | |||
<div class="infoboxRow"> | |||
< | <div class="templatePrimary infoboxHeadRow"><span>Cost +</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{costplus}}}</span></div> | ||
< | </div> | ||
< | }}{{#if:{{{valueplus|}}}| | ||
< | <div class="infoboxRow"> | ||
|Traps= | <div class="templatePrimary infoboxHeadRow"><span>Value +</span></div> | ||
< | <div class="templateSecondary infoboxBodyRow"><span>{{{valueplus}}}</span></div> | ||
< | </div> | ||
< | }}| | ||
< | Projectiles={{#if:{{{damage|}}}| | ||
< | <div class="infoboxRow"> | ||
< | <div class="templatePrimary infoboxHeadRow"><span>Damage</span></div> | ||
<div class="templateSecondary infoboxBodyRow"><span>{{{damage}}}</span></div> | |||
</div> | |||
}}| | |||
Scrolls={{#if:{{{blank_en|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span>Blank Scroll ({{CountryFlag|US}})</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{blank_en}}}</span></div> | |||
</div> | |||
}}{{#if:{{{blank_ja|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span>Blank Scroll ({{CountryFlag|JA}})</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{blank_ja}}}</span></div> | |||
</div> | |||
}}| | |||
Staves={{#if:{{{costplus|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span>Cost +</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{costplus}}}</span></div> | |||
</div> | |||
}}{{#if:{{{valueplus|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span>Value +</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{valueplus}}}</span></div> | |||
</div> | |||
}}| | |||
Traps={{#if:{{{generate|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span># of uses when generated</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{generate}}}</span></div> | |||
</div> | |||
}}{{#if:{{{use|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span># of uses when used</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{use}}}</span></div> | |||
</div> | |||
}} | |||
}} | |||
</div> | |||
</div> | |||
}} | }} | ||
</ | </div> | ||
</ | </div> | ||
</onlyinclude><noinclude>{{ | |||
<!-- 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> | |||
<noinclude>{{Clear}}{{doc}} | |||
[[Category:Shiren 1 SFC Infobox Templates]] | |||
</noinclude> |
Revision as of 20:09, 9 August 2023
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 = }}