Template:Shiren 1 DS Item Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="shiren1" style="float:right; clear:both; margin:0.5em ; width:350px"> | <table class="shiren1" style="float:right; clear:both; margin:0.5em; width:350px"> | ||
<th>{{#switch:{{{category|}}}| | <th style="border-radius:10px; width:50px; padding:5px">{{#switch:{{{category|}}}| | ||
Armbands=[[File:Shiren 1 DS Item Icon Armband.png|frameless]] | Armbands=[[File:Shiren 1 DS Item Icon Armband.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Armband| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Armband| | ||
Weapons=[[File:Shiren 1 DS Item Icon Weapon.png|frameless]] | Weapons=[[File:Shiren 1 DS Item Icon Weapon.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Weapon| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Weapon| | ||
Shields=[[File:Shiren 1 DS Item Icon Shield.png|frameless]] | Shields=[[File:Shiren 1 DS Item Icon Shield.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Shield| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Shield| | ||
Herbs=[[File:Shiren 1 DS Item Icon Herb.png|frameless]] | Herbs=[[File:Shiren 1 DS Item Icon Herb.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Herb| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Herb| | ||
Riceballs=[[File:Shiren 1 DS Item Icon Riceball.png|frameless]] | Riceballs=[[File:Shiren 1 DS Item Icon Riceball.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Riceball| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Riceball| | ||
Jars=[[File:Shiren 1 DS Item Icon Jar.png|frameless]] | Jars=[[File:Shiren 1 DS Item Icon Jar.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Jar| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Jar| | ||
Projectiles=[[File:Shiren 1 DS Item Icon Arrow.png|frameless]] | Projectiles=[[File:Shiren 1 DS Item Icon Arrow.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Projectile| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Projectile| | ||
Scrolls=[[File:Shiren 1 DS Item Icon Scroll.png|frameless]] | Scrolls=[[File:Shiren 1 DS Item Icon Scroll.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Scroll| | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Scroll| | ||
Staves=[[File:Shiren 1 DS Item Icon Staff.png|frameless]] | Staves=[[File:Shiren 1 DS Item Icon Staff.png|frameless]] | ||
<th style="border:4px solid #7B8CC6"><big>Staff| | <th style="border:4px solid #7B8CC6; 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"><big>Trap | <th style="border:4px solid #7B8CC6; border-radius:10px"><big>Trap | ||
}} | }} | ||
<tr | <tr> | ||
<th colspan="2" style="line-height:125%"><big>{{{name|No | <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|}}}}} | ||
<tr> | |||
{{#ifeq:{{{category|}}}|Weapons| | {{#ifeq:{{{category|}}}|Weapons| | ||
<th colspan="2">[[File:{{{image|}}}|frameless]] | <th colspan="2">[[File:{{{image|}}}|frameless]] | ||
}}{{#ifeq:{{{category|}}}|Shields| | }}{{#ifeq:{{{category|}}}|Shields| | ||
<th colspan="2">[[File:{{{image|}}}|frameless]] | <th colspan="2">[[File:{{{image|}}}|frameless]] | ||
}}{{#ifeq:{{{category|}}}|Traps| | }}{{#ifeq:{{{category|}}}|Traps| | ||
<th colspan="2">[[File:{{{image|}}}|frameless]] | <th colspan="2">[[File:{{{image|}}}|frameless]] | ||
}} | }} | ||
<tr> | <tr> | ||
Line 41: | Line 42: | ||
{{Shiren 1 DS Dialogue|{{{description_en|''説明はありません。''}}}}} | {{Shiren 1 DS Dialogue|{{{description_en|''説明はありません。''}}}}} | ||
</tabber> | </tabber> | ||
< | <tr> | ||
<td colspan="2" style="background-color:rgba(0,0,0,0); border-radius:10px"> | |||
<table class="shiren1 mw-collapsible" style="width:100%"> | |||
<th colspan="2" style="border-radius:10px">Information | |||
{{#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:25%">Cost | ||
<td style="padding-left:5px; width:75%">{{{cost}}} Gitan | <td style="padding-left:5px; 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">Value | ||
<td style="padding-left:5px">{{{value}}} Gitan | <td style="padding-left:5px">{{{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">Strength | ||
<td style="padding-left:5px">{{{strength|}}} | <td style="padding-left:5px">{{{strength|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Max Bonus | <th style="text-align:right; padding-right:5px">Max Bonus | ||
<td style="padding-left:5px">{{{maxbonus|}}} | <td style="padding-left:5px">{{{maxbonus|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Seal | <th style="text-align:right; padding-right:5px">Seal | ||
<td style="padding-left:5px">[[File:Shiren 1 DS Weapon Seal {{{seal|}}}.png]] | <td style="padding-left:5px">[[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">Defense | ||
<td style="padding-left:5px">{{{defense|}}} | <td style="padding-left:5px">{{{defense|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Max Bonus | <th style="text-align:right; padding-right:5px">Max Bonus | ||
<td style="padding-left:5px">{{{maxbonus|}}} | <td style="padding-left:5px">{{{maxbonus|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Seal | <th style="text-align:right; padding-right:5px">Seal | ||
<td style="padding-left:5px">[[File:Shiren 1 DS Shield Seal {{{seal|}}}.png]] | <td style="padding-left:5px">[[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">Fullness | ||
<td style="padding-left:5px">{{{fullness|}}} | <td style="padding-left:5px">{{{fullness|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Full-Bonus | <th style="text-align:right; padding-right:5px">Full-Bonus | ||
<td style="padding-left:5px">{{{bonus|}}} | <td style="padding-left:5px">{{{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">Type | ||
<td style="padding-left:5px">{{{type|}}} | <td style="padding-left:5px">{{{type|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Cost + | <th style="text-align:right; padding-right:5px">Cost + | ||
<td style="padding-left:5px">{{{costplus|}}} | <td style="padding-left:5px">{{{costplus|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Value + | <th style="text-align:right; padding-right:5px">Value + | ||
<td style="padding-left:5px">{{{valueplus|}}} | <td style="padding-left:5px">{{{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">Damage | ||
<td style="padding-left:5px">{{{damage|}}} | <td style="padding-left:5px">{{{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">English | ||
<td style="padding-left:5px">{{{blank_en|}}} | <td style="padding-left:5px">{{{blank_en|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Japanese | <th style="text-align:right; padding-right:5px">Japanese | ||
<td style="padding-left:5px">{{{blank_ja|}}} | <td style="padding-left:5px">{{{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">Cost + | ||
<td style="padding-left:5px">{{{costplus|}}} | <td style="padding-left:5px">{{{costplus|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px">Value + | <th style="text-align:right; padding-right:5px">Value + | ||
<td style="padding-left:5px">{{{valueplus|}}} | <td style="padding-left:5px">{{{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"># of uses when generated | ||
<td style="padding-left:5px">{{{generate|}}} | <td style="padding-left:5px">{{{generate|}}} | ||
<tr> | <tr> | ||
<th style="text-align:right; padding-right:5px"># of uses when used | <th style="text-align:right; padding-right:5px"># of uses when used | ||
<td style="padding-left:5px">{{{use|}}} | <td style="padding-left:5px">{{{use|}}} | ||
}} | }} | ||
</table> | |||
</table> | </table> | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 09:35, 11 November 2020
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 = }}