Template:Shiren 6 Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (N. Harmonik moved page Template:Shiren 6 Items Infobox to Template:Shiren 6 Item Infobox without leaving a redirect: Text replacement - "Items Infobox" to "Item Infobox")
No edit summary
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
{{Shiren 6 Infobox Table |
!class="infoboxTitle infoboxHeadRow"|{{Shiren6Sprite|{{#switch:{{lc:{{{category|}}}}}
  {{Shiren 6 Infobox Header | colspan = 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
|armbands|armband=Armband
  {{Shiren 6 Infobox Image | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} }}
|weapons|weapon=Weapon
  {{Shiren 6 Infobox Description | colspan = 2 | multiple = true | {{{description_en|}}} | {{{description_ja|}}} }}
|shields|shield=Shield
  {{#if: {{{cost|}}} {{{value|}}} |
|herbs|herb=Herb
    {{Shiren 6 Infobox Subtable | colspan = 2 | title = Information |
|riceballs|riceball=Riceball
      {{#if: {{{cost|}}} |
|jars|jar=Jar
        {{Shiren 6 Infobox Row | Cost | {{{cost}}} }}
|projectiles|projectile=Arrow
      }}{{#if: {{{value|}}} |
|staves|staff=Staff
        {{Shiren 6 Infobox Row | Value | {{{value}}} }}
|gitan=Gitan
      }}{{#switch: {{lc: {{{category|}}}}}
|#default=Scroll
        | weapons | weapon = {{#if: {{{strength|}}} |
}}|size=32px}}
          {{Shiren 6 Infobox Row | Strength | {{{strength}}} }}
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
        }}{{#if: {{{maxbonus|}}} |
|armbands|armband=Armband
          {{Shiren 6 Infobox Row | Max Bonus | {{{maxbonus}}} }}
|weapons|weapon=Weapon
        }}{{#if: {{{seal|}}} |
|shields|shield=Shield
          {{Shiren 6 Infobox Row | Seal | [[File:Shiren 6 - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }}
|herbs|herb=Herb
        }}
|riceballs|riceball=Riceball
        | shields | shield = {{#if: {{{defense|}}} |
|jars|jar=Jar
          {{Shiren 6 Infobox Row | Defense | {{{defense}}} }}
|projectiles|projectile=Projectile
        }}{{#if: {{{maxbonus|}}} |
|scrolls|scroll=Scroll
          {{Shiren 6 Infobox Row | Max Bonus | {{{maxbonus}}} }}
|staves|staff=Staff
        }}{{#if: {{{seal|}}} |
|#default={{{category|}}}
          {{Shiren 6 Infobox Row | Seal | [[File:Shiren 6 - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }}
}}
        }}
|-
        | riceballs | riceball = {{#if: {{{fullness|}}} |
!colspan="2" class="infoboxTitle"|<span style="font-size: 1.2rem;">{{{enname|{{PAGENAME}}}}}</span>{{#if:{{{romaji|}}}|<br><span style="font-size: 0.75rem;">{{Tt|{{{jpname|}}}|{{{romaji|}}}}}</span>|<br><span style="font-size: 0.75rem;">{{{jpname|}}}</span>}}{{#if:{{{hepburn|}}}|<br><span style="font-size: 0.75rem;">{{{hepburn|}}}</span>|}}
          {{Shiren 6 Infobox Row | Fullness | {{{fullness}}} }}
|-
        }}{{#if: {{{bonus|}}}|
!colspan="2" class="infoboxImage"|[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{description_en|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{imagesize|200x200px}}}|frameless]]<br>{{{caption|}}}
          {{Shiren 6 Infobox Row | Full-Bonus | {{{bonus}}} }}
|-
        }}
|colspan="2" class="infoboxDescription"|{{#tag:tabber|
        | jars | jar = {{#if: {{{type|}}} |
English={{{description_en|''No description available.''}}}
          {{Shiren 6 Infobox Row | Type | {{{type}}} }}
{{!}}-{{!}}
        }}{{#if: {{{costplus|}}} |
Japanese={{{description_ja|記述なし}}}
          {{Shiren 6 Infobox Row | Cost + | {{{costplus}}} }}
}}
        }}{{#if: {{{valueplus|}}} |
|-
          {{Shiren 6 Infobox Row | Value + | {{{valueplus}}} }}
!colspan="2" class="infoboxContext"|{{{datatitle|Information}}}
        }}
|-
        | projectiles | projectile = {{#if: {{{damage|}}} |
!class="infoboxHeadRow"|Cost
          {{Shiren 6 Infobox Row | Damage | {{{damage}}} }}
|class="infoboxBodyRow"|{{{cost|}}}
        }}
|-
        | scrolls | scroll = {{#if: {{{blank_en|}}} |
!class="infoboxHeadRow"|Value
          {{Shiren 6 Infobox Row | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }}
|class="infoboxBodyRow"|{{{value|}}}
        }}{{#if: {{{blank_ja|}}} |
|-
          {{Shiren 6 Infobox Row | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }}
{{#switch:{{lc:{{{category|}}}}}
        }}{{#if: {{{blank_td|}}} |
|armbands|armband=
          {{Shiren 6 Infobox Row | Blank Scroll ({{CountryFlag|TW}}) | {{{blank_td}}} }}
!class="infoboxHeadRow"{{!}}Seal
        }}
{{!}}class="infoboxBodyRow"{{!}}[[File:Shiren 6 - Weapon Seal {{{seal|}}}.png|alt=Weapon Seal {{{seal}}}|frameless]]
        | staves | staff = {{#if: {{{costplus|}}} |
{{!}}-
          {{Shiren 6 Infobox Row | Cost + | {{{costplus}}} }}
!class="infoboxHeadRow"{{!}}Slots
        }}{{#if: {{{valueplus|}}} |
{{!}}class="infoboxBodyRow"{{!}}{{{slots|}}}
          {{Shiren 6 Infobox Row | Value + | {{{valueplus}}} }}
|weapons|weapon=
        }}
!class="infoboxHeadRow"{{!}}Strength
        | traps | trap = {{#if: {{{generate|}}} |
{{!}}class="infoboxBodyRow"{{!}}{{{strength|}}}
          {{Shiren 6 Infobox Row | # of uses when generated | {{{generate}}} }}
{{!}}-
        }}{{#if: {{{use|}}} |
!class="infoboxHeadRow"{{!}}Max Bonus
          {{Shiren 6 Infobox Row | # of uses when used | {{{use}}} }}
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
        }}
{{!}}-
      }}
!class="infoboxHeadRow"{{!}}Seal
    }}
{{!}}class="infoboxBodyRow"{{!}}[[File:Shiren 6 - Shield Seal {{{seal|}}}.png|alt=Shield Seal {{{seal}}}|frameless]]
  }}
{{!}}-
}}<!-- 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>
!class="infoboxHeadRow"{{!}}Slots
{{!}}class="infoboxBodyRow"{{!}}{{{slots|}}}
|shields|shield=
!class="infoboxHeadRow"{{!}}Defense
{{!}}class="infoboxBodyRow"{{!}}{{{defense|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Seal
{{!}}class="infoboxBodyRow"{{!}}{{{seal|}}}
|riceballs|riceball=
!class="infoboxHeadRow"{{!}}Fullness
{{!}}class="infoboxBodyRow"{{!}}{{{fullness|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Full-Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{bonus|}}}
|jars|jar=
!class="infoboxHeadRow"{{!}}Type
{{!}}class="infoboxBodyRow"{{!}}{{{type|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Cost +
{{!}}class="infoboxBodyRow"{{!}}{{{costplus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Value +
{{!}}class="infoboxBodyRow"{{!}}{{{valueplus|}}}
|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|}}}
|staves|staff=
!class="infoboxHeadRow"{{!}}Cost +
{{!}}class="infoboxBodyRow"{{!}}{{{costplus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Value +
{{!}}class="infoboxBodyRow"{{!}}{{{valueplus|}}}
}}
|}<!-- 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>

Revision as of 22:44, 23 July 2024

Scroll's sprite.
Shiren 6 Item Infobox
Image for Shiren 6 Item Infobox

No description 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