Template:Shiren 3 Wii Dungeon Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<div class="templateTheme infoboxLocation">
{{Infobox Table |
<div class="templatePrimary infoboxTitle">
  {{Infobox Header | {{{name|}}} | {{{kana|}}} | {{{romaji|}}} | {{{hepburn|}}} }}
<span class="infoboxEnTitle">
  {{Infobox Image | {{{image|}}} | {{{description|}}} | {{{size|}}} | {{{name|}}} }}
<span class="infoboxKaTitle">{{#if:{{{name|}}} | {{{name}}} | {{PAGENAME}} }}</span>
  {{#if: {{{entrance|}}} {{{total floors|}}} {{{items|}}} {{{gitan|}}} {{{inventory cap|}}} {{{level|}}} {{{allies|}}} {{{rescues|}}} {{{rescue attempts|}}} {{{id|}}} {{{visibility|}}} {{{shops|}}} {{{monster houses|}}} {{{spawn rate|}}} {{{turns|}}} {{{jizo|}}} {{{dragon orbs|}}} {{{boss|}}} |
<span class="infoboxHeTitle">{{#if:{{{kana|}}} | <br>{{#if:{{{romaji|}}} | {{Tt|{{{kana}}}|{{{romaji}}}}} | {{{kana}}} }} }}{{#if:{{{hepburn|}}}| <br>{{{hepburn}}} }}</span>
    {{Infobox Subtable | title = Information |
</span>
      {{#if: {{{entrance|}}} |
</div>
        {{Shiren 3 Wii Infobox Row | Entrance Location | {{{entrance}}} }}
<div class="infoboxImage">[[File:{{#if:{{{image|}}} | {{{image}}} | Wiki.png }}|alt={{#if:{{{description|}}} | {{{description}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]</div>
      }}{{#if: {{{total floors|}}} |
<div class="infoboxDescription infoboxContext templateSecondary">{{#if:{{{description|}}} | {{{description}}} | ''No description available.'' }}</div>
        {{Shiren 3 Wii Infobox Row | Total Floor Count | {{{total floors}}} }}
<div>
      }}{{#if: {{{items|}}} |
{{#if:{{{entrance|}}} {{{goal floor|}}} {{{total floors|}}} {{{backtracking|}}} {{{items|}}} {{{gitan|}}} {{{allies|}}} {{{rescues|}}} {{{rescue attempts|}}} {{{npcs|}}} {{{id|}}} {{{visibility|}}} {{{shops|}}} {{{monster houses|}}} {{{vaults|}}} {{{spawn rate|}}} {{{turns|}}} {{{boss|}}}|
        {{Shiren 3 Wii Infobox Row | Bring {{Shiren3Wii|Items}} In | {{{items}}} }}
<div class="infoboxContent mw-collapsible">
      }}{{#if: {{{gitan|}}} |
<div class="templatePrimary infoboxContext">Information</div>
        {{Shiren 3 Wii Infobox Row | Bring {{Shiren3Wii|Gitan}} In | {{{gitan}}} }}
<div class="mw-collapsible-content">
      }}{{#if: {{{inventory cap|}}} |
{{#if:{{{entrance|}}}|
        {{Shiren 3 Wii Infobox Row |Inventory Capacity | {{{inventory cap}}} }}
<div class="infoboxRow">
      }}{{#if: {{{level|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Entrance Location</span></div>
        {{Shiren 3 Wii Infobox Row | Levels On Entry | {{{level}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{entrance}}}</span></div>
      }}{{#if: {{{allies|}}} |
</div>
        {{Shiren 3 Wii Infobox Row | Bring {{Shiren3Wii|Allies}} In | {{{allies}}} }}
}}{{#if:{{{total floors|}}}|
      }}{{#if: {{{rescues|}}} |
<div class="infoboxRow">
        {{Shiren 3 Wii Infobox Row | # of {{Shiren3Wii|Rescues}} {{CountryFlag|JP}} | {{{rescues}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Total Floor Count</span></div>
      }}{{#if: {{{rescue attempts|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{total floors}}}</span></div>
        {{Shiren 3 Wii Infobox Row | # of Rescue Attempts {{CountryFlag|JP}} | {{{rescue attempts}}} }}
</div>
      }}{{#if: {{{id|}}} |
}}{{#if:{{{items|}}}|
        {{Shiren 3 Wii Infobox Row | Pre-ID'd Items | {{{id}}} }}
<div class="infoboxRow">
      }}{{#if: {{{visibility|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Bring {{Shiren3Wii|Items}} In</span></div>
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|Visibility}} | {{{visibility}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{items}}}</span></div>
      }}{{#if: {{{shops|}}} |
</div>
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|Shops}} | {{{shops}}} }}
}}{{#if:{{{gitan|}}}|
      }}{{#if: {{{monster houses|}}} |
<div class="infoboxRow">
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|Monster Houses}} | {{{monster houses}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Bring {{Shiren3Wii|Gitan}} In</span></div>
      }}{{#if: {{{spawn rate|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{gitan}}}</span></div>
        {{Shiren 3 Wii Infobox Row | Monster Spawn Rate | {{{spawn rate}}} }}
</div>
      }}{{#if: {{{turns|}}} |
}}{{#if:{{{inventory cap|}}}|
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|The Winds of Kron}} | {{{turns}}} }}
<div class="infoboxRow">
      }}{{#if: {{{jizo|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Inventory Capacity</span></div>
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|Jizo Statue}} | {{{jizo}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{inventory cap}}}</span></div>
      }}{{#if: {{{dragon orbs|}}} |
</div>
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|Dragon Orbs}} | {{{dragon orbs}}} }}
}}{{#if:{{{level|}}}|
      }}{{#if: {{{boss|}}} |
<div class="infoboxRow">
        {{Shiren 3 Wii Infobox Row | {{Shiren3Wii|Bosses and Special Enemies|Boss}} | {{{boss}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Levels On Entry</span></div>
      }}
<div class="templateSecondary infoboxBodyRow"><span>{{{level}}}</span></div>
    }}
</div>
  }}{{#if: {{{title|}}} {{{prev dungeon|}}} {{{next dungeon|}}} |
}}{{#if:{{{allies|}}}|
    {{Shiren 3 Wii Infobox Locations Nav | title = {{{title|}}} | {{{prev dungeon|}}} | {{{next dungeon|}}} }}
<div class="infoboxRow">
  }}
<div class="templatePrimary infoboxHeadRow"><span>Bring {{Shiren3Wii|Player Characters|Allies}} In</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{allies}}}</span></div>
</div>
}}{{#if:{{{rescues|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span># of {{Shiren3Wii|Rescues}} {{ReleaseDate|JP}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{rescues}}}</span></div>
</div>
}}{{#if:{{{rescue attempts|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span># of Rescue Attempts {{ReleaseDate|JP}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{rescue attempts}}}</span></div>
</div>
}}{{#if:{{{id|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Pre-ID'd Items</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{id}}}</span></div>
</div>
}}{{#if:{{{visibility|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|Visibility}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{visibility}}}</span></div>
</div>
}}{{#if:{{{shops|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|Shops}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{shops}}}</span></div>
</div>
}}{{#if:{{{monster houses|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|Monster Houses}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{monster houses}}}</span></div>
</div>
}}{{#if:{{{spawn rate|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Monster Spawn Rate</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{spawn rate}}}</span></div>
</div>
}}{{#if:{{{turns|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|The Winds of Kron}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{turns}}}</span></div>
</div>
}}{{#if:{{{jizo|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|Jizo Statue}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{jizo}}}</span></div>
</div>
}}{{#if:{{{dragon orbs|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|Dragon Orbs}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{dragon orbs}}}</span></div>
</div>
}}{{#if:{{{boss|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{Shiren3Wii|Bosses and Special Enemies|Boss}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{boss}}}</span></div>
</div>
}}
</div>
</div>
}}
</div>
</div>
{{#if:{{{title|}}} {{{prev dungeon|}}} {{{next dungeon|}}} {{{prev|}}} {{{next|}}}|
<div class="templateTheme infoboxLocation" style="margin-top: 0.5rem;">
<div class="infoboxContent">
{{#if:{{{title|}}}|
<div class="templatePrimary infoboxContext">'''''{{{title}}}'''''</div>
}}
<div style="{{#if:{{{prev dungeon|}}} {{{next dungeon|}}}|height: 300px;}} display: flex; flex-flow: column wrap; align-items: stretch; justify-content: space-between; text-align: center;">
{{#if:{{{prev dungeon|}}}|
{{#if:{{{next dungeon|}}}|
<div class="templatePrimary" style="flex: 0 0 100%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{prev}}}'''</div>
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 25%; word-break: break-word;">'''← Previous Dungeon'''</div>
<div class="templateSecondary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 25%; word-break: break-word;">'''<big>{{Shiren3Wii|{{{prev dungeon}}}}}</big>'''</div>
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 25%; word-break: break-word;">'''Next Dungeon →'''</div>
<div class="templateSecondary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 25%; word-break: break-word;">'''<big>{{Shiren3Wii|{{{next dungeon}}}}}</big>'''</div>
<div class="templatePrimary" style="flex: 0 0 100%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{next}}}'''</div>
|
<div class="templatePrimary" style="flex: 0 0 100%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{prev}}}'''</div>
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 75%; word-break: break-word;">'''← Previous Dungeon'''</div>
<div class="templateSecondary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 75%; word-break: break-word;">'''<big>{{Shiren3Wii|{{{prev dungeon}}}}}</big>'''</div>
}}
|
{{#if:{{{next dungeon|}}}|
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 75%; word-break: break-word;">'''Next Dungeon →'''</div>
<div class="templateSecondary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 75%; word-break: break-word;">'''<big>{{Shiren3Wii|{{{next dungeon}}}}}</big>'''</div>
<div class="templatePrimary" style="flex: 0 0 100%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{next}}}'''</div>
}}
}}
</div>
</div>
</div>
}}
}}
<!-- AUTOCATEGORIZATION -->
<!-- AUTOCATEGORIZATION -->
{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default =
{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default = [[Category:Shiren 3 Wii locations|{{PAGENAME}}]] }}
[[Category:Shiren 3 Wii Locations|{{PAGENAME}}]]
<!-- end AUTOCATEGORIZATION -->
}}
</onlyinclude>
<!-- end AUTOCATEGORIZATION --></onlyinclude><noinclude>
<noinclude>{{Clear}}{{Doc}}
{{clear}}{{Doc}}[[Category:Shiren 3 Wii Infobox Templates]]</noinclude>
[[Category:Shiren 3 Wii Infobox Templates]]
</noinclude>

Revision as of 11:16, 21 January 2024

Template:Infobox Table


Template-info.png Documentation

Usage

{{Shiren 3 Wii Dungeon Infobox
  | type           = 
  | name           =
  | jpname         = 
  | romaji         = 
  | image          = 
  | description    = 
  | entrance       = 
  | total floors   = 
  | items          = 
  | gitan          = 
  | inventory cap  = 
  | level          = 
  | allies         = 
  | rescues        = 
  | id             = 
  | visibility     = 
  | shops          = 
  | monster houses = 
  | spawn rate     = 
  | turns          = 
  | jizo           = 
  | dragon orbs    = 
  | boss           = 
  | title          = 
  | prev           = 
  | prev dungeon   = 
  | next           = 
  | next dungeon   = 
}}

Example

Template:Infobox Table