Template:Shiren 1 SFC Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
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>
<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 SFC Gitan Bag.gif|frameless]]
<div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 1 SFC - {{#switch:{{{category|}}}|
<th style="border-radius: 1rem;"><big>Gitan|
Bracers=Bracer|
Bracers=[[File:Shiren 1 SFC - Armband.gif|frameless]]
Weapons=Weapon|
<th style="border-radius: 1rem;"><big>Bracer|
ShielSFC=Shield|
Weapons=[[File:Shiren 1 SFC Item Icons - Weapon.gif|frameless]]
Herbs=Herb|
<th style="border-radius: 1rem;"><big>Weapon|
Riceballs=Riceball|
Shields=[[File:Shiren 1 SFC Item Icons - Shield.gif|frameless]]
Pots=Pot|
<th style="border-radius: 1rem;"><big>Shield|
Projectiles=Arrow|
Herbs=[[File:Shiren 1 SFC Item Icons - Herb.gif|frameless]]
Scrolls|#default=Scroll|
<th style="border-radius: 1rem;"><big>Herb|
Staves=Staff|
Riceballs=[[File:Shiren 1 SFC Item Icons - Riceball.gif|frameless]]
Traps=Trap|
<th style="border-radius: 1rem;"><big>Riceball|
Gitan=Gitan
Pots=[[File:Shiren 1 SFC Item Icons - Jar.gif|frameless]]
}}.png|frameless]]</div>
<th style="border-radius: 1rem;"><big>Pot|
<div class="templatePrimary infoboxTitle infoboxItemCategory"><span style="font-weight: bold;">{{#switch:{{{category|}}}|
Projectiles=[[File:Shiren 1 SFC Item Icons - Arrow.gif|frameless]]
Bracers=Bracer|
<th style="border-radius: 1rem;"><big>Projectile|
Weapons=Weapon|
Scrolls=[[File:Shiren 1 SFC Item Icon - Scroll.gif|frameless]]
ShielSFC=Shield|
<th style="border-radius: 1rem;"><big>Scroll|
Herbs=Herb|
Staves=[[File:Shiren 1 SFC Item Icons - Staff.gif|frameless]]
Riceballs=Riceball|
<th style="border-radius: 1rem;"><big>Staff|
Pots=Pot|
Traps=[[File:Shiren 1 DS Trap Sprite - Trap Icon.png|36px|frameless]]
Projectiles=Projectile|
<th style="border-radius: 1rem;"><big>Trap|
Scrolls=Scroll|
=<th style="border-radius: 1rem;">
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>
}}
}}
<tr>
<div class="templateSecondary infoboxContext infoboxDescription">
<th colspan="2" style="border-radius:10px; padding:5px"><big>{{{name|No Name}}}</big>{{#if:{{{kana|}}}, {{{romaji|}}}|<br><small>{{Tt|{{{kana|}}}|{{{romaji|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn|}}}}}
<tr>
{{#switch:{{{category|}}}|Weapons|Shields|Traps=
<th colspan="2">[[File:{{{image|}}}|frameless]]
}}
<tr>
<td colspan="2" style="text-align:center; background-color:rgba(0,0,0,0)">
<tabber>
<tabber>
English=
English={{#if:{{{description_en|}}} | {{{description_en}}} | ''No description available.'' }}
{{Shiren 1 SFC Dialogue|{{{description_en|''No description available.''}}}}}
|-|
|-|
Japanese=
Japanese={{#if:{{{description_ja|}}} | {{{description_ja}}} | ''説明はありません。'' }}
{{Shiren 1 SFC Dialogue|{{{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: 1rem;">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 0 0 10px">Cost
<div class="templatePrimary infoboxHeadRow"><span>Cost</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{cost}}} {{Shiren1SFC|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 0 0 10px">Value
<div class="templatePrimary infoboxHeadRow"><span>Value</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{value}}} {{Shiren1SFC|Gitan}}
<div class="templateSecondary infoboxBodyRow"><span>{{{value}}}</span></div>
}}{{#switch:{{{category|}}}|Weapons=
</div>
<tr>
}}{{#switch:{{{category|}}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Strength
Weapons={{#if:{{{strength|}}}|
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{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 0 0 10px">Max Bonus
<div class="templateSecondary infoboxBodyRow"><span>{{{strength}}}</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{maxbonus|}}}
</div>
<tr>
}}{{#if:{{{maxbonus|}}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Seal
<div class="infoboxRow">
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">
<div class="templatePrimary infoboxHeadRow"><span>Max Bonus</span></div>
|Shields=
<div class="templateSecondary infoboxBodyRow"><span>{{{maxbonus}}}</span></div>
<tr>
</div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Defense
}}{{#if:{{{seal|}}}|
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{defense|}}}
<div class="infoboxRow">
<tr>
<div class="templatePrimary infoboxHeadRow"><span>Seal</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Seal
<div class="templatePrimary infoboxBodyRow" style="justify-content: center;"><span>[[File:Shiren 1 SFC - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]]</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">
</div>
|Riceballs=
}}|
<tr>
ShielSFC={{#if:{{{defense|}}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Fullness
<div class="infoboxRow">
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{fullness|}}}
<div class="templatePrimary infoboxHeadRow"><span>Defense</span></div>
<tr>
<div class="templateSecondary infoboxBodyRow"><span>{{{defense}}}</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Full-Bonus
</div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{bonus|}}}
}}{{#if:{{{maxbonus|}}}|
|Jars=
<div class="infoboxRow">
<tr>
<div class="templatePrimary infoboxHeadRow"><span>Max Bonus</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Type
<div class="templateSecondary infoboxBodyRow"><span>{{{maxbonus}}}</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{type|}}}
</div>
<tr>
}}{{#if:{{{seal|}}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Cost +
<div class="infoboxRow">
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{costplus|}}}
<div class="templatePrimary infoboxHeadRow"><span>Seal</span></div>
<tr>
<div class="templatePrimary infoboxBodyRow" style="justify-content: center;"><span>[[File:Shiren 1 SFC - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]]</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Value +
</div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{valueplus|}}}
}}|
|Projectiles=
Riceballs={{#if:{{{fullness|}}}|
<tr>
<div class="infoboxRow">
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Damage
<div class="templatePrimary infoboxHeadRow"><span>Fullness</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{damage|}}}
<div class="templateSecondary infoboxBodyRow"><span>{{{fullness}}}</span></div>
|Scrolls=
</div>
<tr>
}}{{#if:{{{bonus|}}}|
<th colspan="2" style="border-radius: 1rem;">Blank Scroll
<div class="infoboxRow">
<tr>
<div class="templatePrimary infoboxHeadRow"><span>Full-Bonus</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">English
<div class="templateSecondary infoboxBodyRow"><span>{{{bonus}}}</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{blank_en|}}}
</div>
<tr>
}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Japanese
Pots={{#if:{{{type|}}}|
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{blank_ja|}}}
<div class="infoboxRow">
<tr>
<div class="templatePrimary infoboxHeadRow"><span>Type</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Chinese
<div class="templateSecondary infoboxBodyRow"><span>{{{type}}}</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{Tt|{{{blank_zh|}}}|Fan-patch}}
</div>
|Staves=
}}{{#if:{{{costplus|}}}|
<tr>
<div class="infoboxRow">
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Cost +
<div class="templatePrimary infoboxHeadRow"><span>Cost +</span></div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{costplus|}}}
<div class="templateSecondary infoboxBodyRow"><span>{{{costplus}}}</span></div>
<tr>
</div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Value +
}}{{#if:{{{valueplus|}}}|
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{valueplus|}}}
<div class="infoboxRow">
|Traps=
<div class="templatePrimary infoboxHeadRow"><span>Value +</span></div>
<tr>
<div class="templateSecondary infoboxBodyRow"><span>{{{valueplus}}}</span></div>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px"># of uses when generated
</div>
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{generate|}}}
}}|
<tr>
Projectiles={{#if:{{{damage|}}}|
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px"># of uses when used
<div class="infoboxRow">
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{use|}}}
<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>
}}
}}
</table>
</div>
</table>
</div>
</onlyinclude><noinclude>{{Doc}}[[Category:Shiren 1 SFC Infobox Templates]]</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

Shiren 1 SFC - Scroll.png

Shiren 1 SFC Item Infobox

No description available.

説明はありません。


Template-info.png Documentation

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

Syntax guide