Template:Gates to Infinity 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="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|}}} {{{lead to|}}} {{{environment|}}} {{{goal floor|}}} {{{total floors|}}} {{{stairs|}}} {{{items|}}} {{{members|}}} {{{level|}}} {{{restart|}}} {{{rescues|}}} {{{rest stops|}}} {{{gridless floors|}}} {{{detour|}}} {{{mysteriosity|}}} {{{weather|}}} {{{visibility|}}} {{{story|}}} {{{hunger|}}} {{{recruit|}}} {{{evolve|}}} {{{shops|}}} {{{monster houses|}}} {{{spawn rate|}}} {{{turns|}}} {{{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>
        {{Gates to Infinity Infobox Row | Entrance Location | {{{entrance}}} }}
<div class="infoboxImage">[[File:{{#if:{{{image|}}} | {{{image}}} | Media needed icon large Pokémon.png }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]</div>
      }}{{#if: {{{lead to|}}} |
{{#if:{{{description|}}}|
        {{Gates to Infinity Infobox Row | Can lead to | {{{lead to}}} }}
<div class="infoboxDescription">{{Gates to Infinity Dialogue|{{{description|''No description available.''}}}}}</div>
      }}{{#if: {{{environment|}}} |
}}
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Environment}} | {{{environment}}} }}
<div>
      }}{{#if: {{{goal floor|}}} |
{{#if:{{{entrance|}}} {{{lead to|}}} {{{environment|}}} {{{goal floor|}}} {{{total floors|}}} {{{stairs|}}} {{{items|}}} {{{members|}}} {{{level|}}} {{{restart|}}} {{{rescues|}}} {{{rest stops|}}} {{{gridless floors|}}} {{{detour|}}} {{{mysteriosity|}}} {{{weather|}}} {{{visibility|}}} {{{story|}}} {{{hunger|}}} {{{recruit|}}} {{{evolve|}}} {{{shops|}}} {{{monster houses|}}} {{{spawn rate|}}} {{{turns|}}} {{{boss|}}}|
        {{Gates to Infinity Infobox Row | Final goal floor | {{{goal floor}}} }}
<div class="infoboxContent mw-collapsible">
      }}{{#if: {{{total floors|}}} |
<div class="templatePrimary infoboxContext">Information</div>
        {{Gates to Infinity Infobox Row | Total floor count | {{{total floors}}} }}
<div class="mw-collapsible-content">
      }}{{#if: {{{stairs|}}} |
{{#if:{{{entrance|}}}|
        {{Gates to Infinity Infobox Row | Stairs direction | {{{stairs}}} }}
<div class="infoboxRow">
      }}{{#if: {{{items|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Entrance location</span></div>
        {{Gates to Infinity Infobox Row | Bring {{GatesToInfinity|Items}} and {{GatesToInfinity|Poké}} in | {{{items}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{entrance}}}</span></div>
      }}{{#if: {{{members|}}} |
</div>
        {{Gates to Infinity Infobox Row | Max party members | {{{members}}} }}
}}{{#if:{{{lead to|}}}|
      }}{{#if: {{{level|}}} |
<div class="infoboxRow">
        {{Gates to Infinity Infobox Row | Starting {{GatesToInfinity|Level}} | {{{level}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Can lead to</span></div>
      }}{{#if: {{{restart|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{lead to}}}</span></div>
        {{Gates to Infinity Infobox Row | Restart after fainting | {{{restart}}} }}
</div>
      }}{{#if: {{{rescues|}}} |
}}{{#if:{{{environment|}}}|
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Rescues}} | {{{rescues}}} }}
<div class="infoboxRow">
      }}{{#if: {{{rest stops|}}} |
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|Environment}}</span></div>
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Rest Stops}} | {{{rest stops}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{environment}}}</span></div>
      }}{{#if: {{{gridless floors|}}} |
</div>
        {{Gates to Infinity Infobox Row | Gridless floors | {{{gridless floors}}} }}
}}{{#if:{{{goal floor|}}}|
      }}{{#if: {{{detour|}}} |
<div class="infoboxRow">
        {{Gates to Infinity Infobox Row | Detours | {{{detour}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Final goal floor</span></div>
      }}{{#if: {{{mysteriosity|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{goal floor}}}</span></div>
        {{Gates to Infinity Infobox Row | Mysteriosity | {{{mysteriosity}}} }}
</div>
      }}{{#if: {{{weather|}}} |
}}{{#if:{{{total floors|}}}|
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Weather}} | {{{weather}}} }}
<div class="infoboxRow">
      }}{{#if: {{{visibility|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Total floor count</span></div>
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Visibility}} | {{{visibility}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{total floors}}}</span></div>
      }}{{#if: {{{story|}}} |
</div>
        {{Gates to Infinity Infobox Row | Accessible during the story | {{{story}}} }}
}}{{#if:{{{stairs|}}}|
      }}{{#if: {{{hunger|}}} |
<div class="infoboxRow">
        {{Gates to Infinity Infobox Row | Hunger | {{{hunger}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Stairs direction</span></div>
      }}{{#if: {{{recruit|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{stairs}}}</span></div>
        {{Gates to Infinity Infobox Row | Enemy Pokémon can be recruited | {{{recruit}}} }}
</div>
      }}{{#if: {{{evolve|}}} |
}}{{#if:{{{items|}}}|
        {{Gates to Infinity Infobox Row | Enemy Pokémon can evolve | {{{evolve}}} }}
<div class="infoboxRow">
      }}{{#if: {{{shops|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Bring {{GatesToInfinity|Items}} and {{GatesToInfinity|Poké}} in</span></div>
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Kecleon Shops (dungeons)|Kecleon Shops}} | {{{shops}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{items}}}</span></div>
      }}{{#if: {{{monster houses|}}} |
</div>
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Monster Houses}} | {{{monster houses}}} }}
}}{{#if:{{{members|}}}|
      }}{{#if: {{{spawn rate|}}} |
<div class="infoboxRow">
        {{Gates to Infinity Infobox Row | Monster Spawn Rate | {{{spawn rate}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Max party members</span></div>
      }}{{#if: {{{turns|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{members}}}</span></div>
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Gusts of Wind}} | {{{turns}}} }}
</div>
      }}{{#if: {{{boss|}}} |
}}{{#if:{{{level|}}}|
        {{Gates to Infinity Infobox Row | {{GatesToInfinity|Special Enemies|Boss}} | {{{boss}}} }}
<div class="infoboxRow">
      }}
