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
Line 24: Line 24:
}}
}}
<tr>
<tr>
<th colspan="2" style="line-height:125%; border-radius:10px"><big>{{{name|No Name}}}</big>{{#if:{{{kana|}}}, {{{romaji|}}}|<br><span style="font-size:88%">{{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|
{{#ifeq:{{{category|}}}|Weapons|
Line 48: Line 48:
{{#if:{{{cost|}}}|
{{#if:{{{cost|}}}|
<tr>
<tr>
<th style="text-align:right; padding-right:5px; width:25%">Cost
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost
<td style="padding-left:5px; width:75%">{{{cost}}} Gitan
<td style="padding-left:5px; border-radius:0px 10px 10px 0px; width:75%">{{{cost}}} Gitan
}}{{#if:{{{value|}}}|
}}{{#if:{{{value|}}}|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Value
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value
<td style="padding-left:5px">{{{value}}} Gitan
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{value}}} Gitan
}}{{#ifeq:{{{category|}}}|Weapons|
}}{{#ifeq:{{{category|}}}|Weapons|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Strength
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Strength
<td style="padding-left:5px">{{{strength|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{strength|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Max Bonus
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
<td style="padding-left:5px">{{{maxbonus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Seal
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<td style="padding-left:5px">[[File:Shiren 1 DS Weapon Seal {{{seal|}}}.png]]
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">[[File:Shiren 1 DS Weapon Seal {{{seal|}}}.png]]
}}{{#ifeq:{{{category|}}}|Shields|
}}{{#ifeq:{{{category|}}}|Shields|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Defense
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Defense
<td style="padding-left:5px">{{{defense|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{defense|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Max Bonus
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
<td style="padding-left:5px">{{{maxbonus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Seal
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<td style="padding-left:5px">[[File:Shiren 1 DS Shield Seal {{{seal|}}}.png]]
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">[[File:Shiren 1 DS Shield Seal {{{seal|}}}.png]]
}}{{#ifeq:{{{category|}}}|Riceballs|
}}{{#ifeq:{{{category|}}}|Riceballs|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Fullness
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Fullness
<td style="padding-left:5px">{{{fullness|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{fullness|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Full-Bonus
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Full-Bonus
<td style="padding-left:5px">{{{bonus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{bonus|}}}
}}{{#ifeq:{{{category|}}}|Jars|
}}{{#ifeq:{{{category|}}}|Jars|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Type
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Type
<td style="padding-left:5px">{{{type|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{type|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Cost +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<td style="padding-left:5px">{{{costplus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Value +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<td style="padding-left:5px">{{{valueplus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Projectiles|
}}{{#ifeq:{{{category|}}}|Projectiles|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Damage
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Damage
<td style="padding-left:5px">{{{damage|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{damage|}}}
}}{{#ifeq:{{{category|}}}|Scrolls|
}}{{#ifeq:{{{category|}}}|Scrolls|
<tr style="background:#7B8CC6">
<tr style="background:#7B8CC6">
<th colspan="2">Blank Scroll
<th colspan="2">Blank Scroll
<tr>
<tr>
<th style="text-align:right; padding-right:5px">English
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">English
<td style="padding-left:5px">{{{blank_en|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{blank_en|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Japanese
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Japanese
<td style="padding-left:5px">{{{blank_ja|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{blank_ja|}}}
}}{{#ifeq:{{{category|}}}|Staves|
}}{{#ifeq:{{{category|}}}|Staves|
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Cost +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<td style="padding-left:5px">{{{costplus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px">Value +
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<td style="padding-left:5px">{{{valueplus|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Traps|
}}{{#ifeq:{{{category|}}}|Traps|
<tr>
<tr>
<th style="text-align:right; padding-right:5px"># of uses when generated
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px"># of uses when generated
<td style="padding-left:5px">{{{generate|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{generate|}}}
<tr>
<tr>
<th style="text-align:right; padding-right:5px"># of uses when used
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px"># of uses when used
<td style="padding-left:5px">{{{use|}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{use|}}}
}}
}}
</table>
</table>

Revision as of 09:39, 11 November 2020


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