Template:Explorers of Sky Dungeon Infobox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Text replacement - "border-radius: 0 0 0 1rem; " to "")
Tags: Mobile edit Mobile web edit
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|}}} {{{goal floor|}}} {{{total floors|}}} {{{level|}}} {{{items|}}} {{{Poké|}}} {{{partners|}}} {{{rescues|}}} {{{rescue attempts|}}} {{{rest stops|}}} {{{weather|}}} {{{visibility|}}} {{{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>
        {{Explorers of Sky Infobox Row | Entrance Location | {{{entrance}}} }}
<div class="infoboxImage">{{#if:{{{image|}}}|{{#if:{{{image2|}}}|{{#tag:tabber|
      }}{{#if: {{{goal floor|}}} |
{{!}}-{{!}}
        {{Explorers of Sky Infobox Row | Final Goal Floor | {{{goal floor}}} }}
{{{imageTitle|}}}=
      }}{{#if: {{{total floors|}}} |
[[File:{{{image|}}}|alt={{#if:{{{description|}}} | {{{description}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]
        {{Explorers of Sky Infobox Row | Total Floor Count | {{{total floors}}} }}
{{!}}-{{!}}
      }}{{#if: {{{level|}}} |
{{{image2Title|}}}=
        {{Explorers of Sky Infobox Row | Initial {{ExplorersOfSky|Level}} | {{{level}}} }}
[[File:{{{image2|}}}|alt={{#if:{{{description|}}} | {{{description}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]
      }}{{#if: {{{items|}}} |
{{#if:{{{image3|}}}|
        {{Explorers of Sky Infobox Row | Bring {{ExplorersOfSky|Items}} In | {{{items}}} }}
{{!}}-{{!}}
      }}{{#if: {{{Poké|}}} |
{{{image3Title|}}}=
        {{Explorers of Sky Infobox Row | Bring {{ExplorersOfSky|Poké}} In | {{{Poké}}} }}
[[File:{{{image3|}}}|alt={{#if:{{{description|}}} | {{{description}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]
      }}{{#if: {{{partners|}}} |
}}}}
        {{Explorers of Sky Infobox Row | Bring {{ExplorersOfSky|Partners}} In | {{{partners}}} }}
|[[File:{{{image|}}}|alt={{#if:{{{description|}}} | {{{description}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]
      }}{{#if: {{{rescues|}}} |
}}|[[File:Wiki.png|alt={{#if:{{{description|}}} | {{{description}}} | No description available }}|{{#if:{{{size|}}} | {{{size}}} | 250x250px }}|frameless]]
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Rescues}} | {{{rescues}}} }}
}}
      }}{{#if: {{{rescue attempts|}}} |
</div>
        {{Explorers of Sky Infobox Row | # of Rescue Attempts | {{{rescue attempts}}} }}
<div class="templateSecondary infoboxContext infoboxDescription">{{#if:{{{description|}}} | {{{description}}} | ''No description available.'' }}</div>
      }}{{#if: {{{rest stops|}}} |
<div>
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Kangaskhan Rest Stops}} | {{{rest stops}}} }}
{{#if:{{{entrance|}}} {{{goal floors|}}} {{{total floors|}}} {{{items|}}} {{{poké|}}} {{{partners|}}} {{{rescues|}}} {{{rescue attempts|}}} {{{rest stops|}}} {{{weather|}}} {{{visibility|}}} {{{shops|}}} {{{monster houses|}}} {{{spawn rate|}}} {{{turns|}}} {{{boss|}}}|
      }}{{#if: {{{weather|}}} |
<div class="infoboxContent mw-collapsible">
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Weather}} | {{{weather}}} }}
<div class="templatePrimary infoboxContext">Information</div>
      }}{{#if: {{{visibility|}}} |
<div class="mw-collapsible-content">
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Visibility}} | {{{visibility}}} }}
{{#if:{{{entrance|}}}|
      }}{{#if: {{{shops|}}} |
<div class="infoboxRow">
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Kecleon Shops}} | {{{shops}}} }}
<div class="templatePrimary infoboxHeadRow"><span>Entrance Location</span></div>
      }}{{#if: {{{monster houses|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{entrance}}}</span></div>
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Monster Houses}} | {{{monster houses}}} }}
</div>
      }}{{#if: {{{spawn rate|}}} |
}}{{#if:{{{goal floors|}}}|
        {{Explorers of Sky Infobox Row | Monster Spawn Rate | {{{spawn rate}}} }}
<div class="infoboxRow">
      }}{{#if: {{{turns|}}} |
<div class="templatePrimary infoboxHeadRow"><span>Final Goal Floor</span></div>
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Unseen Force}} | {{{turns}}} }}
<div class="templateSecondary infoboxBodyRow"><span>{{{goal floors}}}</span></div>
      }}{{#if: {{{boss|}}} |
</div>
        {{Explorers of Sky Infobox Row | {{ExplorersOfSky|Special Enemies|Boss}} | {{{boss}}} }}
}}{{#if:{{{total floors|}}}|
      }}
<div class="infoboxRow">
    }}
