Template:Shiren 1 DS Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Text replacement - "{{GameClass}}" to "MDWiki")
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<table class="MDWiki infoboxgame infoboxtable">
<div class="templateTheme infoboxItem">
<th style="border-radius:10px; width:50px; padding:5px">{{#switch:{{{category|}}}|
<div class="infoboxItemRow">
Gitan=[[File:Shiren 1 DS Item Icon Gitan.png|frameless]]
<div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 1 DS - {{#switch:{{{category|}}}|
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Gitan|
Armbands=Armband|
Armbands=[[File:Shiren 1 DS - Armband.png|frameless]]
Weapons=Weapon|
<th style="border-radius:10px"><big>Armband|
Shields=Shield|
Weapons=[[File:Shiren 1 DS - Weapon.png|frameless]]
Herbs=Herb|
<th style="border-radius:10px"><big>Weapon|
Riceballs=Riceball|
Shields=[[File:Shiren 1 DS - Shield.png|frameless]]
Jars=Jar|
<th style="border-radius:10px"><big>Shield|
Projectiles=Arrow|
Herbs=[[File:Shiren 1 DS - Herb.png|frameless]]
Scrolls|#default=Scroll|
<th style="border-radius:10px"><big>Herb|
Staves=Staff|
Riceballs=[[File:Shiren 1 DS - Riceball.png|frameless]]
Traps=Trap|
<th style="border-radius:10px"><big>Riceball|
Stones=Piggy Stone|
Jars=[[File:Shiren 1 DS - Jar.png|frameless]]
Cannonballs=Cannonball|
<th style="border-radius:10px"><big>Jar|
Gitan=Gitan
Projectiles=[[File:Shiren 1 DS - Arrow.png|frameless]]
}}.png|frameless]]</div>
<th style="border-radius:10px"><big>Projectile|
<div class="templatePrimary infoboxTitle infoboxItemCategory">
Scrolls=[[File:Shiren 1 DS - Scroll.png|frameless]]
<span style="font-weight: bold;">{{#switch:{{{category|}}}|
<th style="border-radius:10px"><big>Scroll|
Armbands=Armband|
Staves=[[File:Shiren 1 DS - Staff.png|frameless]]
Weapons=Weapon|
<th style="border-radius:10px"><big>Staff|
Shields=Shield|
Traps=[[File:Shiren 1 DS - Trap icon.png|36px|frameless]]
Herbs=Herb|
<th style="border-radius:10px"><big>Trap|
Riceballs=Riceball|
Stones=[[File:Shiren 1 DS - Piggy Stone.png|36px|frameless]]
Jars=Jar|
<th style="border-radius:10px"><big>Stone|
Projectiles=Projectile|
Cannonballs=[[File:Shiren 1 DS - Cannonball.png|36px|frameless]]
Scrolls=Scroll|
<th style="border-radius:10px"><big>Cannonball|
Staves=Staff|
#default=<th style="border-radius:10px">
Traps=Trap|
}}
Stones=Stone|
<tr>
Cannonballs=Cannonball|
<th colspan="2" style="border-radius:10px; padding:5px"><big>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</big>{{#if:{{{kana|}}}|<br><small>{{#if:{{{romaji|}}}{{Tt|{{{kana|}}}|{{{romaji|}}}}}|{{{kana|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn|}}}}}
#default={{{category|}}}
{{#switch:{{{category|}}}|
}}</span>
Weapons=<tr>
</div>
<th colspan="2" style="background-color:rgba(0,0,0,0); padding:10px">[[File:Shiren 1 DS - {{#switch:{{{name|}}}|Cudgel X=Cudgel|Dragonkill X=Dragonkiller|Goldblade X=Golden Blade|Master X=Mastersword|Polearm X=Polearm|#default={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}}.png|frameless]]|
</div>
Shields=<tr>
<div class="templatePrimary infoboxTitle">
<th colspan="2" style="background-color:rgba(0,0,0,0); padding:10px">[[File:Shiren 1 DS - {{#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|frameless]]|
<span class="infoboxEnTitle">
Traps=<tr>
<span class="infoboxKaTitle">{{#if:{{{name|}}} | {{{name}}} | {{PAGENAME}} }}</span>
<th colspan="2" style="background-color:rgba(0,0,0,0); padding:10px">[[File:Shiren 1 DS - {{{name|}}}.png|frameless]]
<span class="infoboxHeTitle">{{#if:{{{kana|}}} | <br>{{#if:{{{romaji|}}} | {{Tt|{{{kana}}}|{{{romaji}}}}} | {{{kana}}} }} }}{{#if:{{{hepburn|}}}| <br>{{{hepburn}}} }}</span>
}}
</span>
<tr>
</div>
<td colspan="2" style="text-align:center; background-color:rgba(0,0,0,0)">
<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={{Shiren 1 DS Dialogue|{{{description_en|''No description available.''}}}}}
English={{#if:{{{description_en|}}} | {{{description_en}}} | ''No description available.'' }}
|-|
|-|
Japanese={{Shiren 1 DS Dialogue|{{{description_ja|''説明はありません。''}}}}}
Japanese={{#if:{{{description_ja|}}} | {{{description_ja}}} | ''説明はありません。'' }}
</tabber>
</tabber>
<tr>
</div>
<td colspan="2" style="background-color:rgba(0,0,0,0); border-radius:10px">
<div>
<table class="mw-collapsible" style="width:100%">
{{#if:{{{cost|}}} {{{value|}}} {{{fullness|}}} {{{bonus|}}} {{{damage|}}}|
<th colspan="2" style="border-radius:10px">Information
<div class="infoboxContent mw-collapsible">
<div class="templatePrimary infoboxContext">Information</div>
<div class="mw-collapsible-content">
{{#if:{{{cost|}}}|
{{#if:{{{cost|}}}|
<tr>
<div class="infoboxRow">
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost
<div class="templatePrimary infoboxHeadRow"><span>Cost</span></div>
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{cost}}} {{Shiren|Gitan}}
<div class="templateSecondary infoboxBodyRow"><span>{{{cost}}}</span></div>
</div>
}}{{#if:{{{value|}}}|
}}{{#if:{{{value|}}}|
<tr>
<div class="infoboxRow">
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value
<div class="templatePrimary infoboxHeadRow"><span>Value</span></div>
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{value}}} {{Shiren|Gitan}}
<div class="templateSecondary infoboxBodyRow"><span>{{{value}}}</span></div>
}}{{#ifeq:{{{category|}}}|Weapons|
</div>
<tr>
}}{{#switch:{{{category|}}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Strength
Weapons={{#if:{{{strength|}}}|
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{strength|}}}
<div class="infoboxRow">
<tr>
<div class="templatePrimary infoboxHeadRow"><span>Strength</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
<div class="templateSecondary infoboxBodyRow"><span>{{{strength}}}</span></div>
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
</div>
{{#if:{{{seal|}}}|
}}{{#if:{{{maxbonus|}}}|
<tr>
<div class="infoboxRow">
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<div class="templatePrimary infoboxHeadRow"><span>Max Bonus</span></div>
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">[[File:Shiren 1 DS - Weapon Seal {{{seal|}}}.png|frameless]]
<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>
}}
}}
}}{{#ifeq:{{{category|}}}|Shields|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Defense
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{defense|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
{{#if:{{{seal|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">[[File:Shiren 1 DS - Shield Seal {{{seal|}}}.png|frameless]]
}}
}}
}}{{#ifeq:{{{category|}}}|Riceballs|
</div>
<tr>
</div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Fullness
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{fullness|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Full-Bonus
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{bonus|}}}
}}{{#ifeq:{{{category|}}}|Jars|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Type
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{type|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Projectiles|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Damage
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{damage|}}}
}}{{#ifeq:{{{category|}}}|Scrolls|
<tr>
<th colspan="2" style="border-radius:10px">Blank Scroll
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">English
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{blank_en|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Japanese
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{blank_ja|}}}
}}{{#ifeq:{{{category|}}}|Staves|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Traps|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px"># of uses when generated
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{generate|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px"># of uses when used
<td style="padding-left:5px; width:67%; border-radius:0px 10px 10px 0px">{{{use|}}}
}}
}}
</table>
</div>
</table>
</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

Shiren 1 DS - Scroll.png

Shiren 1 DS Item Infobox

No description available.

説明はありません。


Template-info.png Documentation

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       = 
}}

Syntax guide