Template:Rescue Team Infobox Locations Nav: 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:
<includeonly><tr>
<includeonly>!colspan="2"|← Previous dungeon
<td style="background-color: rgba(0,0,0,0); border: 0;">
!colspan="2"|Next dungeon →
<table class="wikitable infoboxTable">
|-
{{#if: {{{title|}}} |
{{#if:{{{1|}}}|{{#if:{{{2|}}}|
  <tr>
!style="width: 15%;"{{!}}{{RescueTeamSprite|{{{1}}} Location Icon}}
  <th colspan="{{#if: {{{1|}}} {{{2|}}} | 4 | 2 }}">'''''{{{title}}}'''''</th>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{RescueTeam|{{{1}}}}}</big>'''
  </tr>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{RescueTeam|{{{2}}}}}</big>'''
}}{{#if: {{{1|}}} |
!style="width: 15%;"{{!}}{{RescueTeamSprite|{{{2}}} Location Icon}}
  {{#if: {{{2|}}} |
|
    <tr>
!style="width: 15%;"{{!}}{{RescueTeamSprite|{{{1}}} Location Icon}}
    <th rowspan="2" style="width: 15%;">[[File:Rescue Team - {{{1}}} Location Icon.png|alt={{{1}}}'s location icon|frameless]]</th>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{RescueTeam|{{{1}}}}}</big>'''
    <th style="width: 35%;">'''← Previous Dungeon'''</th>
{{!}}colspan="2" style="width: 50%; text-align: center;"{{!}}'''N/A'''
    <th style="width: 35%;">'''Next Dungeon →'''</th>
}}|{{#if:{{{2|}}}|
    <th rowspan="2" style="width: 15%;">[[File:Rescue Team - {{{2}}} Location Icon.png|alt={{{2}}}'s location icon|frameless]]</th>
{{!}}colspan="2" style="width: 50%; text-align: center;"{{!}}'''N/A'''
    </tr>
!style="width: 15%;"{{!}}{{RescueTeamSprite|{{{2}}} Location Icon}}
    <tr>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{RescueTeam|{{{2}}}}}</big>'''
    <td style="text-align: center;">'''<big>{{RescueTeam|{{{1}}}}}</big>'''</td>
|}}}}</includeonly><noinclude>
    <td style="text-align: center;">'''<big>{{RescueTeam|{{{2}}}}}</big>'''</td>
    </tr>
    |
    <tr>
    <th rowspan="2" style="width: 15%;">[[File:Rescue Team - {{{1}}} Location Icon.png|alt={{{1}}}'s location icon|frameless]]</th>
    <th style="width: 85%;">'''← Previous Dungeon'''</th>
    </tr>
    <tr>
    <td style="text-align: center;">'''<big>{{RescueTeam|{{{1}}}}}</big>'''</td>
    </tr>
  }}
  |
  {{#if: {{{2|}}} |
    <tr>
    <th style="width: 85%;">'''Next Dungeon →'''</th>
    <th rowspan="2" style="width: 15%;">[[File:Rescue Team - {{{2}}} Location Icon.png|alt={{{2}}}'s location icon|frameless]]</th>
    </tr>
    <tr>
    <td style="text-align: center;">'''<big>{{RescueTeam|{{{2}}}}}</big>'''</td>
    </tr>
  }}
}}
</table>
</td>
</tr></includeonly><noinclude>
{{doc}}
{{doc}}
[[Category:Rescue Team Infobox Templates]]
[[Category:Rescue Team Infobox Templates]]
</noinclude>
</noinclude>

Revision as of 19:05, 30 July 2024


Template-info.png Documentation

Usage

This template adds a table to navigate between the previous and next dungeon in its infobox. The basis is formatted as such.

{{Rescue Team Infobox Locations Nav | title = | <prev> | <next> }}