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
 
(43 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<onlyinclude>
{| class="wikitable infobox"
<table class="{{GameClass}} infoboxgame infoboxtable">
!class="infoboxTitle infoboxHeadRow"|{{Shiren1DSSprite|{{#switch:{{lc:{{{category|}}}}}
<th style="border-radius:10px; width:50px; padding:5px">{{#switch:{{{category|}}}|
|armbands|armband=Armband
Gitan=[[File:Shiren 1 DS Item Icon Gitan.png|frameless]]
|gitan=Gitan
<th style="border:4px solid #7B8CC6; border-radius:10px"><big>Gitan|
|herbs|herb=Herb
Armbands=[[File:Shiren 1 DS - Armband.png|frameless]]
|jars|jar=Jar
<th style="border-radius:10px"><big>Armband|
|projectiles|projectile=Arrow
Weapons=[[File:Shiren 1 DS - Weapon.png|frameless]]
|riceballs|riceball=Riceball
<th style="border-radius:10px"><big>Weapon|
|shields|shield=Shield
Shields=[[File:Shiren 1 DS - Shield.png|frameless]]
|staves|staff=Staff
<th style="border-radius:10px"><big>Shield|
|weapons|weapon=Weapon
Herbs=[[File:Shiren 1 DS - Herb.png|frameless]]
|#default=Scroll
<th style="border-radius:10px"><big>Herb|
}}|size=32x32px}}
Riceballs=[[File:Shiren 1 DS - Riceball.png|frameless]]
!class="infoboxTitle infoboxHeadRow" style="max-width: 67%;"|{{#switch:{{lc:{{{category|}}}}}
<th style="border-radius:10px"><big>Riceball|
|armbands|armband=Armband
Jars=[[File:Shiren 1 DS - Jar.png|frameless]]
|herbs|herb=Herb
<th style="border-radius:10px"><big>Jar|
|jars|jar=Jar
Projectiles=[[File:Shiren 1 DS - Arrow.png|frameless]]
|projectiles|projectile=Arrow
<th style="border-radius:10px"><big>Projectile|
|riceballs|riceball=Riceball
Scrolls=[[File:Shiren 1 DS - Scroll.png|frameless]]
|shields|shield=Shield
<th style="border-radius:10px"><big>Scroll|
|scroll|scrolls=Scroll
Staves=[[File:Shiren 1 DS - Staff.png|frameless]]
|staves|staff=Staff
<th style="border-radius:10px"><big>Staff|
|weapons|weapon=Weapon
Traps=[[File:Shiren 1 DS - Trap icon.png|36px|frameless]]
|#default={{{category|}}}
<th style="border-radius:10px"><big>Trap|
Stones=[[File:Shiren 1 DS - Piggy Stone sprite.png|36px|frameless]]
<th style="border-radius:10px"><big>Stone|
Cannonballs=[[File:Shiren 1 DS - Cannonball sprite.png|36px|frameless]]
<th style="border-radius:10px"><big>Cannonball|
#default=<th style="border-radius:10px">
}}
}}
<tr>
|-
<th colspan="2" style="border-radius:10px; padding:5px"><big>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</big>{{#if:{{{kana|}}}|<br><small>{{#if:{{{romaji|}}}{{tt|{{{kana|}}}|{{{romaji|}}}}}|{{{kana|}}}}}}}{{#if:{{{hepburn|}}}|<br>{{{hepburn|}}}}}
!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>}}
{{#switch:{{{category|}}}|
|-
Weapons=<tr>
{{#switch:{{lc:{{{category|}}}}}
<th colspan="2" style="background-color:rgba(0,0,0,0); padding:10px">[[File:Shiren 1 DS - {{#switch:{{{name|}}}|Cudgel X=Cudgel|Dragonkill X=Dragonkiller|Goldblade X=Golden Blade|Master X=Mastersword|Polearm X=Polearm|#default={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}}.png|frameless]]|
|armbands|armband|gitan|herbs|herb|jars|jar|projectiles|projectile|riceballs|riceball|scroll|scrolls|staves|staff=<!-- No images -->
Shields=<tr>
|#default=
<th colspan="2" style="background-color:rgba(0,0,0,0); padding:10px">[[File:Shiren 1 DS - {{#switch:{{{name|}}}|Armor X=Armor Ward|Blast X=Blast Shield|Bronze X=Bronzeward|Dragon X=Dragonward|Golden X=Gold Shield|Hide X=Hide Shield|Iron X=Iron Shield|Spiked X=Spiked Ward|Wood X=Wood Shield|#default={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}}.png|frameless]]|
!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|}}}
Traps=<tr>
<th colspan="2" style="background-color:rgba(0,0,0,0); padding:10px">[[File:Shiren 1 DS - {{{name|}}}.png|frameless]]
}}
}}
<tr>
|-
<td colspan="2" style="text-align:center; background-color:rgba(0,0,0,0)">
|colspan="2" class="infoboxDescription"|{{#tag:tabber|
<tabber>
English={{{description|''Description currently not available.''}}}
English={{Shiren 1 DS Dialogue|{{{description_en|''No description available.''}}}}}
{{!}}-{{!}}
|-|
Japanese={{{description_ja|説明文は現在ありません}}}
Japanese={{Shiren 1 DS Dialogue|{{{description_ja|''説明はありません。''}}}}}
</tabber>
<tr>
<td colspan="2" style="background-color:rgba(0,0,0,0); border-radius:10px">
<table class="mw-collapsible" style="width:100%">
<th colspan="2" style="border-radius:10px">Information
{{#if:{{{cost|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{cost}}} {{Shiren|Gitan}}
}}{{#if:{{{value|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{value}}} {{Shiren|Gitan}}
}}{{#ifeq:{{{category|}}}|Weapons|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Strength
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{strength|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
{{#if:{{{seal|}}}|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">[[File:Shiren 1 DS - Weapon Seal {{{seal|}}}.png|frameless]]
}}
}}
}}{{#ifeq:{{{category|}}}|Shields|
|-
<tr>
!colspan="2" class="infoboxContext"|Information
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Defense
|-
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{defense|}}}
!class="infoboxHeadRow"|Cost
<tr>
|class="infoboxBodyRow"|{{{cost|}}}
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Max Bonus
|-
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{maxbonus|}}}
!class="infoboxHeadRow"|Value
{{#if:{{{seal|}}}|
|class="infoboxBodyRow"|{{{value|}}}
<tr>
|-
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Seal
{{#switch:{{lc:{{{category|}}}}}
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">[[File:Shiren 1 DS - Shield Seal {{{seal|}}}.png|frameless]]
|weapons|weapon=
!class="infoboxHeadRow"{{!}}Strength
{{!}}class="infoboxBodyRow"{{!}}{{{strength|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}{{Shiren1DS|Rune}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1DSSprite|Weapon Rune {{{rune|}}}}}|}}
|shields|shield=
!class="infoboxHeadRow"{{!}}Defense
{{!}}class="infoboxBodyRow"{{!}}{{{defense|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Max Bonus
{{!}}class="infoboxBodyRow"{{!}}{{{maxbonus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}{{Shiren1DS|Rune}}
!class="infoboxBodyRow"{{!}}{{#if:{{{rune|}}}|{{Shiren1DSSprite|Weapon Rune {{{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|US}})
{{!}}class="infoboxBodyRow"{{!}}{{{blank_en|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Blank Scroll ({{CountryFlag|JA}})
{{!}}class="infoboxBodyRow"{{!}}{{{blank_ja|}}}
|staves|staff=
!class="infoboxHeadRow"{{!}}Cost +
{{!}}class="infoboxBodyRow"{{!}}{{{costplus|}}}
{{!}}-
!class="infoboxHeadRow"{{!}}Value +
{{!}}class="infoboxBodyRow"{{!}}{{{valueplus|}}}
}}
}}
}}{{#ifeq:{{{category|}}}|Riceballs|
|}<!-- AUTOCATEGORIZATION -->{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default =
<tr>
[[Category:Shiren 1 DS Items|{{NAMESPACE}}]]
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Fullness
}}<!-- end AUTOCATEGORIZATION -->
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{fullness|}}}
<noinclude>{{Clear}}{{doc}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Full-Bonus
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{bonus|}}}
}}{{#ifeq:{{{category|}}}|Jars|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Type
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{type|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Projectiles|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Damage
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{damage|}}}
}}{{#ifeq:{{{category|}}}|Scrolls|
<tr>
<th colspan="2" style="border-radius:10px">Blank Scroll
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">English
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{blank_en|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Japanese
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{blank_ja|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Chinese
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{tt|{{{blank_zh|}}}|Fan-patch}}
}}{{#ifeq:{{{category|}}}|Staves|
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Cost +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{costplus|}}}
<tr>
<th style="text-align:right; padding-right:5px; width:150px; border-radius:10px 0px 0px 10px">Value +
<td style="padding-left:5px; border-radius:0px 10px 10px 0px">{{{valueplus|}}}
}}{{#ifeq:{{{category|}}}|Traps|
<tr>
<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; border-radius:0px 10px 10px 0px">{{{generate|}}}
<tr>
<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; border-radius:0px 10px 10px 0px">{{{use|}}}
}}
</table>
</table>
</onlyinclude><noinclude>{{Clear}}
{{doc}}
[[Category:Shiren 1 DS Infobox Templates]]
[[Category:Shiren 1 DS Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:12, 26 May 2025

Scroll's sprite.
Shiren 1 DS Item Infobox
Image for Shiren 1 DS Item Infobox

Description currently not available.

説明文は現在ありません

Information
Cost
Value
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