Template:Zone/Infobox: Difference between revisions

From HorizonXI Wiki
(testing improvements on zone infobox)
 
m (pagename as fallback if zone not given for weather icons)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates|{{PAGENAMEE}}]]</noinclude><includeonly><onlyinclude>
<noinclude>[[Category:Templates|{{PAGENAMEE}}]]</noinclude><includeonly><onlyinclude>
<!-- outer flex container for the entire Zone Infobox -->
<!-- outer flex container for the entire Zone Infobox -->
<div style="display: flex; flex-wrap: wrap; justify-content: start; width: 100%; gap: 8px;">
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;">
<!-- Left part with description, TOC, map and connections-->
<!-- Left part with description, TOC, map and connections-->
<div style="flex-grow: 7; background-color: #eddce7; padding: 8px;">
<div style="flex-grow: 9; flex-basis: 300px; background-color: #eddce7; padding: 8px;">
<!-- inner flex container for the left side to arrange description, TOC, map and connections -->
<!-- inner flex container for the left side to arrange description, TOC, map and connections -->
<div style="display: flex; flex-wrap: wrap; justify-content: start; width: 100%; gap: 8px;">
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;">
<!-- first row: description: full width -->
<!-- first row: description: full width -->
<div style="flex-grow: 0; flex-basis: 100%;">
<div style="flex-grow: 1; flex-basis: 100%;">
<div style="background-color:#bc73a1; font-size:120%; font-weight:bold;border:1px solid #bc73a1;text-align:left;color:#000;padding:0.2em 0.4em;">Description</div>
<div class="zone-section-header zone-infobox-header">Description</div>
<div style="background-color: #eddce7; padding:0.2em 0.4em;">{{{Description}}}</div>
<div class="zone-section-body zone-infobox-body">{{{Description}}}</div>
</div>
</div>
<!-- close first row: description-->
<!-- close first row: description-->
<!-- second row col 1: TOC and connections: half width-->
<!-- second row col 1: TOC and connections: half width-->
<div style="flex-grow: 1; style="background-color: #eddce7">
<div style="flex-grow: 99; flex-basis: 200px; style="background-color: #eddce7">


<div style="background-color:#bc73a1; padding:0.2em 0.4em;"><span style="font-size:120%; font-weight:bold; text-align:left; color:#000;">Table of Contents</span></div>
<div class="zone-section-header zone-infobox-header">Table of Contents</div>
<div style="background-color: #eddce7; padding:0.2em 0.4em; margin-bottom: 8px;">{{{ToC}}}</div>
<div class="zone-section-body zone-infobox-body horizontal-list">
{{{ToC}}}</div>


<div style="background-color:#bc73a1; padding:0.2em 0.4em;"><span style="font-size:120%; font-weight:bold; text-align:left; color:#000;">Connections</span></div>
<div class="zone-section-header zone-infobox-header">Connections</div>
<div style="background-color: #eddce7; padding:0.2em 0.4em;">{{{Connections}}}</div>
<div class="zone-section-body zone-infobox-body suppress-p-margin plain-list">
{{{Connections}}}</div>


</div>
</div>
<!-- close second row col 1: TOC and connections -->
<!-- close second row col 1: TOC and connections -->
<!-- second row col 2: Map-->
<!-- second row col 2: Map-->
<div style="flex-grow: 1; margin: 0; background-color: #eddce7">
<div style="flex-grow: 1; flex-basis: 330px; background-color: #eddce7">


<div style="background-color:#bc73a1; padding:0.2em 0.4em;"><span style="font-size:120%; font-weight:bold; text-align:left; color:#000;">Interactive Map</span></div>
<div class="zone-section-header zone-infobox-header">Interactive Map</div>
<div style="background-color: #eddce7; padding:0.2em 0.4em;"><center>
<div class="zone-section-body zone-infobox-body"><center>
{{{interactive map}}}
{{{interactive map}}}
</center></div>
</center></div>
Line 36: Line 38:
<!-- close inner flex container and left part: description, TOC, map, connections-->
<!-- close inner flex container and left part: description, TOC, map, connections-->
<!-- Start of right part: zone information -->
<!-- Start of right part: zone information -->
<div style="flex-grow: 1; flex-basis: 300px; margin: 0; background-color: #eddce7; padding: 8px;">
<div style="flex-grow: 1; flex-basis: 300px; background-color: #eddce7; padding: 8px;">
<div style="background-color:#bc73a1; padding:0.2em 0.4em; margin-left: 3px;"><span style="font-size:120%; font-weight:bold; text-align:left; color:#000;">Zone Information</span></div>


