Template:Shiren 1 DS Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
{{Shiren 1 DS Infobox Table |
!class="infoboxTitle infoboxHeadRow"|{{Shiren1DSSprite|{{#switch:{{lc:{{{category|}}}}}
  {{Shiren 1 DS Item Infobox Header | {{{category|}}}}}
|armbands|armband=Armband
  {{Shiren 1 DS Infobox Header | colspan = 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
|gitan=Gitan
  {{Shiren 1 DS Infobox Image | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}}}}
|herbs|herb=Herb
  {{Shiren 1 DS Infobox Description | colspan = 2 | multiple = true | {{{description_en|}}} | {{{description_ja|}}} }}
|jars|jar=Jar
  {{#if: {{{cost|}}} {{{value|}}} |
|projectiles|projectile=Arrow
    {{Shiren 1 DS Infobox Subtable | colspan = 2 | title = Information |
|riceballs|riceball=Riceball
      {{#if: {{{cost|}}} |
|shields|shield=Shield
        {{Shiren 1 DS Infobox Row | Cost | {{{cost}}} }}
|staves|staff=Staff
      }}{{#if: {{{value|}}} |
|weapons|weapon=Weapon
        {{Shiren 1 DS Infobox Row | Value | {{{value}}} }}
|#default=Scroll
      }}{{#switch: {{lc: {{{category|}}}}}
}}|size=32x32px}}
        | weapons | weapon = {{#if: {{{strength|}}} |
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
          {{Shiren 1 DS Infobox Row | Strength | {{{strength}}} }}
|armbands|armband=Armband
        }}{{#if: {{{maxbonus|}}} |
|herbs|herb=Herb
          {{Shiren 1 DS Infobox Row | Max Bonus | {{{maxbonus}}} }}
|jars|jar=Jar
        }}{{#if: {{{seal|}}} |
|projectiles|projectile=Arrow
          {{Shiren 1 DS Infobox Row | Seal | [[File:Shiren 1 DS - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }}
|riceballs|riceball=Riceball
        }}
|shields|shield=Shield
        | shields | shield = {{#if: {{{defense|}}} |
|scroll|scrolls=Scroll
          {{Shiren 1 DS Infobox Row | Defense | {{{defense}}} }}
|staves|staff=Staff
        }}{{#if: {{{maxbonus|}}} |
|weapons|weapon=Weapon
          {{Shiren 1 DS Infobox Row | Max Bonus | {{{maxbonus}}} }}
|#default={{{category|}}}
        }}{{#if: {{{seal|}}} |
          {{Shiren 1 DS Infobox Row | Seal | [[File:Shiren 1 DS - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }}
        }}
        | riceballs | riceball = {{#if: {{{fullness|}}} |
          {{Shiren 1 DS Infobox Row | Fullness | {{{fullness}}} }}
        }}{{#if: {{{bonus|}}}|
          {{Shiren 1 DS Infobox Row | Full-Bonus | {{{bonus}}} }}
        }}
        | jars | jar = {{#if: {{{type|}}} |
          {{Shiren 1 DS Infobox Row | Type | {{{type}}} }}
        }}{{#if: {{{costplus|}}} |
          {{Shiren 1 DS Infobox Row | Cost + | {{{costplus}}} }}
        }}{{#if: {{{valueplus|}}} |
          {{Shiren 1 DS Infobox Row | Value + | {{{valueplus}}} }}
        }}
        | projectiles | projectile = {{#if: {{{damage|}}} |
          {{Shiren 1 DS Infobox Row | Damage | {{{damage}}} }}
        }}
        | scrolls | scroll = {{#if: {{{blank_en|}}} |
          {{Shiren 1 DS Infobox Row | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }}
        }}{{#if: {{{blank_ja|}}} |
          {{Shiren 1 DS Infobox Row | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }}
        }}
        | staves | staff = {{#if: {{{costplus|}}} |
          {{Shiren 1 DS Infobox Row | Cost + | {{{costplus}}} }}
        }}{{#if: {{{valueplus|}}} |
          {{Shiren 1 DS Infobox Row | Value + | {{{valueplus}}} }}
        }}
        | traps | trap = {{#if: {{{generate|}}} |
          {{Shiren 1 DS Infobox Row | # of uses when generated | {{{generate}}} }}
        }}{{#if: {{{use|}}} |
          {{Shiren 1 DS Infobox Row | # of uses when used | {{{use}}} }}
        }}
      }}
    }}
  }}
}}
}}
 
|-
<!-- AUTOCATEGORIZATION -->
!colspan="2" class="infoboxTitle"|<span style="font-size: 1.2rem;">{{{name|{{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: {{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 1 DS items|{{{name|}}}]] }}<!-- end AUTOCATEGORIZATION -->
|-
</onlyinclude>
{{#switch:{{lc:{{{category|}}}}}
|armbands|armband|gitan|herbs|herb|jars|jar|projectiles|projectile|riceballs|riceball|scroll|scrolls|staves|staff=<!-- No images -->
|#default=
!colspan="2" class="infoboxImage"{{!}}[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{img_description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{img_size|200x200px}}}|frameless]]<br>{{{caption|}}}
}}
|-
|colspan="2" class="infoboxDescription"|{{#tag:tabber|
English={{{description|''Description currently not available.''}}}
{{!}}-{{!}}
Japanese={{{description_ja|説明文は現在ありません}}}
}}
|-
!colspan="2" class="infoboxContext"|Information
|-
!class="infoboxHeadRow"|Cost
|class="infoboxBodyRow"|{{{cost|}}}
|-
!class="infoboxHeadRow"|Value
|class="infoboxBodyRow"|{{{value|}}}
|-
{{#switch:{{lc:{{{category|}}}}}
|weapons|weapon=
!class="infoboxHeadRow"{{!}}Strength
{{!}}class="infoboxBodyRow"{{!}}{{{strength|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}{{Shiren1DS|Rune}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1DSSprite|Weapon Rune {{{rune|}}}}}|}}
|shields|shield=
!class="infoboxHeadRow"{{!}}Defense
{{!}}class="infoboxBodyRow"{{!}}{{{defense|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}{{Shiren1DS|Rune}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1DSSprite|Weapon Rune {{{rune|}}}}}|}}
|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 1 DS Items|{{NAMESPACE}}]]
}}<!-- end AUTOCATEGORIZATION -->
<noinclude>{{Clear}}{{doc}}
<noinclude>{{Clear}}{{doc}}
[[Category:Shiren 1 DS Infobox Templates]]
[[Category:Shiren 1 DS Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:12, 26 May 2025

Scroll's sprite.
Shiren 1 DS Item Infobox
Image for Shiren 1 DS Item Infobox

Description currently not available.

説明文は現在ありません

Information
Cost
Value
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