<div class="templatePrimary infoboxHeadRow"><span>Starting level</span></div>
    }}
<div class="templateSecondary infoboxBodyRow"><span>{{{level}}}</span></div>
  }}{{#if: {{{title|}}} {{{prev dungeon|}}} {{{next dungeon|}}} |
</div>
    {{Gates to Infinity Infobox Locations Nav | title = {{{title|}}} | {{{prev dungeon|}}} | {{{next dungeon|}}} }}
}}{{#if:{{{restart|}}}|
  }}
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Restart after fainting</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{restart}}}</span></div>
</div>
}}{{#if:{{{rescues|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|Rescues}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{rescues}}}</span></div>
</div>
}}{{#if:{{{rest stops|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|Rest Stops}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{rest stops}}}</span></div>
</div>
}}{{#if:{{{gridless floors|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Gridless floors</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{gridless floors}}}</span></div>
</div>
}}{{#if:{{{detour|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Detours</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{detour}}}</span></div>
</div>
}}{{#if:{{{mysteriosity|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Mysteriosity</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{mysteriosity}}}</span></div>
</div>
}}{{#if:{{{weather|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|Weather}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{weather}}}</span></div>
</div>
}}{{#if:{{{visibility|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|Visibility}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{visibility}}}</span></div>
</div>
}}{{#if:{{{story|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Accessible during the story</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{story}}}</span></div>
</div>
}}{{#if:{{{hunger|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Hunger</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{hunger}}}</span></div>
</div>
}}{{#if:{{{recruit|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Enemy Pokémon can be recruited</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{recruit}}}</span></div>
</div>
}}{{#if:{{{evolve|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Enemy Pokémon can evolve</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{evolve}}}</span></div>
</div>
}}{{#if:{{{shops|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|Kecleon Shops (dungeons)|Kecleon Shops}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{shops}}}</span></div>
</div>
}}{{#if:{{{monster houses|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|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>{{GatesToInfinity|Gusts of Wind}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{turns}}}</span></div>
</div>
}}{{#if:{{{boss|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{GatesToInfinity|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 class="infoboxRow" style="text-align: center;">
{{#if:{{{prev dungeon|}}}|
{{#if:{{{next dungeon|}}}|
<div class="templatePrimary" style="width: 15.5%; margin: 1px;">'''''#{{{prev|}}}'''''</div>
<div class="templatePrimary" style="width: 34.5%; margin: 1px;">'''← Previous Dungeon'''</div>
<div class="templatePrimary" style="width: 34.5%; margin: 1px;">'''Next Dungeon →'''</div>
<div class="templatePrimary" style="width: 15.5%; margin: 1px;">'''''#{{{next|}}}'''</div>
|
<div class="templatePrimary" style="width: 15.5%; margin: 1px;">'''''#{{{prev|}}}'''</div>
<div class="templatePrimary" style="width: 84.5%; margin: 1px;">'''← Previous Dungeon'''</div>
}}
|
{{#if:{{{next dungeon|}}}|
<div class="templatePrimary" style="width: 84.5%; margin: 1px;">'''Next Dungeon →'''</div>
<div class="templatePrimary" style="width: 15.5%; margin: 1px;">'''''#{{{next|}}}'''</div>
}}
}}
</div>
<div class="infoboxRow" style="text-align: center;">
{{#if:{{{prev dungeon|}}}|
{{#if:{{{next dungeon|}}}|
<div style="margin: 1px;">[[File:Gates to Infinity - {{{prev dungeon}}} Location Icon.png]]</div>
<div class="templateSecondary" style="width: 50%; display: flex; justify-content: center; align-items: center; margin: 1px;">'''<big>{{GatesToInfinity|{{{prev dungeon}}}}}</big>'''</div>
<div class="templateSecondary" style="width: 50%; display: flex; justify-content: center; align-items: center; margin: 1px;">'''<big>{{GatesToInfinity|{{{next dungeon}}}}}</big>'''</div>
<div style="margin: 1px;">[[File:Gates to Infinity - {{{next dungeon}}} Location Icon.png]]</div>
|
<div style="margin: 1px;">[[File:Gates to Infinity - {{{prev dungeon}}} Location Icon.png]]</div>
<div class="templateSecondary" style="width: 100%; display: flex; justify-content: center; align-items: center; margin: 1px;">'''<big>{{GatesToInfinity|{{{prev dungeon}}}}}</big>'''</div>
}}
|
{{#if:{{{next dungeon|}}}|
<div class="templateSecondary" style="width: 100%; display: flex; justify-content: center; align-items: center; margin: 1px;">'''<big>{{GatesToInfinity|{{{next dungeon}}}}}</big>'''</div>
<div style="margin: 1px;">[[File:Gates to Infinity - {{{next dungeon}}} Location Icon.png]]</div>
}}
}}
</div>
</div>
</div>
}}
}}
<!-- AUTOCATEGORIZATION -->
<!-- AUTOCATEGORIZATION -->
{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default = [[Category:Gates to Infinity locations|{{PAGENAME}}]] }}
{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default = [[Category:Gates to Infinity locations|{{PAGENAME}}]] }}
<!-- end AUTOCATEGORIZATION --></onlyinclude><noinclude>{{Clear}}{{Doc}}[[Category:Gates to Infinity Infobox Templates]]</noinclude>
<!-- end AUTOCATEGORIZATION -->
</onlyinclude>
<noinclude>{{Clear}}{{Doc}}
[[Category:Gates to Infinity Infobox Templates]]
</noinclude>

Revision as of 12:56, 3 February 2024

Template:Infobox Table


Template-info.png Documentation

Usage

{{Gates to Infinity Dungeon Infobox
  | name            = 
  | jpname          = 
  | romaji          = 
  | image           = 
  | description     = 
  | entrance        = 
  | lead to         = 
  | environment     = 
  | goal floor      = 
  | total floors    = 
  | stairs          = 
  | items           = 
  | members         = 
  | level           = 
  | restart         = 
  | rescues         = 
  | rest stops      = 
  | gridless floors = 
  | detour          = 
  | mysteriosity    = 
  | visibility      = 
  | weather         = 
  | story           = 
  | hunger          = 
  | recruit         = 
  | evolve          = 
  | shops           = 
  | monster houses  = 
  | spawn rate      = 
  | turns           = 
  | boss            = 
  | title           = 
  | prev            = 
  | prev dungeon    = 
  | next            = 
  | next dungeon    = 
}}

Example

Template:Infobox Table