Template:Shiren 1 DS Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
No edit summary
No edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable infobox"
{| class="wikitable infobox"
!class="infoboxTitle infoboxHeadRow"|{{Shiren1DSSprite|{{#switch:{{lc:{{{category|}}}}}
!class="infoboxTitle infoboxHeadRow"|{{Shiren1DSSprite|{{#switch:{{lc:{{{category|}}}}}
|weapons|weapon=Weapon
|armbands|armband=Armband
|shields|shield=Shield
|gitan=Gitan
|herbs|herb=Herb
|herbs|herb=Herb
|jars|jar=Jar
|projectiles|projectile=Arrow
|riceballs|riceball=Riceball
|riceballs|riceball=Riceball
|pots|pot=Pot
|shields|shield=Shield
|projectiles|projectile=Arrow
|staves|staff=Staff
|staves|staff=Staff
|traps|trap=Trap
|weapons|weapon=Weapon
|gitan=Gitan
|#default=Scroll
|#default=Scroll
}}|size=16px}}
}}|size=32x32px}}
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
|weapons|weapon=Weapon
|armbands|armband=Armband
|shields|shield=Shield
|herbs|herb=Herb
|herbs|herb=Herb
|jars|jar=Jar
|projectiles|projectile=Arrow
|riceballs|riceball=Riceball
|riceballs|riceball=Riceball
|pots|pot=Pot
|shields|shield=Shield
|projectiles|projectile=Arrow
|scroll|scrolls=Scroll
|scroll|scrolls=Scroll
|staves|staff=Staff
|staves|staff=Staff
|traps|trap=Trap
|weapons|weapon=Weapon
|#default={{{category|}}}
|#default={{{category|}}}
}}
}}
|-
|-
!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>|}}
!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>}}
|-
|-
!colspan="2" class="infoboxImage"|[[File:{{#ifeq:{{{image}}}||Wiki.png|{{{image|Wiki.png}}}}}|alt={{{description_en|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{imagesize|200x200px}}}|frameless]]<br>{{{caption|}}}
{{#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|
|colspan="2" class="infoboxDescription"|{{#tag:tabber|
English={{{description_en|''No description available.''}}}
English={{{description|''Description currently not available.''}}}
{{!}}-{{!}}
{{!}}-{{!}}
Japanese={{{description_ja|記述なし}}}
Japanese={{{description_ja|説明文は現在ありません}}}
}}
}}
|-
|-
!colspan="2" class="infoboxContext"|{{{datatitle|Information}}}
!colspan="2" class="infoboxContext"|Information
|-
|-
!class="infoboxHeadRow"|Cost
!class="infoboxHeadRow"|Cost
Line 51: Line 55:
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
{{!}}-
!class="infoboxHeadRow"{{!}}Seal
!class="infoboxHeadRow"{{!}}{{Shiren1DS|Rune}}
{{!}}class="infoboxBodyRow"{{!}}{{Shiren1DSSprite|Weapon Seal {{{seal|}}}}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1DSSprite|Weapon Rune {{{rune|}}}}}|}}
|shields|shield=
|shields|shield=
!class="infoboxHeadRow"{{!}}Defense
!class="infoboxHeadRow"{{!}}Defense
Line 60: Line 64:
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
{{!}}-
!class="infoboxHeadRow"{{!}}Seal
!class="infoboxHeadRow"{{!}}{{Shiren1DS|Rune}}
{{!}}class="infoboxBodyRow"{{!}}{{Shiren1DSSprite|Shield Seal {{{seal|}}}}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1DSSprite|Weapon Rune {{{rune|}}}}}|}}
|riceballs|riceball=
|riceballs|riceball=
!class="infoboxHeadRow"{{!}}Fullness
!class="infoboxHeadRow"{{!}}Fullness
Line 92: Line 96:
!class="infoboxHeadRow"{{!}}Value +
!class="infoboxHeadRow"{{!}}Value +
{{!}}class="infoboxBodyRow"{{!}}{{{valueplus|}}}
{{!}}class="infoboxBodyRow"{{!}}{{{valueplus|}}}
|traps|trap=
!class="infoboxHeadRow"{{!}}# of uses when generated
{{!}}class="infoboxBodyRow"{{!}}{{{generate|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}# of uses when used
{{!}}class="infoboxBodyRow"{{!}}{{{use|}}}
}}
}}
|}<!-- AUTOCATEGORIZATION -->{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default =
|}<!-- AUTOCATEGORIZATION -->{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default =
[[Category:Shiren 1 DS Items|{{NAMESPACE}}]]
[[Category:Shiren 1 DS Items|{{NAMESPACE}}]]
}}<!-- end AUTOCATEGORIZATION -->
}}<!-- end AUTOCATEGORIZATION -->
<noinclude>{{Clear}}{{doc}}
[[Category:Shiren 1 DS Infobox Templates]]
</noinclude>
<!--
<onlyinclude>
{{Shiren 1 DS Infobox Table |
  {{Shiren 1 DS Item Infobox Header | {{{category|}}}}}
  {{Shiren 1 DS Infobox Header | colspan = 2 | {{{enname|}}} | {{{jpname|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
  {{Shiren 1 DS Infobox Image | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{enname|}}}}}
  {{Shiren 1 DS Infobox Description | colspan = 2 | multiple = true | {{{description_en|}}} | {{{description_ja|}}} }}
  {{#if: {{{cost|}}} {{{value|}}} |
    {{Shiren 1 DS Infobox Subtable | colspan = 2 | title = Information |
      {{#if: {{{cost|}}} |
        {{Shiren 1 DS Infobox Row | Cost | {{{cost}}} }}
      }}{{#if: {{{value|}}} |
        {{Shiren 1 DS Infobox Row | Value | {{{value}}} }}
      }}{{#switch: {{lc: {{{category|}}}}}
        | weapons | weapon = {{#if: {{{strength|}}} |
          {{Shiren 1 DS Infobox Row | Strength | {{{strength}}} }}
        }}{{#if: {{{maxbonus|}}} |
          {{Shiren 1 DS Infobox Row | Max Bonus | {{{maxbonus}}} }}
        }}{{#if: {{{seal|}}} |
          {{Shiren 1 DS Infobox Row | Seal | [[File:Shiren 1 DS - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }}
        }}
        | shields | shield = {{#if: {{{defense|}}} |
          {{Shiren 1 DS Infobox Row | Defense | {{{defense}}} }}
        }}{{#if: {{{maxbonus|}}} |
          {{Shiren 1 DS Infobox Row | Max Bonus | {{{maxbonus}}} }}
        }}{{#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 -->
{{#if: {{NAMESPACE}} <!-- no categories if outside of article namespace --> {{#ifeq: {{{categorize|y}}} | n | + }} | <!-- Do not categorize --> | [[Category:Shiren 1 DS items|{{{enname|}}}]] }}<!-- end AUTOCATEGORIZATION -->
</onlyinclude>
<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