Template:Shiren 6 Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "|N/A}}}" to "|}}}")
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
<div class="newInfobox">
!class="infoboxTitle infoboxHeadRow"|{{Shiren6Sprite|{{#switch:{{lc:{{{category|}}}}}
<div class="infoboxItemRow">
|armbands|armband=Armband
<div class="templatePrimary infoboxTitle infoboxItemIcon" style="display: flex; justify-content: center; align-items: center;">[[File:Shiren 6 - {{#switch:{{{category|}}}|
|weapons|weapon=Weapon
Armbands=Armband|
|shields|shield=Shield
Weapons=Weapon|
|herbs|herb=Herb
Shields=Shield|
|riceballs|riceball=Riceball
Herbs=Herb|
|pots|pot=Pot
Riceballs=Riceball|
|projectiles|projectile=Arrow
Jars=Jar|
|staves|staff=Staff
Projectiles=Arrow|
|gitan=Gitan
Scrolls|#default=Scroll|
|#default=Scroll
Staves=Staff|
}}|size=32x32px}}
Traps=Trap|
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
Stones=Piggy Stone|
|armbands|armband=Armband
Cannonballs=Cannonball|
|weapons|weapon=Weapon
Gitan=Gitan
|shields|shield=Shield
}}.png|frameless]]</div>
|herbs|herb=Herb
<div class="templatePrimary infoboxTitle infoboxItemCategory"><span style="font-weight: bold;">{{#switch:{{{category|}}}|
|riceballs|riceball=Riceball
Armbands=Armband|
|pots|pot=Pot
Weapons=Weapon|
|projectiles|projectile=Projectile
Shields=Shield|
|scrolls|scroll=Scroll
Herbs=Herb|
|staves|staff=Staff
Riceballs=Riceball|
|#default={{{category|}}}
Jars=Jar|
Projectiles=Projectile|
Scrolls=Scroll|
Staves=Staff|
Traps=Trap|
Stones=Stone|
Cannonballs=Cannonball|
#default={{{category|}}}
}}</span></div>
</div>
{{Infobox Header | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
{{#switch:{{{category|}}}|
Weapons|Shields|Traps={{Infobox Image | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }}
}}
}}
{{Infobox Description | {{{description_en|}}} | {{{description_ja|}}} }}
|-
<div>
!colspan="2" class="infoboxTitle"|<span style="font-size: 1.2rem;">{{{name|{{PAGENAME}}}}}</span><br><span style="font-size: 0.75rem;">{{#if:{{{romaji|}}}|{{Tt|{{{jpname|}}}|{{{romaji}}}}}|{{{jpname|}}}}}</span>
{{#if:{{{cost|}}} {{{value|}}}|
{{#switch:{{lc:{{{category|}}}}}
<div class="infoboxContent mw-collapsible">
|swords|shields=
<div class="templatePrimary infoboxContext">Information</div>
{{!}}-
<div class="mw-collapsible-content">
!colspan="2" class="infoboxImage"{{!}}[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{img description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{imagesize|200x200px}}}|frameless]]<br>{{{caption|}}}
{{#if:{{{cost|}}}|
{{Infobox Row | Cost | {{{cost}}} }}
}}{{#if:{{{value|}}}|
{{Infobox Row | Value | {{{value}}} }}
}}{{#switch:{{{category|}}}|
Weapons={{#if:{{{strength|}}}|
{{Infobox Row | Strength | {{{strength}}} }}
}}{{#if:{{{maxbonus|}}}|
{{Infobox Row | Max Bonus | {{{maxbonus}}} }}
}}{{#if:{{{seal|}}}|
{{Infobox Row | Seal | [[File:Shiren 6 - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }}
}}|
Shields={{#if:{{{defense|}}}|
{{Infobox Row | Defense | {{{defense}}} }}
}}{{#if:{{{maxbonus|}}}|
{{Infobox Row | Max Bonus | {{{maxbonus}}} }}
}}{{#if:{{{seal|}}}|
{{Infobox Row | Seal | [[File:Shiren 6 - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }}
}}|
Riceballs={{#if:{{{fullness|}}}|
{{Infobox Row | Fullness | {{{fullness}}} }}
}}{{#if:{{{bonus|}}}|
{{Infobox Row | Full-Bonus | {{{bonus}}} }}
}}|
Jars={{#if:{{{type|}}}|
{{Infobox Row | Type | {{{type}}} }}
}}{{#if:{{{costplus|}}}|
{{Infobox Row | Cost + | {{{costplus}}} }}
}}{{#if:{{{valueplus|}}}|
{{Infobox Row | Value + | {{{valueplus}}} }}
}}|
Projectiles={{#if:{{{damage|}}}|
{{Infobox Row | Damage | {{{damage}}} }}
}}|
Scrolls={{#if:{{{blank_en|}}}|
{{Infobox Row | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }}
}}{{#if:{{{blank_ja|}}}|
{{Infobox Row | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }}
}}{{#if:{{{blank_td|}}}|
{{Infobox Row | Blank Scroll ({{CountryFlag|TW}}) | {{{blank_td}}} }}
}}|
Staves={{#if:{{{costplus|}}}|
{{Infobox Row | Cost + | {{{costplus}}} }}
}}{{#if:{{{valueplus|}}}|
{{Infobox Row | Value + | {{{valueplus}}} }}
}}|
Traps={{#if:{{{generate|}}}|
{{Infobox Row | # of uses when generated | {{{generate}}} }}
}}{{#if:{{{use|}}}|
{{Infobox Row | # of uses when used | {{{use}}} }}
}}
}}
|-
|colspan="2" class="infoboxDescription"|{{#tag:tabber|
English={{{description|''Description currently not available.''}}}
{{!}}-{{!}}
Japanese={{{description jp|説明文は現在ありません}}}
}}
}}
</div>
|-
</div>
!colspan="2" class="infoboxContext"|{{{data title|Information}}}
|-
!class="infoboxHeadRow"|Cost
|class="infoboxBodyRow"|{{{cost|}}}
|-
!class="infoboxHeadRow"|Value
|class="infoboxBodyRow"|{{{value|}}}
|-
{{#switch:{{lc:{{{category|}}}}}
|armbands|armband=
!class="infoboxHeadRow"{{!}}Seal
{{!}}class="infoboxBodyRow"{{!}}{{Shiren6Sprite|Weapon Seal {{{seal|}}}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Slots
{{!}}class="infoboxBodyRow"{{!}}{{{slots|}}}
|weapons|weapon=
!class="infoboxHeadRow"{{!}}Strength
{{!}}class="infoboxBodyRow"{{!}}{{{strength|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{max bonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Seal
{{!}}class="infoboxBodyRow"{{!}}{{Shiren6Sprite|Shield Seal {{{seal|}}}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Slots
{{!}}class="infoboxBodyRow"{{!}}{{{slots|}}}
|shields|shield=
!class="infoboxHeadRow"{{!}}Defense
{{!}}class="infoboxBodyRow"{{!}}{{{defense|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{max bonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Seal
{{!}}class="infoboxBodyRow"{{!}}{{{seal|}}}
|riceballs|riceball=
!class="infoboxHeadRow"{{!}}Fullness
{{!}}class="infoboxBodyRow"{{!}}{{{fullness|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Full-Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{bonus|}}}
|pots|pot=
!class="infoboxHeadRow"{{!}}Type
{{!}}class="infoboxBodyRow"{{!}}{{{type|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Cost +
{{!}}class="infoboxBodyRow"{{!}}{{{cost plus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Value +
{{!}}class="infoboxBodyRow"{{!}}{{{value plus|}}}
|projectiles|projectile=
!class="infoboxHeadRow"{{!}}Damage
{{!}}class="infoboxBodyRow"{{!}}{{{damage|}}}
|scrolls|scroll=
!class="infoboxHeadRow"{{!}}Blank Scroll ({{CountryFlag|US}})
{{!}}class="infoboxBodyRow"{{!}}{{{blank en|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Blank Scroll ({{CountryFlag|JA}})
{{!}}class="infoboxBodyRow"{{!}}{{{blank ja|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Blank Scroll ({{CountryFlag|TW}})
{{!}}class="infoboxBodyRow"{{!}}{{{blank td|}}}
|staves|staff=
!class="infoboxHeadRow"{{!}}Cost +
{{!}}class="infoboxBodyRow"{{!}}{{{cost plus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Value +
{{!}}class="infoboxBodyRow"{{!}}{{{value plus|}}}
}}
}}
</div>
|}<!-- AUTOCATEGORIZATION -->{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default =
</div>
[[Category:Shiren 6 Items|{{NAMESPACE}}]]
 
}}<!-- end AUTOCATEGORIZATION -->
<!-- AUTOCATEGORIZATION -->
{{#if:{{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 6 items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION -->
</onlyinclude>
<noinclude>{{Clear}}{{doc}}
<noinclude>{{Clear}}{{doc}}
[[Category:Shiren 6 Infobox Templates]]
[[Category:Shiren 6 Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 17:13, 25 June 2025

Scroll's sprite.
Shiren 6 Item Infobox

Description currently not available.

説明文は現在ありません

Information
Cost
Value
Template-info.png Documentation

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

Syntax guide