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
mNo edit summary
Line 3: Line 3:
<th style="border-radius:10px; width:50px; padding:5px">{{#switch:{{{category|}}}|
<th style="border-radius:10px; width:50px; padding:5px">{{#switch:{{{category|}}}|
Gitan=[[File:Shiren 1 SFC Gitan Bag.gif|frameless]]
Gitan=[[File:Shiren 1 SFC Gitan Bag.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Gitan|
<th style="border-radius:10px"><big>Gitan|
Bracers=[[File:Shiren 1 SFC Item Icons - Armband.gif|frameless]]
Bracers=[[File:Shiren 1 SFC Item Icons - Armband.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Bracer|
<th style="border-radius:10px"><big>Bracer|
Weapons=[[File:Shiren 1 SFC Item Icons - Weapon.gif|frameless]]
Weapons=[[File:Shiren 1 SFC Item Icons - Weapon.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Weapon|
<th style="border-radius:10px"><big>Weapon|
Shields=[[File:Shiren 1 SFC Item Icons - Shield.gif|frameless]]
Shields=[[File:Shiren 1 SFC Item Icons - Shield.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Shield|
<th style="border-radius:10px"><big>Shield|
Herbs=[[File:Shiren 1 SFC Item Icons - Herb.gif|frameless]]
Herbs=[[File:Shiren 1 SFC Item Icons - Herb.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Herb|
<th style="border-radius:10px"><big>Herb|
Riceballs=[[File:Shiren 1 SFC Item Icons - Riceball.gif|frameless]]
Riceballs=[[File:Shiren 1 SFC Item Icons - Riceball.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Riceball|
<th style="border-radius:10px"><big>Riceball|
Pots=[[File:Shiren 1 SFC Item Icons - Jar.gif|frameless]]
Pots=[[File:Shiren 1 SFC Item Icons - Jar.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Pot|
<th style="border-radius:10px"><big>Pot|
Projectiles=[[File:Shiren 1 SFC Item Icons - Arrow.gif|frameless]]
Projectiles=[[File:Shiren 1 SFC Item Icons - Arrow.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Projectile|
<th style="border-radius:10px"><big>Projectile|
Scrolls=[[File:Shiren 1 SFC Item Icon - Scroll.gif|frameless]]
Scrolls=[[File:Shiren 1 SFC Item Icon - Scroll.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Scroll|
<th style="border-radius:10px"><big>Scroll|
Staves=[[File:Shiren 1 SFC Item Icons - Staff.gif|frameless]]
Staves=[[File:Shiren 1 SFC Item Icons - Staff.gif|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Staff|
<th style="border-radius:10px"><big>Staff|
Traps=[[File:Shiren 1 DS Trap Sprite - Trap Icon.png|36px|frameless]]
Traps=[[File:Shiren 1 DS Trap Sprite - Trap Icon.png|36px|frameless]]
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Trap|
<th style="border-radius:10px"><big>Trap|
=<th style="border:4px solid #7B8CC6; border-radius:10px">
=<th style="border-radius:10px">
}}
}}
<tr>
<tr>
<th colspan="2" style="border-radius:10px; padding:5px"><big>{{{name|No Name}}}</big>{{#if:{{{kana|}}}, {{{romaji|}}}|<br><small>{{tt|{{{kana|}}}|{{{romaji|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn|}}}}}
<th colspan="2" style="border-radius:10px; padding:5px"><big>{{{name|No Name}}}</big>{{#if:{{{kana|}}}, {{{romaji|}}}|<br><small>{{tt|{{{kana|}}}|{{{romaji|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn|}}}}}
<tr>
<tr>
{{#ifeq:{{{category|}}}|Weapons|
{{#switch:{{{category|}}}|Weapons|Shields|Traps=
<th colspan="2">[[File:{{{image|}}}|frameless]]
}}{{#ifeq:{{{category|}}}|Shields|
<th colspan="2">[[File:{{{image|}}}|frameless]]
}}{{#ifeq:{{{category|}}}|Traps|
<th colspan="2">[[File:{{{image|}}}|frameless]]
<th colspan="2">[[File:{{{image|}}}|frameless]]
}}
}}
Line 40: Line 36:
<tabber>
<tabber>
English=
English=
{{Shiren 1 DS Dialogue|{{{description_en|''No description available.''}}}}}
{{Shiren 1 SFC Dialogue|{{{description_en|''No description available.''}}}}}
|-|
|-|
Japanese=
Japanese=
{{Shiren 1 DS Dialogue|{{{description_ja|''説明はありません。''}}}}}
{{Shiren 1 SFC Dialogue|{{{description_ja|''説明はありません。''}}}}}
</tabber>
</tabber>
<tr>
<tr>
<td colspan="2" style="background-color:rgba(0,0,0,0); border-radius:10px">
<td colspan="2" style="background-color:rgba(0,0,0,0); border-radius:10px">
<table class="{{GameClass}} mw-collapsible" style="width:100%">
<table class="mw-collapsible mw-collapsed" style="width:100%">
<th colspan="2" style="border-radius:10px">Information
<th colspan="2" style="border-radius:10px">Information
{{#if:{{{cost|}}}|
{{#if:{{{cost|}}}|
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Cost
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{cost}}} {{Shiren|Gitan}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{cost}}} {{Shiren1SFC|Gitan}}
}}{{#if:{{{value|}}}|
}}{{#if:{{{value|}}}|
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Value
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{value}}} {{Shiren|Gitan}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{value}}} {{Shiren1SFC|Gitan}}
}}{{#ifeq:{{{category|}}}|Weapons|
}}{{#switch:{{{category|}}}|Weapons=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Strength
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Strength
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{strength|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{strength|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Max Bonus
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{maxbonus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Seal
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">
}}{{#ifeq:{{{category|}}}|Shields|
|Shields=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Defense
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Defense
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{defense|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{defense|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Seal
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">
}}{{#ifeq:{{{category|}}}|Riceballs|
|Riceballs=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Fullness
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Fullness
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{fullness|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{fullness|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Full-Bonus
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Full-Bonus
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{bonus|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{bonus|}}}
}}{{#ifeq:{{{category|}}}|Jars|
|Jars=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Type
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Type
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{type|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{type|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Cost +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{costplus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Value +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Projectiles|
|Projectiles=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Damage
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Damage
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{damage|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{damage|}}}
}}{{#ifeq:{{{category|}}}|Scrolls|
|Scrolls=
<tr>
<tr>
<th colspan="2" style="border-radius:10px">Blank Scroll
<th colspan="2" style="border-radius:10px">Blank Scroll
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">English
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">English
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{blank_en|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{blank_en|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Japanese
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Japanese
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{blank_ja|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{blank_ja|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Chinese
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Chinese
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{tt|{{{blank_zh|}}}|Fan-patch}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{tt|{{{blank_zh|}}}|Fan-patch}}
}}{{#ifeq:{{{category|}}}|Staves|
|Staves=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Cost +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{costplus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px">Value +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Traps|
|Traps=
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px"># of uses when generated
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px"># of uses when generated
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{generate|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{generate|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px"># of uses when used
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0 0 10px"># of uses when used
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{use|}}}
<td style="padding-left:5px; width:67%; border-radius:0 10px 10px 0">{{{use|}}}
}}
}}
</table>
</table>
Line 128: Line 124:
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
[[Category:Infobox Items]]
[[Category:Infobox Items]]
[[Category:Shiren 1 SFC Templates]]
[[Category:Shiren 1 SFC Infoboxes]]
</noinclude>
</noinclude>

Revision as of 07:08, 22 September 2022

No Name
Information


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