Template:Infobox dungeon room: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:
}}
}}
</noinclude><includeonly>{| class="infobox wikitable" | style="float:right;"
</noinclude><includeonly>{| class="infobox wikitable" | style="float:right;"
! colspan="2" | {{SUBPAGENAME}}
! colspan="2" | {{SUBPAGENAME}}{{#ifexpr: {{#invoke:String|find|{{PAGENAME}}|/Inverted}} > 0 | | [[{{PAGENAME}}/Inverted|^]] }}
|-
|-
! Zone
! Zone
! [[{{ROOTPAGENAME}}]]
! {{#ifeq:{{ROOTPAGENAME}}|Infobox dungeon room|Zone Name|[[{{ROOTPAGENAME}}]]}}
|-
|-
! Dungeon
! Dungeon
! [[{{#ifeq:{{{dungeon}}}||{{ROOTPAGENAME}}|{{{dungeon}}}}}]]
! {{#ifeq:{{ROOTPAGENAME}}|Infobox dungeon room|Dungeon Name|[[{{#ifeq:{{{dungeon}}}||{{ROOTPAGENAME}}|{{{dungeon}}}}}]]}}
|- {{#ifexpr: {{{supertile|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{supertile|0}}} > 0 | | style="display:none;" }}
! Supertile !! {{UnderworldMapLink|{{{supertile}}}}}
! Supertile !! {{UnderworldMapLink|{{{supertile}}}}}
Line 38: Line 38:
|- {{#ifexpr: {{{potkeys|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{potkeys|0}}} > 0 | | style="display:none;" }}
! Pot Keys !! {{{potkeys}}}
! Pot Keys !! {{{potkeys}}}
|}</includeonly>
|}{{#ifeq:{{ROOTPAGENAME}}|Infobox dungeon room||[[Category:{{#ifeq:{{{dungeon}}}||{{ROOTPAGENAME}}|{{{dungeon}}}}} Rooms]]}}</includeonly>

Latest revision as of 16:02, 5 April 2020

An infobox for a dungeon room.

Usage

{{Infobox dungeon room
| dungeon   = Dungeon Name 
| supertile = 1 
| tile      = 0 
| locations = 1 
| mobkeys   = 1 
| potkeys   = 1 
}}
Infobox dungeon room^
Zone Zone Name
Dungeon Dungeon Name
Supertile 1
Tile 0
Item Locations 1
Mob Keys 1
Pot Keys 1