Template:Shiren 6 Dungeon Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div class="newInfobox">
{{Infobox Table |
{{Infobox Header | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
  {{Infobox Header 2 | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
{{Infobox Image | {{{image|}}} | {{{description|}}} | {{{size|}}} | {{{name|}}} }}
  {{Infobox Image 2 | {{{image|}}} | {{{description_en|}}} | {{{size|}}} | {{{name|}}} }}
<div>
  {{#if: {{{entrance|}}} {{{goal floor|}}} {{{total floors|}}} {{{backtracking|}}} {{{items|}}} {{{gitan|}}} {{{allies|}}} {{{rescues|}}} {{{rescue attempts|}}} {{{npcs|}}} {{{visibility|}}} {{{shops|}}} {{{monster houses|}}} {{{vaults|}}} {{{spawn rate|}}} {{{turns|}}} {{{boss|}}} |
{{#if:{{{entrance|}}} {{{goal floor|}}} {{{total floors|}}} {{{backtracking|}}} {{{items|}}} {{{gitan|}}} {{{allies|}}} {{{rescues|}}} {{{rescue attempts|}}} {{{npcs|}}} {{{visibility|}}} {{{shops|}}} {{{monster houses|}}} {{{vaults|}}} {{{spawn rate|}}} {{{turns|}}} {{{boss|}}}|
    {{Infobox Subtable |
<div class="infoboxContent mw-collapsible">
      {{#if: {{{entrance|}}} |
<div class="templatePrimary infoboxContext">Information</div>
        {{Infobox Row 2 | Entrance Location | {{{entrance}}} }}
<div class="mw-collapsible-content">
      }}{{#if: {{{goal floor|}}} |
{{#if:{{{entrance|}}}|
        {{Infobox Row 2 | Final Goal Floor | {{{goal floor}}} }}
{{Infobox Row | Entrance Location | {{{entrance}}} }}
      }}{{#if: {{{total floors|}}} |
}}{{#if:{{{goal floor|}}}|
        {{Infobox Row 2 | Total Floor Count | {{{total floors}}} }}
{{Infobox Row | Final Goal Floor | {{{goal floor}}} }}
      }}{{#if: {{{backtracking|}}} |
}}{{#if:{{{total floors|}}}|
        {{Infobox Row 2 | {{Shiren6|Backtracking}} | {{{backtracking}}} }}
{{Infobox Row | Total Floor Count | {{{total floors}}} }}
      }}{{#if: {{{items|}}} |
}}{{#if:{{{backtracking|}}}|
        {{Infobox Row 2 | Bring {{Shiren6|Items}} In | {{{items}}} }}
{{Infobox Row | {{Shiren6|Backtracking}} | {{{backtracking}}} }}
      }}{{#if: {{{gitan|}}} |
}}{{#if:{{{items|}}}|
        {{Infobox Row 2 | Bring {{Shiren6|Gitan}} In | {{{gitan}}} }}
{{Infobox Row | Bring {{Shiren6|Items}} In | {{{items}}} }}
      }}{{#if: {{{allies|}}} |
}}{{#if:{{{gitan|}}}|
        {{Infobox Row 2 | Bring {{Shiren6|Allies}} In | {{{allies}}} }}
{{Infobox Row | Bring {{Shiren6|Gitan}} In | {{{gitan}}} }}
      }}{{#if: {{{rescues|}}} |
}}{{#if:{{{allies|}}}|
        {{Infobox Row 2 | {{Shiren6|Rescues}} | {{{rescues}}} }}
{{Infobox Row | Bring {{Shiren6|Allies}} In | {{{allies}}} }}
      }}{{#if: {{{rescue attempts|}}} |
}}{{#if:{{{rescues|}}}|
        {{Infobox Row 2 | # of Rescue Attempts | {{{rescue attempts}}} }}
{{Infobox Row | {{Shiren6|Rescues}} | {{{rescues}}} }}
      }}{{#if: {{{npcs|}}} |
}}{{#if:{{{rescue attempts|}}}|
        {{Infobox Row 2 | {{Shiren6|Characters}} | {{{npcs}}} }}
{{Infobox Row | # of Rescue Attempts | {{{rescue attempts}}} }}
      }}{{#if: {{{visibility|}}} |
}}{{#if:{{{npcs|}}}|
        {{Infobox Row 2 | {{Shiren6|Visibility}} | {{{visibility}}} }}
{{Infobox Row | {{Shiren6|Characters}} | {{{npcs}}} }}
      }}{{#if: {{{shops|}}} |
}}{{#if:{{{visibility|}}}|
        {{Infobox Row 2 | {{Shiren6|Shops}} | {{{shops}}} }}
{{Infobox Row | {{Shiren6|Visibility}} | {{{visibility}}} }}
      }}{{#if: {{{monster houses|}}} |
}}{{#if:{{{shops|}}}|
        {{Infobox Row 2 | {{Shiren6|Monster Houses}} | {{{monster houses}}} }}
{{Infobox Row | {{Shiren6|Shops}} | {{{shops}}} }}
      }}{{#if: {{{benemoth|}}} |
}}{{#if:{{{monster houses|}}}|
        {{Infobox Row 2 | {{Shiren6|Benemoth Gates}} | {{{benemoth}}} }}
{{Infobox Row | {{Shiren6|Monster Houses}} | {{{monster houses}}} }}
      }}{{#if: {{{vaults|}}} |
}}{{#if:{{{vaults|}}}|
        {{Infobox Row 2 | {{Shiren6|Vaults}} | {{{vaults}}} }}
{{Infobox Row | {{Shiren6|Vaults}} | {{{vaults}}} }}
      }}{{#if: {{{spawn rate|}}} |
}}{{#if:{{{spawn rate|}}}|
        {{Infobox Row 2 | Monster Spawn Rate | {{{spawn rate}}} }}
{{Infobox Row | Monster Spawn Rate | {{{spawn rate}}} }}
      }}{{#if: {{{turns|}}} |
}}{{#if:{{{turns|}}}|
        {{Infobox Row 2 | {{Shiren6|The Winds of Kron}} | {{{turns}}} }}
{{Infobox Row | {{Shiren6|The Winds of Kron}} | {{{turns}}} }}
      }}{{#if: {{{boss|}}} |
}}{{#if:{{{boss|}}}|
        {{Infobox Row 2 | {{Shiren6|Special Enemies|Boss}} | {{{boss}}} }}
{{Infobox Row | {{Shiren6|Special Enemies|Boss}} | {{{boss}}} }}
      }}
      | Information
    }}
  }}{{#if:{{{title|}}} {{{prev dungeon|}}} {{{next dungeon|}}} |
    {{Shiren 6 Infobox Locations Nav
      | {{{prev dungeon|}}}
      | {{{next dungeon|}}}
      | title = {{{title|}}}
    }}
  }}
}}
}}
</div>
</div>
}}
</div>
{{#if:{{{title|}}} {{{prev dungeon|}}} {{{next dungeon|}}} {{{prev|}}} {{{next|}}}|
<table class="MDWiki infoboxTable mw-collapsible" style="text-align: center;">
{{#if:{{{title|}}}|
<tr>
<th colspan="{{#if:{{{prev dungeon|}}} {{{next dungeon|}}} | 4 | 2 }}">'''''{{{title}}}'''''</th>
</tr>
}}
{{#if:{{{prev dungeon|}}}|
{{#if:{{{next dungeon|}}}|
<tr>
<th style="width: 15%;">'''#{{{prev}}}'''</th>
<th style="width: 35%;">'''← Previous Dungeon'''</th>
<th style="width: 35%;">'''Next Dungeon →'''</th>
<th style="width: 15%;">'''#{{{next}}}'''</th>
</tr>
<tr>
<th>[[File:Shiren 6 - {{{prev dungeon}}} Location Icon.png|alt={{{prev dungeon}}}'s location icon|frameless]]</th>
<td>'''<big>{{Shiren6|{{{prev dungeon}}}}}</big>'''</td>
<td>'''<big>{{Shiren6|{{{next dungeon}}}}}</big>'''</td>
<th>[[File:Shiren 6 - {{{next dungeon}}} Location Icon.png|alt={{{next dungeon}}}'s location icon|frameless]]</th>
</tr>
|
<tr>
<th style="width: 15%;">'''#{{{prev}}}'''</th>
<th style="width: 85%;">'''← Previous Dungeon'''</th>
</tr>
<tr>
<th>[[File:Shiren 6 - {{{prev dungeon}}} Location Icon.png|alt={{{prev dungeon}}}'s location icon|frameless]]</th>
<td>'''<big>{{Shiren6|{{{prev dungeon}}}}}</big>'''</td>
</tr>
}}
|
{{#if:{{{next dungeon|}}}|
<tr>
<th style="width: 85%;">'''Next Dungeon →'''</th>
<th style="width: 15%;">'''#{{{next}}}'''</th>
</tr>
<tr>
<td>'''<big>{{Shiren6|{{{next dungeon}}}}}</big>'''</td>
<th>[[File:Shiren 6 - {{{next dungeon}}} Location Icon.png|alt={{{next dungeon}}}'s location icon|frameless]]</th>
</tr>
}}
}}
</table>
}}
</div>


<!-- AUTOCATEGORIZATION -->
<!-- AUTOCATEGORIZATION -->

Revision as of 21:32, 20 November 2023

Template:Infobox Table


Template-info.png Documentation

Usage

{{Shiren 6 Dungeon Infobox
  | name            = 
  | jpname          = 
  | romaji          = 
  | image           = 
  | img_size        = 
  | img description = 
  | caption         = 
  | description     = 
  | description jp  = 
  | data title      = 
  | entrance        = 
  | goal floor      = 
  | total floors    = 
  | items           = 
  | gitan           = 
  | rescues         = 
  | rescue attempts = 
  | allies          = 
  | shops           = 
  | monster houses  = 
  | vaults          = 
  | character       = 
  | spawn rate      = 
  | turns           = 
  | boss            = 
  | nav title       = 
  | prev            = 
  | next            = 
  | prev 2          = 
  | next 2          = 
  | prev 3          = 
  | next 3          = 
}}

Example

Template:Infobox Table