<div class="templatePrimary infoboxHeadRow"><span>Total Floor Count</span></div>
  }}{{#if: {{{title|}}} {{{prev dungeon|}}} {{{next dungeon|}}} |
<div class="templateSecondary infoboxBodyRow"><span>{{{total floors}}}</span></div>
    {{Explorers of Sky Infobox Locations Nav | title = {{{title|}}} | {{{prev dungeon|}}} | {{{next dungeon|}}} }}
</div>
  }}
}}{{#if:{{{items|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Bring {{ExplorersOfSky|Items}} In</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{items}}}</span></div>
</div>
}}{{#if:{{{poké|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Bring {{ExplorersOfSky|Poké}} In</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{poké}}}</span></div>
</div>
}}{{#if:{{{partners|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Bring Partners In</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{partners}}}</span></div>
</div>
}}{{#if:{{{rescues|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|Rescues}}</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</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{rescue attempts}}}</span></div>
</div>
}}{{#if:{{{rest stops|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|Kangaskhan Rest Stops}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{rest stops}}}</span></div>
</div>
}}{{#if:{{{weather|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|Weather}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{weather}}}</span></div>
</div>
}}{{#if:{{{visibility|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|Visibility}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{visibility}}}</span></div>
</div>
}}{{#if:{{{shops|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|Kecleon Shop (dungeon)|Kecleon Shops}}</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{shops}}}</span></div>
</div>
}}{{#if:{{{monster houses|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|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>Pokémon Spawn Rate</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{spawn rate}}}</span></div>
</div>
}}{{#if:{{{turns|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>Fog</span></div>
<div class="templateSecondary infoboxBodyRow"><span>{{{turns}}}</span></div>
</div>
}}{{#if:{{{boss|}}}|
<div class="infoboxRow">
<div class="templatePrimary infoboxHeadRow"><span>{{ExplorersOfSky|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 15%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{prev}}}'''</div>
<div class="templatePrimary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 25%;">[[File:Explorers of Sky - {{{prev dungeon}}} Location Icon.png|alt={{{prev dungeon}}}'s location icon|frameless]]</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>{{ExplorersOfSky|{{{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>{{ExplorersOfSky|{{{next dungeon}}}}}</big>'''</div>
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{next}}}'''</div>
<div class="templatePrimary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 25%;">[[File:Explorers of Sky - {{{next dungeon}}} Location Icon.png|alt={{{prev dungeon}}}'s location icon|frameless]]</div>
|
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{prev}}}'''</div>
<div class="templatePrimary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 25%;">[[File:Explorers of Sky - {{{prev dungeon}}} Location Icon.png|alt={{{prev dungeon}}}'s location icon|frameless]]</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>{{ExplorersOfSky|{{{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>{{ExplorersOfSky|{{{next dungeon}}}}}</big>'''</div>
<div class="templatePrimary" style="flex: 0 0 15%; display: flex; align-items: center; justify-content: center; width: 25%;">'''#{{{next}}}'''</div>
<div class="templatePrimary" style="flex: 0 0 85%; display: flex; align-items: center; justify-content: center; width: 25%;">[[File:Explorers of Sky - {{{next dungeon}}} Location Icon.png|alt={{{prev dungeon}}}'s location icon|frameless]]</div>
}}
}}
</div>
</div>
</div>
}}
}}
<!-- AUTOCATEGORIZATION -->
<!-- AUTOCATEGORIZATION -->
{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default = [[Category:Explorers of Sky locations|{{PAGENAME}}]] }}
{{ #switch: {{NAMESPACE}} | {{ns:2}} | {{ns:10}} | {{TALKSPACE}} = <!-- no category for user, template or talk pages --> | #default = [[Category:Explorers of Sky locations|{{PAGENAME}}]] }}
<!-- end AUTOCATEGORIZATION --></onlyinclude><noinclude>{{Clear}}{{Doc}}[[Category:Explorers of Sky Infobox Templates]]</noinclude>
<!-- end AUTOCATEGORIZATION -->
</onlyinclude>
<noinclude>{{Clear}}{{Doc}}
[[Category:Explorers of Sky Infobox Templates]]
</noinclude>

Revision as of 20:59, 17 January 2024

Template:Infobox Table


Template-info.png Documentation

Usage

{{Explorers of Sky Dungeon Infobox
  | name           = 
  | jpname           = 
  | romaji           = 
  | hepburn          = 
  | image            = 
  | imageTitle       = 
  | image2           = 
  | image2Title      = 
  | image3           = 
  | image3Title      = 
  | description      = 
  | description_ja   = 
  | entrance         = 
  | goal floor       = 
  | total floors     = 
  | level            = 
  | items            = 
  | poké             = 
  | partners         = 
  | recruiting       = 
  | stairs direction = 
  | reveal traps     = 
  | iq enabled       = 
  | exp enabled      = 
  | box drops        = 
  | rescues          = 
  | rescue attempts  = 
  | rest stops       = 
  | visibility       = 
  | weather          = 
  | shops            = 
  | monster houses   = 
  | spawn rate       = 
  | turns            = 
  | boss             = 
}}

Example

Template:Infobox Table