{| style="align: right; width: {{{infoboxwidth|25}}}em; font-size: 90%; text-align: left; border: 1px solid #eddce7;" cellpadding="7"  
{| style="width: 100%; font-size: 0.9rem; text-align: left; border: 1px solid #eddce7;" cellpadding="7" class="zone-infobox-table"
! colspan=2 style="font-size: 1.2rem; | Zone Information
|-
|-
! style="background-color: #bc73a1;" | '''Area Name'''
! style="width: 150px;" | Area Name
| {{{Zone|{{PAGENAME}}}}}
| {{{Zone|{{PAGENAME}}}}}
|-
|-
! style="background-color: #bc73a1;" | '''Type'''
! Type
| {{{Type}}}
| {{{Type}}}
|-
|-
! style="background-color: #bc73a1;" | '''Maps'''
! Maps
| valign="top" | {{{Maps|{{:{{PAGENAME}}}/Maps}}}}}
| valign="top" | {{{Maps|{{:{{{Zone|{{PAGENAME}}}}}}/Maps}}}}}
|-
|-
! style="background-color: #bc73a1;"| '''Map Acquisition'''
! Map Acquisition
| {{{Map Acquisition}}}
| {{{Map Acquisition}}}
|-
|-
! style="background-color: #bc73a1;" | '''Miscellaneous'''
! Miscellaneous
| {{{Stats}}}
| {{{Stats}}}
|-
|-
! style="background-color: #bc73a1;" | '''Hobbies'''
! Hobbies
|  
| <div style="width: min-content;" class="suppress-p-margin">{{{HELM|{{:{{{Zone|{{PAGENAME}}}}}/HELM}}}}}</div>
{| border="0" width="1%"
|align="left"|{{{HELM|{{:{{PAGENAME}}/HELM}}}}}
|}
|-
|-
! style="background-color: #bc73a1;" | '''Weather'''
! Weather <!-- preferrably from section transclusion from the /Weather page. retail often has /Weather Icons which should be changed -->
|  
| {{{Weather|{{#section:{{{Zone|{{PAGENAME}}}}}/Weather|weather}}}}}<!--<div style="width: min-content;" class="suppress-p-margin">{{{Weather|{{:{{{Zone|{{PAGENAME}}}}}/Weather Icons}}}}}</div>-->
{| border="0" width="1%"
|align="left"|{{{Weather|{{:{{PAGENAME}}/Weather Icons}}}}}
|}
|-
|-
! style="background-color: #bc73a1;" | '''Region'''
! Region
| [[{{{Region}}}]]
| [[{{{Region}}}]]
|-
|-
! style="background-color: #bc73a1;" | '''Expansion'''
! Expansion
| {{{Expansion}}}
| {{{Expansion}}}
|-
|-
! style="background-color: #bc73a1;" | '''Requirements'''
! Requirements
| {{{Requirements}}}
| {{{Requirements}}}
|-
|-
! style="background-color: #bc73a1;" | '''Restrictions'''
! Restrictions
| {{{Restrictions}}}
| {{{Restrictions}}}
|-
|-
! style="background-color: #bc73a1;" | '''Background music'''
! Background music
| {{{BGM|}}}
| {{{BGM|}}}
|-
|-
! style="background-color: #bc73a1;" | '''Notes'''
! Notes
| {{{Notes|None}}}
| {{{Notes|None}}}
|}
|}
Line 90: Line 86:
</div>
</div>
<!-- close outer flex container -->
<!-- close outer flex container -->
__NOTOC__[[Category:Areas]][[Category:{{{Region}}}]]
__NOTOC__{{categorize|{{{1|}}}|<!--
-->[[Category:Areas]][[Category:{{{Region}}}]]}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>
==Usage==
==Usage==


===Example===
===Example 1: Valkurm Dunes===
{{Zone/Infobox
{{Zone/Infobox|nc
| Zone = Valkurm Dunes
| Zone = Valkurm Dunes
| ToC =
| ToC =
[[#Involved in Quests/Missions|Quests/Missions]] [[#digging|Chocobo Digging]] [[#fishing|Fishing]] <!--[[#Treasure Casket|Treasure Casket]] -->[[#weather|Weather]] [[#NPCs Found Here|NPCs]] [[#Notorious Monsters Found Here|Notorious Monsters]] [[#Regular Monsters Found Here|Regular Monsters]] [[#Event Monsters Found Here|Event Monsters]]
*[[#Involved in Quests/Missions|Quests/Missions]]  
 
*[[#digging|Chocobo Digging]]
*[[#fishing|Fishing]]<!--
--><li class="treasurecasket">[[#Treasure Casket|Treasure Casket]]<li>
*[[#weather|Weather]]
*[[#NPCs Found Here|NPCs]]
*[[#Notorious Monsters Found Here|Notorious Monsters]]
*[[#Regular Monsters Found Here|Regular Monsters]]
*[[#Event Monsters Found Here|Event Monsters]]
| Description = This enormous expanse of dunes can be found along the Bhefhel Gulf. While a majority of the surrounding coastline is too shallow for larger sea vessels, one natural harbor does exist. Near this harbor lies the independent port town of [[Selbina]].
| Description = This enormous expanse of dunes can be found along the Bhefhel Gulf. While a majority of the surrounding coastline is too shallow for larger sea vessels, one natural harbor does exist. Near this harbor lies the independent port town of [[Selbina]].
[[File:Valkurm-dunes-pic.jpg|300px|center]]
[[File:Valkurm-dunes-pic.jpg|300px|center]]
| Connections =  
| Connections =  
[[Konschtat Highlands]]: ({{Location Tooltip|area=Valkurm Dunes|pos=M-11}})
*[[Konschtat Highlands]]: ({{Location Tooltip|area=Valkurm Dunes|pos=M-11}})
<br>[[Gustav Tunnel]]: ({{Location Tooltip|area=Valkurm Dunes|pos=B-8}})
*[[Gustav Tunnel]]: ({{Location Tooltip|area=Valkurm Dunes|pos=B-8}})
<br>[[Lufaise Meadows]]: ({{Location Tooltip|area=Valkurm Dunes|pos=I-9}})
*[[Lufaise Meadows]]: ({{Location Tooltip|area=Valkurm Dunes|pos=I-9}})
<br>[[Selbina]]: ({{Location Tooltip|area=Valkurm Dunes|pos=G-9}})
*[[Selbina]]: ({{Location Tooltip|area=Valkurm Dunes|pos=G-9}})
<br>[[La Theine Plateau]]: ({{Location Tooltip|area=Valkurm Dunes|pos=L-5}})
*[[La Theine Plateau]]: ({{Location Tooltip|area=Valkurm Dunes|pos=L-5}})
<br>[[Dynamis - Valkurm]]: [[Hieroglyphics]] at ({{Location Tooltip|area=Valkurm Dunes|pos=H-7}})
*[[Dynamis - Valkurm]]: [[Hieroglyphics]] at ({{Location Tooltip|area=Valkurm Dunes|pos=H-7}})
<span class="abyssea"><br>[[Abyssea - Misareaux]] via [[Cavernous Maw]] at ({{Location Tooltip|area=Valkurm Dunes|pos=I-9}})</span>
<span class="abyssea"><br>[[Abyssea - Misareaux]] via [[Cavernous Maw]] at ({{Location Tooltip|area=Valkurm Dunes|pos=I-9}})</span>
| Monstrosity = {{Medium}}
| Monstrosity = {{Medium}}
Line 120: Line 123:
| Requirements = None
| Requirements = None
| Expansion = Original
| Expansion = Original
}}
===Example 2: Bastok Markets===
{{Zone/Infobox|nc
| Zone = Bastok Markets
| interactive map = <FFXIMap mapID=1 width=100% height=300px/>
| ToC = [[#Involved in Quests/Missions|Quests/Missions]] • [[#fishing|Fishing]] • [[#NPCs Found Here|NPCs]] • [[#Area Layout|Area Layout]]
| Description = The main thoroughfare of [[Bastok|The Republic of Bastok]], the markets is home to a wide number of [[:category:architecture|shops]], including the [[:category:goldsmithing|goldsmithing guild]] and the west [[Auction House]] (accessible just off of [[Firewater Circle]]).  This is the center of town, and provides access to all of the other sections of Bastok.
[[File:Bastok-markets-pic.jpg|left|320px]]
| Connections = 
[[Metalworks]]: {{Tooltip-Connection-Map|map=Bastok-markets.png|size=300|blip=RedBlip|text=H-6|x=60.93|y=36.32}}, {{Tooltip-Connection-Map|map=Bastok-markets.png|blip=RedBlip|text=H-7|x=61.13|y=45.89}}
<br>[[Port Bastok]]: {{Tooltip-Connection-Map|map=Bastok-markets.png|size=300|blip=RedBlip|text=G-3|x=46.48|y=20.50}}
<br>[[Bastok Mines]]: {{Tooltip-Connection-Map|map=Bastok-markets.png|size=300|blip=RedBlip|text=H-13|x=51.36|y=80.07}}
<br>[[South Gustaberg]]: {{Tooltip-Connection-Map|map=Bastok-markets.png|size=300|blip=RedBlip|text=D-11|x=25.78|y=69.72}}
<!--
<br>[[Home Point]] #1: (F-9)
<br>[[Home Point]] #2: (E-7)
<br>[[Home Point]] #3: (I-6)
<br>[[Home Point]] #4: (H-8)
-->
| Stats = None
| Region  = Bastok
| Type = City
| HELM = {{Zone Icon|fishing}}
| Weather = None
| Maps = {{Zone Tooltip Map|Map 1|zone=Bastok Markets}}
| Map Acquisition = [[Map of the Bastok Area|Purchase]]
| Restrictions = None
| Requirements = None
| Expansion = Final Fantasy XI
| BGM = "The Republic of Bastok"
}}
}}

Latest revision as of 23:09, 8 April 2024

Usage

Example 1: Valkurm Dunes

Description
This enormous expanse of dunes can be found along the Bhefhel Gulf. While a majority of the surrounding coastline is too shallow for larger sea vessels, one natural harbor does exist. Near this harbor lies the independent port town of Selbina.
Valkurm-dunes-pic.jpg
Interactive Map

{{{interactive map}}}

Zone Information
Area Name Valkurm Dunes
Type Outdoor
Maps
Valkurm Dunes.png
Map Acquisition Purchase
Miscellaneous Able to ride Mounts Able to use Tractor Able to call Adventuring Fellow
Hobbies

Ffxi gld 01.png

Chocodig.png

Ffxi hby 10.PNG

Weather EarthFire
Region Zulkheim
Expansion Original
Requirements None
Restrictions None
Background music
Notes None


Example 2: Bastok Markets

Description
The main thoroughfare of The Republic of Bastok, the markets is home to a wide number of shops, including the goldsmithing guild and the west Auction House (accessible just off of Firewater Circle). This is the center of town, and provides access to all of the other sections of Bastok.
Bastok-markets-pic.jpg
Table of Contents
Connections
Interactive Map
Zone Information
Area Name Bastok Markets
Type City
Maps
Bastok-markets.png
Map Acquisition Purchase
Miscellaneous None
Hobbies
Ffxi gld 01.png
Weather None
Region Bastok
Expansion Final Fantasy XI
Requirements None
Restrictions None
Background music "The Republic of Bastok"
Notes None