Template:Shiren 1 SFC Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
No edit summary
m (Text replacement - "alt={{{description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{imagesize|200x200px}}}" to "alt={{{img_description|{{{caption|Image for {{PAGENAME}}}}}}}}|{{{img_size|200x200px}}}")
Tags: Mobile edit Mobile web edit
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
{{Infobox Table |
!class="infoboxTitle infoboxHeadRow"|{{Shiren1SFCSprite|{{#switch:{{lc:{{{category|}}}}}
  {{Shiren 1 SFC Item Infobox Header | {{{category|}}} }}
|bracers|bracer=Bracer
  {{Infobox Header | colspan = 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
|gitan=Gitan
  {{#switch: {{{category|}}}
|herbs|herb=Herb
    | Weapons | Shields | Traps = {{Infobox Image | colspan = 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }}
|jars|jar=Jar
  }}
|projectiles|projectile=Arrow
  {{Infobox Description | colspan = 2 | {{{description_en|}}} | {{{description_ja|}}} }}
|riceballs|riceball=Riceball
  {{#if: {{{cost|}}} {{{value|}}} |
|shields|shield=Shield
    {{Infobox Subtable | colspan = 2 | title = Information |
|staves|staff=Staff
      {{#if: {{{cost|}}} |
|traps|trap=Trap
        {{Shiren 1 SFC Infobox Row | Cost | {{{cost}}} }}
|weapons|weapon=Weapon
      }}{{#if: {{{value|}}} |
|#default=Scroll
        {{Shiren 1 SFC Infobox Row | Value | {{{value}}} }}
}}|size=32x32px}}
      }}{{#switch: {{lc: {{{category|}}}}}
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
        | weapons | weapon = {{#if: {{{strength|}}} |
|bracers|bracer=Bracer
          {{Shiren 1 SFC Infobox Row | Strength | {{{strength}}} }}
|herbs|herb=Herb
        }}{{#if: {{{maxbonus|}}} |
|jars|jar=Jar
          {{Shiren 1 SFC Infobox Row | Max Bonus | {{{maxbonus}}} }}
|projectiles|projectile=Arrow
        }}{{#if: {{{seal|}}} |
|riceballs|riceball=Riceball
          {{Shiren 1 SFC Infobox Row | Seal | [[File:Shiren 1 SFC - Weapon Seal {{{seal}}}.png|alt=Weapon Seal {{{seal}}}|frameless]] }}
|shields|shield=Shield
        }}
|scrolls|scroll=Scroll
        | shields | shield = {{#if: {{{defense|}}} |
|staves|staff=Staff
          {{Shiren 1 SFC Infobox Row | Defense | {{{defense}}} }}
|traps|trap=Trap
        }}{{#if: {{{maxbonus|}}} |
|weapons|weapon=Weapon
          {{Shiren 1 SFC Infobox Row | Max Bonus | {{{maxbonus}}} }}
|#default={{{category|}}}
        }}{{#if: {{{seal|}}} |
          {{Shiren 1 SFC Infobox Row | Seal | [[File:Shiren 1 SFC - Shield Seal {{{seal}}}.png|alt=Shield Seal {{{seal}}}|frameless]] }}
        }}
        | riceballs | riceball = {{#if: {{{fullness|}}} |
          {{Shiren 1 SFC Infobox Row | Fullness | {{{fullness}}} }}
        }}{{#if: {{{bonus|}}}|
          {{Shiren 1 SFC Infobox Row | Full-Bonus | {{{bonus}}} }}
        }}
        | jars | jar = {{#if: {{{type|}}} |
          {{Shiren 1 SFC Infobox Row | Type | {{{type}}} }}
        }}{{#if: {{{costplus|}}} |
          {{Shiren 1 SFC Infobox Row | Cost + | {{{costplus}}} }}
        }}{{#if: {{{valueplus|}}} |
          {{Shiren 1 SFC Infobox Row | Value + | {{{valueplus}}} }}
        }}
        | projectiles | projectile = {{#if: {{{damage|}}} |
          {{Shiren 1 SFC Infobox Row | Damage | {{{damage}}} }}
        }}
        | scrolls | scroll = {{#if: {{{blank_en|}}} |
          {{Shiren 1 SFC Infobox Row | Blank Scroll ({{CountryFlag|US}}) | {{{blank_en}}} }}
        }}{{#if: {{{blank_ja|}}} |
          {{Shiren 1 SFC Infobox Row | Blank Scroll ({{CountryFlag|JA}}) | {{{blank_ja}}} }}
        }}{{#if: {{{blank_td|}}} |
          {{Shiren 1 SFC Infobox Row | Blank Scroll ({{CountryFlag|TW}}) | {{{blank_td}}} }}
        }}
        | staves | staff = {{#if: {{{costplus|}}} |
          {{Shiren 1 SFC Infobox Row | Cost + | {{{costplus}}} }}
        }}{{#if: {{{valueplus|}}} |
          {{Shiren 1 SFC Infobox Row | Value + | {{{valueplus}}} }}
        }}
        | traps | trap = {{#if: {{{generate|}}} |
          {{Shiren 1 SFC Infobox Row | # of uses when generated | {{{generate}}} }}
        }}{{#if: {{{use|}}} |
          {{Shiren 1 SFC 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 SFC 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"|{{{description|''Description currently not available.''}}}
|-
!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"{{!}}{{Shiren1SFC|Rune}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{MagicCastleDShiren1SFCSpriteSSprite|Weapon Seal {{{rune|}}}}}|}}
|shields|shield=
!class="infoboxHeadRow"{{!}}Defense
{{!}}class="infoboxBodyRow"{{!}}{{{defense|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}{{Shiren1SFC|Rune}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1SFCSprite|Weapon Seal {{{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|JA}})
{{!}}class="infoboxBodyRow"{{!}}{{{blank_ja|}}}
|staves|staff=
!class="infoboxHeadRow"{{!}}Cost +
{{!}}class="infoboxBodyRow"{{!}}{{{costplus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Value +
{{!}}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 =
[[Category:Shiren 1 SFC Items|{{NAMESPACE}}]]
}}<!-- end AUTOCATEGORIZATION -->
<noinclude>{{Clear}}{{doc}}
<noinclude>{{Clear}}{{doc}}
[[Category:Shiren 1 SFC Infobox Templates]]
[[Category:Shiren 1 SFC Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:32, 10 February 2025

Scroll's sprite.
Shiren 1 SFC Item Infobox
Image for Shiren 1 SFC Item Infobox
Description currently not available.
Information
Cost
Value
Template-info.png Documentation

Usage

{{Shiren 1 SFC Item Infobox
  | category       =  
  | name           =
  | jpname         = 
  | romaji         = 
  | image          = 
  | size           =
  | description =  
  | 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 Pots 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 = 
  | blank_zh = 

Add the following if the item is from the Staves category.

  | costplus  = 
  | valueplus = 

Add the following if the item is from the Traps category.

  | generate = 
  | use      = 

Full Syntax

{{Shiren 1 SFC Item Infobox
  | category       = 
  | name           =
  | jpname         = 
  | romaji         = 
  | image          = 
  | size           =
  | description =  
  | cost           = 
  | value          = 
  | strength       = 
  | maxbonus       = 
  | rune           = 
  | defense        = 
  | fullness       = 
  | bonus          = 
  | type           = 
  | costplus       = 
  | valueplus      = 
  | damage         = 
  | blank_en       = 
  | blank_ja       = 
  | blank_zh       = 
  | generate       = 
  | use            = 
}}

Syntax guide