Template:Infobox dungeon: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
</noinclude><includeonly>{| class="infobox wikitable" style="float:right;"
</noinclude><includeonly>{| class="infobox wikitable" style="float:right;"
|-
|-
! colspan="2" | {{ROOTPAGENAME}}
! colspan="2" | {{#replace:{{PAGENAME}}|/|<br />}}{{#ifexpr: {{#invoke:String|find|{{PAGENAME}}|/Inverted}} > 0 | | [[{{PAGENAME}}/Inverted|^]] }}{{#ifexpr: {{#invoke:String|find|{{PAGENAME}}|/Inverted}} > 0 | [[{{#replace:{{PAGENAME}}|/Inverted|}}|*]] | }}
|- {{#if: {{{image|}}} | | style="display:none;" }}
|- {{#if: {{{image|}}} | | style="display:none;" }}
! colspan="2" | [[Image:{{{image}}}]]
! colspan="2" | [[Image:{{{image}}}]]

Revision as of 04:46, 17 September 2018

An infobox for a dungeon profile in the Main namespace.

Usage

{{Infobox dungeon
| world     = Light/Dark
| image     = Uploaded Location Image
| subzone   = Subzone/Region Name
| abbr      = Dungeon Abbreviation
| boss      = Boss Name
| bigkey    = 1
| compass   = 1
| map       = 1
| locations = 0 
| chestkeys = 0 
| mobkeys   = 0 
| potkeys   = 0 
}}
Infobox dungeon example.png