Template:DungeonInfoBox: Difference between revisions
NyxAeravir (talk | contribs) (Created page for DungeonInfoBox template. This is one of the templates used in newer wiki dungeon pages, though I have commented out some parts of the template that I do not have time to learn right now, as well as other parts that require even more templates to function. For now, this simplified template should work fine, though it will be missing herb information and a place to insert an image.) |
mNo edit summary |
||
(37 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="width: 250px; margin: 0 auto; float: right; text-align:center" | <includeonly> | ||
{| class="wikitable" style="float:right; margin-left: 45px; margin-right:21px; border:5px solid #1195db; background-color: #ffffff;" | |||
| | |||
{| class="wikitable" style="margin:auto; border:2px transparent; background-color: #ffffff;" width="250px" max-width="250px" | |||
|- | |||
| colspan="10" align="center" style="border:1px transparent; border-bottom:10px transparent;"| {{#if:{{{Image|}}}|{{{Image|}}}| No Image File Uploaded.}} | |||
|- | |||
! colspan="11" style="color:white; background-color:#1195db; border:2px solid #1195db; border-bottom:3px solid #1195db;"|Dungeon Information | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff; border-top:2px solid #1195db;"| Drop Item | |||
|colspan="10" style="border: 2px transparent; border-top:2px solid #1195db; border-bottom:2px solid #e1f5ff;"| {{#if:{{{DropItem|}}}|'''{{{DropItem|}}}'''|Any}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff; "| Floor Number | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{FloorNumber|}}}|{{{FloorNumber|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| Visible Floors | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{VisibleFloors|}}}|{{{VisibleFloors|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| Treasure Rooms | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{TreasureRooms|}}}|{{{TreasureRooms|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| Hallway Chests | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{HallwayChests|}}}|{{{HallwayChests|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| Party Count | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{PartyCount|}}}|{{{PartyCount|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| [[mww:Fountains|Fountains]] | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{Fountains|}}}|{{{Fountains|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| [[mww:Tiro|Tiro]] | |||
|colspan="10" style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#if:{{{Tiro|}}}|{{{Tiro|}}}|''Unknown''}} | |||
|- | |||
! scope="row" style="color:#1195db; background-color:#e1f5ff; border:2px solid white; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| [[Herbalism #Herbs|Herb Patches]] | |||
| style="border: 2px transparent; border-bottom:2px solid #e1f5ff;"| {{#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; border-left: 2px solid #e1f5ff; border-right: 2px solid #e1f5ff;"| Ore Veins | |||
|style="border:2px transparent;"| {{#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 49: | ||
| Desc = {{PAGENAME}}. | | Desc = {{PAGENAME}}. | ||
| UploadDesc = Upload a picture for {{ifempty|{{{Name|}}}|{{PAGENAME}}}} | | UploadDesc = Upload a picture for {{ifempty|{{{Name|}}}|{{PAGENAME}}}} | ||
| Main = y}} | | Main = y}}<br> <span style="text-decoration-line:underline;">Dungeon Information</span> | ||
|- | |- | ||
! scope="row" | Drop Item | ! scope="row" | Drop Item | ||
Line 30: | Line 71: | ||
! scope="row"| [[mww:Tiro|Tiro]] | ! scope="row"| [[mww:Tiro|Tiro]] | ||
|colspan="10"| {{#if:{{{Tiro|}}}|{{{Tiro|}}}|''Unknown''}} | |colspan="10"| {{#if:{{{Tiro|}}}|{{{Tiro|}}}|''Unknown''}} | ||
|- | |||
! scope="row" | Herb Patches | ! scope="row" | 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. | | {{#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" | 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 85: | ||
| #default = {{#if:{{{OtherGather|}}}|{{{OtherGather|}}}|None}} | | #default = {{#if:{{{OtherGather|}}}|{{{OtherGather|}}}|None}} | ||
}} | }} | ||
}}--> | }} | ||
|}--></includeonly> | |||
<noinclude> | <noinclude> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{Documentation}} | {{Documentation}} | ||
[[Category: | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:44, 7 May 2024
Edit the page to see the template text.
[edit]Template Documentation
|
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 |