Template:Shiren 6 Infobox Locations Nav: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><tr>
<includeonly>!← Previous
<td style="background-color: rgba(0,0,0,0);">
!Next →
<table class="MDWiki infoboxTable" style="text-align: center;">
|-
{{#if: {{{title|}}}|
{{#if:{{{1|}}}|{{#if:{{{2|}}}|
  <tr>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{Shiren6|{{{1}}}}}</big>'''
  <th colspan="{{#if: {{{1|}}} {{{2|}}} | 4 | 2 }}">'''''{{{title}}}'''''</th>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{Shiren6|{{{2}}}}}</big>'''
  </tr>
|
}}{{#if: {{{1|}}} |
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{Shiren6|{{{1}}}}}</big>'''
  {{#if: {{{2|}}} |
{{!}}style="width: 50%; text-align: center;"{{!}}'''N/A'''
    <tr>
}}|{{#if:{{{2|}}}|
    <th rowspan="2" style="width: 15%;">[[File:Shiren 6 - {{{1}}} Location Icon.png|alt={{{1}}}'s location icon|frameless|72x72px]]</th>
{{!}}style="width: 50%; text-align: center;"{{!}}'''N/A'''
    <th style="width: 35%;">'''← Previous Dungeon'''</th>
{{!}}style="width: 35%; text-align: center;"{{!}}'''<big>{{Shiren6|{{{2}}}}}</big>'''
    <th style="width: 35%;">'''Next Dungeon →'''</th>
|}}}}
    <th rowspan="2" style="width: 15%;">[[File:Shiren 6 - {{{2}}} Location Icon.png|alt={{{2}}}'s location icon|frameless|72x72px]]</th>
|-
    </tr>
{{#if:{{{3|}}}|{{#if:{{{4|}}}|
    <tr>
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{3}}}}}</big>'''
    <td>'''<big>{{Shiren6|{{{1}}}}}</big>'''</td>
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{4}}}}}</big>'''
    <td>'''<big>{{Shiren6|{{{2}}}}}</big>'''</td>
|
    </tr>
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{3}}}}}</big>'''
    |
{{!}}style="text-align: center;"{{!}}'''N/A'''
    <tr>
}}|{{#if:{{{4|}}}|
    <th rowspan="2" style="width: 15%;">[[File:Shiren 6 - {{{1}}} Location Icon.png|alt={{{1}}}'s location icon|frameless|72x72px]]</th>
{{!}}style="text-align: center;"{{!}}'''N/A'''
    <th style="width: 85%;">'''← Previous Dungeon'''</th>
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{4}}}}}</big>'''
    </tr>
|}}}}
    <tr>
|-
    <td>'''<big>{{Shiren6|{{{1}}}}}</big>'''</td>
{{#if:{{{5|}}}|{{#if:{{{6|}}}|
    </tr>
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{5}}}}}</big>'''
  }}
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{6}}}}}</big>'''
  |
|
  {{#if: {{{2|}}} |
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{5}}}}}</big>'''
    <tr>
{{!}}style="text-align: center;"{{!}}'''N/A'''
    <th style="width: 85%;">'''Next Dungeon →'''</th>
}}|{{#if:{{{6|}}}|
    <th rowspan="2" style="width: 15%;">[[File:Shiren 6 - {{{2}}} Location Icon.png|alt={{{2}}}'s location icon|frameless|72x72px]]</th>
{{!}}style="text-align: center;"{{!}}'''N/A'''
    </tr>
{{!}}style="text-align: center;"{{!}}'''<big>{{Shiren6|{{{6}}}}}</big>'''
    <tr>
|}}}}</includeonly><noinclude>
    <td>'''<big>{{Shiren6|{{{2}}}}}</big>'''</td>
    </tr>
  }}
}}
</table>
</td>
</tr></includeonly><noinclude>
{{doc}}
{{doc}}
[[Category:Infobox Templates]]
[[Category:Shiren 6 Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:51, 11 November 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.

{{Shiren 6 Infobox Locations Nav | <prev> | <next> | title =  }}

Syntax guide