Template:Shiren 1 DS Item Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (9 revisions imported)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="module" style="float:right; clear:both; border:1px solid #31427B; background:#31427B; width:20%">
<table class="shiren1" style="float:right; clear:both; margin:0.5em ; width:350px">
<tr style="background:#E7E7C6">
<th>{{#switch:{{{category|}}}|
<th style="background:#7B8CC6">{{#switch:{{{category|}}}|
Armbands=[[File:Shiren 1 DS Item Icon Armband.png|frameless]]</th>
Armbands=[[File:Shiren 1 DS Item Icon Armband.png|frameless]]</th>
<th style="border:4px solid #7B8CC6"><big>Armband|
<th style="border:4px solid #7B8CC6"><big>Armband|
Line 25: Line 24:
}}</th>
}}</th>
<tr style="background:#7B8CC6">
<tr style="background:#7B8CC6">
<th colspan="2" style="line-height:125%"><big>{{{name|No Title}}}</big>{{#if:{{{kanji|}}}, {{{romaji|}}}|<br><span style="font-size:88%">{{tt|{{{kanji}}}|{{{romaji|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn}}}}}</th>
<th colspan="2" style="line-height:125%"><big>{{{name|No Title}}}</big>{{#if:{{{kana|}}}, {{{romaji|}}}|<br><span style="font-size:88%">{{tt|{{{kana}}}|{{{romaji|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn}}}}}</th>
<tr>
{{#ifeq:{{{category|}}}|Weapons|
{{#ifeq:{{{category|}}}|Weapons|
<th colspan="2">[[File:{{{image|}}}|frameless]]</th>
<th colspan="2">[[File:{{{image|}}}|frameless]]</th>
<tr>
}}{{#ifeq:{{{category|}}}|Shields|
}}{{#ifeq:{{{category|}}}|Shields|
<th colspan="2">[[File:{{{image|}}}|frameless]]</th>
<th colspan="2">[[File:{{{image|}}}|frameless]]</th>
<tr>
}}{{#ifeq:{{{category|}}}|Traps|
}}{{#ifeq:{{{category|}}}|Traps|
<th colspan="2">[[File:{{{image|}}}|frameless]]</th>
<th colspan="2">[[File:{{{image|}}}|frameless]]</th>
}}
<tr>
<tr>
}}
<td colspan="2" style="text-align:center; background-color:rgba(0,0,0,0)">
<td colspan="2" style="text-align:center">
<tabber>
<tabber>
English=
English=
<table class="module" style="width:280px; background:#FFF; text-align:left; text-shadow:1px 1px black; color:white">
{{Shiren 1 DS Dialogue|{{{description_en|''No description available.''}}}}}
<td style="background-image:linear-gradient(to bottom, rgba(0, 0, 57), rgba(0, 0, 90)); padding-left:8px; padding-right:8px; line-height:125%">{{{description_en|''<center>No description available.}}}</td>
</table>
|-|
|-|
Japanese=
Japanese=
<table class="module" style="width:280px; background:#FFF; text-align:left; text-shadow:1px 1px black; color:white">
{{Shiren 1 DS Dialogue|{{{description_en|''説明はありません。''}}}}}
<td style="background-image:linear-gradient(to bottom, rgba(0, 0, 57), rgba(0, 0, 90)); padding-left:8px; padding-right:8px; line-height:125%">{{{description_ja|''<center>説明はありません。}}}</td>
</table>
</tabber>
</tabber>
</td>
</td>
{{#if:{{{cost|}}}|
{{#if:{{{cost|}}}|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px; width:25%">Cost</th>
<th style="text-align:right; padding-right:5px; width:25%">Cost</th>
<td style="padding-left:5px; width:75%">{{{cost}}} Gitan</td>
<td style="padding-left:5px; width:75%">{{{cost}}} Gitan</td>
}}{{#if:{{{value|}}}|
}}{{#if:{{{value|}}}|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Value</th>
<th style="text-align:right; padding-right:5px">Value</th>
<td style="padding-left:5px">{{{value}}} Gitan</td>
<td style="padding-left:5px">{{{value}}} Gitan</td>
}}{{#ifeq:{{{category|}}}|Weapons|
}}{{#ifeq:{{{category|}}}|Weapons|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Strength</th>
<th style="text-align:right; padding-right:5px">Strength</th>
<td style="padding-left:5px">{{{strength|}}}</td>
<td style="padding-left:5px">{{{strength|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Max Bonus</th>
<th style="text-align:right; padding-right:5px">Max Bonus</th>
<td style="padding-left:5px">{{{maxbonus|}}}</td>
<td style="padding-left:5px">{{{maxbonus|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Seal</th>
<th style="text-align:right; padding-right:5px">Seal</th>
<td style="padding-left:5px">[[File:Shiren 1 DS Weapon Seal {{{seal|}}}.png]]</td>
<td style="padding-left:5px">[[File:Shiren 1 DS Weapon Seal {{{seal|}}}.png]]</td>
}}{{#ifeq:{{{category|}}}|Shields|
}}{{#ifeq:{{{category|}}}|Shields|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Defense</th>
<th style="text-align:right; padding-right:5px">Defense</th>
<td style="padding-left:5px">{{{defense|}}}</td>
<td style="padding-left:5px">{{{defense|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Max Bonus</th>
<th style="text-align:right; padding-right:5px">Max Bonus</th>
<td style="padding-left:5px">{{{maxbonus|}}}</td>
<td style="padding-left:5px">{{{maxbonus|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Seal</th>
<th style="text-align:right; padding-right:5px">Seal</th>
<td style="padding-left:5px">[[File:Shiren 1 DS Shield Seal {{{seal|}}}.png]]</td>
<td style="padding-left:5px">[[File:Shiren 1 DS Shield Seal {{{seal|}}}.png]]</td>
}}{{#ifeq:{{{category|}}}|Riceballs|
}}{{#ifeq:{{{category|}}}|Riceballs|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Fullness</th>
<th style="text-align:right; padding-right:5px">Fullness</th>
<td style="padding-left:5px">{{{fullness|}}}</td>
<td style="padding-left:5px">{{{fullness|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Full-Bonus</th>
<th style="text-align:right; padding-right:5px">Full-Bonus</th>
<td style="padding-left:5px">{{{bonus|}}}</td>
<td style="padding-left:5px">{{{bonus|}}}</td>
}}{{#ifeq:{{{category|}}}|Jars|
}}{{#ifeq:{{{category|}}}|Jars|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Type</th>
<th style="text-align:right; padding-right:5px">Type</th>
<td style="padding-left:5px">{{{type|}}}</td>
<td style="padding-left:5px">{{{type|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Cost +</th>
<th style="text-align:right; padding-right:5px">Cost +</th>
<td style="padding-left:5px">{{{costplus|}}}</td>
<td style="padding-left:5px">{{{costplus|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Value +</th>
<th style="text-align:right; padding-right:5px">Value +</th>
<td style="padding-left:5px">{{{valueplus|}}}</td>
<td style="padding-left:5px">{{{valueplus|}}}</td>
}}{{#ifeq:{{{category|}}}|Projectiles|
}}{{#ifeq:{{{category|}}}|Projectiles|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Damage</th>
<th style="text-align:right; padding-right:5px">Damage</th>
<td style="padding-left:5px">{{{damage|}}}</td>
<td style="padding-left:5px">{{{damage|}}}</td>
}}{{#ifeq:{{{category|}}}|Scrolls|
}}{{#ifeq:{{{category|}}}|Scrolls|
<tr style="background:#7B8CC6">
<tr style="background:#7B8CC6">
<th colspan="2">Blank Scroll</th>
<th colspan="2">Blank Scroll</th>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">English</th>
<th style="text-align:right; padding-right:5px">English</th>
<td style="padding-left:5px">{{{blank_en|}}}</td>
<td style="padding-left:5px">{{{blank_en|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Japanese</th>
<th style="text-align:right; padding-right:5px">Japanese</th>
<td style="padding-left:5px">{{{blank_ja|}}}</td>
<td style="padding-left:5px">{{{blank_ja|}}}</td>
}}{{#ifeq:{{{category|}}}|Staves|
}}{{#ifeq:{{{category|}}}|Staves|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Cost +</th>
<th style="text-align:right; padding-right:5px">Cost +</th>
<td style="padding-left:5px">{{{costplus|}}}</td>
<td style="padding-left:5px">{{{costplus|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px">Value +</th>
<th style="text-align:right; padding-right:5px">Value +</th>
<td style="padding-left:5px">{{{valueplus|}}}</td>
<td style="padding-left:5px">{{{valueplus|}}}</td>
}}{{#ifeq:{{{category|}}}|Traps|
}}{{#ifeq:{{{category|}}}|Traps|
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px"># of uses when generated</th>
<th style="text-align:right; padding-right:5px"># of uses when generated</th>
<td style="padding-left:5px">{{{generate|}}}</td>
<td style="padding-left:5px">{{{generate|}}}</td>
<tr style="background:#E7E7C6">
<tr>
<th style="background:#7B8CC6; text-align:right; padding-right:5px"># of uses when used</th>
<th style="text-align:right; padding-right:5px"># of uses when used</th>
<td style="padding-left:5px">{{{use|}}}</td>
<td style="padding-left:5px">{{{use|}}}</td>
}}
}}

Revision as of 09:26, 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