Template:DungeonInfoBox: Difference between revisions

From Auranogi
m (Testing the Ore part of the code)
m (Edited Template design to fit with the other templates. Kept original code in comments.)
Line 1: Line 1:
{| class="wikitable" style="width: 250px; margin: 0 auto; float: right; text-align:center"   
{| class="wikitable" style="border:5px solid #1195db; background-color: #ffffff;" align="right" width="250px" max-width="250px"
|
{| class="wikitable" style="margin: 5px 3px 10px 3px; border:2px solid #ffffff; background-color: #ffffff;" width="250px" max-width="250px"
|-
| colspan="10" align="center" style="border-bottom:10px solid white;"| {{#if:[[File:{{{Image|}}}|{{{Image Size}}}]]| No Image File Uploaded.}}
|-
! colspan="11" style="color:white; background-color:#1195db; border-bottom:2px solid #1195db; border:2px solid white;"|Dungeon Information
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Drop Item
|colspan="10" style="border-bottom:2px solid #e1f5ff;| {{#if:{{{DropItem|}}}|'''{{{DropItem|}}}'''|''Any''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Floor Number
|colspan="10" style="border-bottom:2px solid #e1f5ff;| {{#if:{{{FloorNumber|}}}|{{{FloorNumber|}}}|''Unknown''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Visible Floors
|colspan="10" style="border-bottom:2px solid #e1f5ff;| {{#if:{{{VisibleFloors|}}}|{{{VisibleFloors|}}}|''Unknown''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Hallway Chests
|colspan="10" style="border-bottom:2px solid #e1f5ff;| {{#if:{{{HallwayChests|}}}|{{{HallwayChests|}}}|''Unknown''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Party Count
|colspan="10" style="border-bottom:2px solid #e1f5ff;| {{#if:{{{PartyCount|}}}|{{{PartyCount|}}}|''Unknown''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| [[mww:Fountains|Fountains]]
|colspan="10" style="border-bottom:2px solid #e1f5ff;| {{#if:{{{Fountains|}}}|{{{Fountains|}}}|''Unknown''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| [[mww:Tiro|Tiro]]
|colspan="10" style="border:2px solid white;"| {{#if:{{{Tiro|}}}|{{{Tiro|}}}|''Unknown''}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Herb Patches
| {{#switch: {{{HerbAppear|}}} |Yes|Y|yes|y= |No|N|no|n=No  |''Unknown''}}{{#switch:{{{BaseHerb|}}}|Yes|Y|yes|y=[[File:Base Herb.png|link=Base Herb|13px]]}}{{#switch:{{{BloodyHerb|}}}|Yes|Y|yes|y=[[File:Bloody Herb.png|link=Bloody Herb|13px]]}}{{#switch:{{{SunlightHerb|}}}|Yes|Y|yes|y=[[File:Sunlight Herb.png|link=Sunlight Herb|13px]]}}{{#switch:{{{ManaHerb|}}}|Yes|Y|yes|y=[[File:Mana Herb.png|link=Mana Herb|13px]]}}{{#switch:{{{WhiteHerb|}}}|Yes|Y|yes|y=[[File:White Herb.png|link=White Herb|13px]]}}{{#switch:{{{GoldHerb|}}}|Yes|Y|yes|y=[[File:Gold Herb.gif|link=Gold Herb|13px]]}}{{#switch:{{{AntidoteHerb|}}}|Yes|Y|yes|y=[[File:Antidote Herb.png|link=Antidote Herb|12px]]}}{{#switch:{{{PoisonHerb|}}}|Yes|Y|yes|y=[[File:Poison Herb.png|link=Poison Herb|10px]]}}{{#switch:{{{MandrakeHerb|}}}|Yes|Y|yes|y=[[File:Mandrake.png|link=Mandrake|13px]]}}
|-
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white;"| Ore Veins
|style="border:2px solid white;"| {{#switch: {{{OreAppear|}}} |Yes|Y|yes|y= |No|N|no|n=No  |''Unknown''}}{{#switch:{{{RegularOre|}}}|Yes|Y|yes|y=[[File:Iron Ore.png|link=Ores|18px|Regular Ore Veins]]}}{{#switch:{{{GoldORE|}}}|Yes|Y|yes|y=[[File:Gold Ore.png|link=Ores|18px|Gold Veins]]}}{{#switch:{{{MythrilOre|}}}|Yes|Y|yes|y=[[File:Mythril Ore.png|link=Ores|18px|Mythril Veins]]}}{{#switch:{{{SpiritOre|}}}|Yes|Y|yes|y=[[File:Ancient Spirit Fossil.png|link=Ores|18px|Spirit Fossil Veins]]}}
|}
|}
<!--ORIGINAL CODE-->
<!--{| class="wikitable" style="width: 250px; margin: 0 auto; float: right; text-align:center"   
|+ colspan="2" style="background:transparent; border-spacing: 1px; border: 1px solid darkgray;"|
|+ colspan="2" style="background:transparent; border-spacing: 1px; border: 1px solid darkgray;"|
|-
|-
Line 8: Line 45:
| Desc = {{PAGENAME}}.
| Desc = {{PAGENAME}}.
| UploadDesc = Upload a picture for {{ifempty|{{{Name|}}}|{{PAGENAME}}}}
| UploadDesc = Upload a picture for {{ifempty|{{{Name|}}}|{{PAGENAME}}}}
| Main      = y}}--><br> <span style="text-decoration-line:underline;">Dungeon Information</span>
| Main      = y}}<br> <span style="text-decoration-line:underline;">Dungeon Information</span>
|-
|-
! scope="row" | Drop Item
! scope="row" | Drop Item
Line 36: Line 73:
! scope="row" | Ore Veins
! scope="row" | Ore Veins
| {{#switch: {{{OreAppear|}}} |Yes|Y|yes|y= |No|N|no|n=No  |''Unknown''}}{{#switch:{{{RegularOre|}}}|Yes|Y|yes|y=[[File:Iron Ore.png|link=Ores|18px|Regular Ore Veins]]}}{{#switch:{{{GoldORE|}}}|Yes|Y|yes|y=[[File:Gold Ore.png|link=Ores|18px|Gold Veins]]}}{{#switch:{{{MythrilOre|}}}|Yes|Y|yes|y=[[File:Mythril Ore.png|link=Ores|18px|Mythril Veins]]}}{{#switch:{{{SpiritOre|}}}|Yes|Y|yes|y=[[File:Ancient Spirit Fossil.png|link=Ores|18px|Spirit Fossil Veins]]}}
| {{#switch: {{{OreAppear|}}} |Yes|Y|yes|y= |No|N|no|n=No  |''Unknown''}}{{#switch:{{{RegularOre|}}}|Yes|Y|yes|y=[[File:Iron Ore.png|link=Ores|18px|Regular Ore Veins]]}}{{#switch:{{{GoldORE|}}}|Yes|Y|yes|y=[[File:Gold Ore.png|link=Ores|18px|Gold Veins]]}}{{#switch:{{{MythrilOre|}}}|Yes|Y|yes|y=[[File:Mythril Ore.png|link=Ores|18px|Mythril Veins]]}}{{#switch:{{{SpiritOre|}}}|Yes|Y|yes|y=[[File:Ancient Spirit Fossil.png|link=Ores|18px|Spirit Fossil Veins]]}}
<!--
 
{{#if:{{{OtherGather|}}}
{{#if:{{{OtherGather|}}}
|! scope="row"{{!}} Other Gathering Nodes
|! scope="row"{{!}} Other Gathering Nodes
Line 44: Line 81:
   | #default =  {{#if:{{{OtherGather|}}}|{{{OtherGather|}}}|None}}
   | #default =  {{#if:{{{OtherGather|}}}|{{{OtherGather|}}}|None}}
}}
}}
}}-->  
}}
|}
|}-->
<noinclude>
<noinclude>
Edit the page to see the template text.
Edit the page to see the template text.

Revision as of 18:11, 30 December 2023

No Image File Uploaded.
Dungeon Information
Drop Item Any
Floor Number Unknown
Visible Floors Unknown
Hallway Chests Unknown
Party Count Unknown
Fountains Unknown
Tiro Unknown
Herb Patches Unknown
Ore Veins Unknown

Edit the page to see the template text.

[edit]Template Documentation
No Image File Uploaded.
Dungeon Information
Drop Item Any
Floor Number Unknown
Visible Floors Unknown
Hallway Chests Unknown
Party Count Unknown
Fountains Unknown
Tiro Unknown
Herb Patches Unknown
Ore Veins Unknown


Description

This is the "DungeonInfoBox" template.

How to Use

It should be called in the following format:

{{DungeonInfoBox
|Image        =

|DropItem     =

|FloorNumber  =
|VisibleFloors=
|TreasureRooms=
|HallwayChests=
|PartyCount   =

|Fountains    =
|Tiro         =

|HerbAppear   =
|BaseHerb     =
|BloodyHerb   =
|SunlightHerb =
|ManaHerb     =
|WhiteHerb    =
|GoldHerb     =
|AntidoteHerb =
|PoisonHerb   =
|MandrakeHerb =

|OreAppear    =
|RegularOre   =
|GoldORE      =
|MythrilOre   =
|SpiritOre    =

|OtherGather  =
}}

*Note: OtherGather information cannot be used currently.

Parameters

Parameter Usage Example
DropItem The pass used to enter the dungeon. 'Any' on default for normal dungeons. Refer to the Pass page for the list of passes to reference, but do note that the official wiki's pass list is not accurate to what is here on Auranogi. Ciar Beginner Pass
FloorNumber The number of floors the dungeon has. Numerical value (Between 1 and 5 usually)
VisibleFloors Number of floors whose minimap is already uncovered. Numerical value
TreasureRooms The dungeon has treasure chamber rooms that may appear in it. Yes/No
HallwayChests The dungeon has dead-end chests. Yes/No
PartyCount Number of people required to enter the dungeon. A value like 1, 1~4, 1~8, 3~4. 1~4
Fountains The dungeon has fountains that may appear in it. Yes/No
Tiro Tiro appears in the dungeon to sell his wares. Yes/No
HerbAppear Herb patches appear in the dungeon. Default Unknown. Can be given No/no/N/n to result in "No", be given Yes/yes/Y/y to show herbs noted as appearing. Yes/No
Herb Indicate whether a specific patch occurs in the dungeon. Leave blank if unknown or if it does not appear. Use only if HerbAppear is set to 'yes' Yes/No
OreAppear Ore veins appear in the dungeon. Default Unknown. Can be given No/no/N/n to result in "No", be given Yes/yes/Y/y to show ores noted as appearing. Yes/No
Ore Indicate whether a specific vein occurs in the dungeon. Leave blank if unknown or if it does not appear. Use only if OreAppear is set to 'yes' Yes/No