No description available.
Template:Shiren 1 DS Item Infobox: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameClass}}" to "MDWiki") |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
< | <div class="templateTheme infoboxItem"> | ||
< | <div class="infoboxItemRow"> | ||
<div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 1 DS - {{#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 | ||
}}.png|frameless]]</div> | |||
< | <div class="templatePrimary infoboxTitle infoboxItemCategory"> | ||
<span style="font-weight: bold;">{{#switch:{{{category|}}}| | |||
Armbands=Armband| | |||
Weapons=Weapon| | |||
Shields=Shield| | |||
Herbs=Herb| | |||
Riceballs=Riceball| | |||
Jars=Jar| | |||
Projectiles=Projectile| | |||
Scrolls=Scroll| | |||
Staves=Staff| | |||
#default=< | Traps=Trap| | ||
Stones=Stone| | |||
< | Cannonballs=Cannonball| | ||
< | #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> | |||
<div class="infoboxImage">[[File:{{#if:{{{image|}}} | {{{image}}} | {{#switch:{{FULLPAGENAME}} | Template:Shiren 1 DS Items Infobox|Template:Shiren 1 DS Items Infobox/doc=Wiki.png | #default=Shiren 1 DS - {{#if:{{{name|}}} | {{{name}}} | {{PAGENAME}} }}.png }} }}|alt={{#if:{{{description_en|}}} | {{{description_en}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} }}|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> | ||
</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:{{{seal|}}}| | }}{{#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="templateSecondary infoboxBodyRow"><span>[[File:Shiren 1 DS - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]]</span></div> | |||
</div> | |||
}}| | |||
Shields={{#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="templateSecondary infoboxBodyRow"><span>[[File:Shiren 1 DS - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]]</span></div> | |||
</div> | |||
}}| | |||
Riceballs={{#if:{{{fullness|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span>Fullness</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{fullness}}}</span></div> | |||
</div> | |||
}}{{#if:{{{bonus|}}}| | |||
<div class="infoboxRow"> | |||
<div class="templatePrimary infoboxHeadRow"><span>Full-Bonus</span></div> | |||
<div class="templateSecondary infoboxBodyRow"><span>{{{bonus}}}</span></div> | |||
</div> | |||
}}| | |||
Jars={{#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"> | |||
<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>{{Clear}} | |||
{{doc}} | <!-- AUTOCATEGORIZATION --> | ||
{{#if:{{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 1 DS Items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION --> | |||
</onlyinclude> | |||
<noinclude>{{Clear}}{{doc}} | |||
[[Category:Shiren 1 DS Infobox Templates]] | [[Category:Shiren 1 DS Infobox Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:26, 27 July 2023
Usage
{{Shiren 1 DS Item Infobox | category = | name = | jpname = | romaji = | image = | description = | description_ja = | 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 Jars 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 =
Add the following if the item is from the Staves category
.
| costplus = | valueplus =
Full Syntax
{{Shiren 1 DS Item Infobox | category = | name = | jpname = | romaji = | image = | description = | description_ja = | cost = | value = | strength = | maxbonus = | rune = | defense = | fullness = | bonus = | type = | costplus = | valueplus = | damage = | blank_en = | blank_ja = }}