Template:Shiren 6 Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Text replacement - "{{Infobox Description 2 |" to "{{Infobox Description |")
m (Text replacement - "|N/A}}}" to "|}}}")
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
{{Infobox Table |
!class="infoboxTitle infoboxHeadRow"|{{Shiren6Sprite|{{#switch:{{lc:{{{category|}}}}}
  {{Shiren 6 Infobox Item Header | {{{category|}}} }}
|armbands|armband=Armband
  {{Infobox Header 2 | colspan = 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
|weapons|weapon=Weapon
  {{#switch: {{{category|}}}
|shields|shield=Shield
    | Weapons | Shields | Traps = {{Infobox Image 2 | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }}
|herbs|herb=Herb
  }}
|riceballs|riceball=Riceball
  {{Infobox Description | colspan = 2 | {{{description_en|}}} | {{{description_ja|}}} }}
|pots|pot=Pot
  {{#if: {{{cost|}}} {{{value|}}} |
|projectiles|projectile=Arrow
    {{Infobox Subtable | colspan = 2 | title = Information |
|staves|staff=Staff
      {{#if: {{{cost|}}} |
|gitan=Gitan
        {{Infobox Row | Cost | {{{cost}}} }}
|#default=Scroll
      }}{{#if: {{{value|}}} |
}}|size=32x32px}}
        {{Infobox Row | Value | {{{value}}} }}
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
      }}{{#switch: {{{category|}}}
|armbands|armband=Armband
        | Weapons = {{#if: {{{strength|}}} |
|weapons|weapon=Weapon
          {{Infobox Row | Strength | {{{strength}}} }}
|shields|shield=Shield
        }}{{#if: {{{maxbonus|}}} |
|herbs|herb=Herb
          {{Infobox Row | Max Bonus | {{{maxbonus}}} }}
|riceballs|riceball=Riceball
        }}{{#if: {{{seal|}}} |
|pots|pot=Pot
          {{Infobox Row | Seal | [[File:Shiren 6 - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }}
|projectiles|projectile=Projectile
        }}
|scrolls|scroll=Scroll
        | Shields = {{#if: {{{defense|}}} |
|staves|staff=Staff
          {{Infobox Row | Defense | {{{defense}}} }}
|#default={{{category|}}}
        }}{{#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}}} }}
        }}
      }}
    }}
  }}
}}
}}
 
|-
<!-- AUTOCATEGORIZATION -->
!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: {{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 6 items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION -->
{{#switch:{{lc:{{{category|}}}}}
</onlyinclude>
|swords|shields=
{{!}}-
!colspan="2" class="infoboxImage"{{!}}[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{img description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{imagesize|200x200px}}}|frameless]]<br>{{{caption|}}}
}}
|-
|colspan="2" class="infoboxDescription"|{{#tag:tabber|
English={{{description|''Description currently not available.''}}}
{{!}}-{{!}}
Japanese={{{description jp|説明文は現在ありません}}}
}}
|-
!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|}}}
}}
|}<!-- AUTOCATEGORIZATION -->{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default =
[[Category:Shiren 6 Items|{{NAMESPACE}}]]
}}<!-- end AUTOCATEGORIZATION -->
<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