Template:Zone Infobox: Difference between revisions
From HorizonXI Wiki
(updating to include interactive map parameter) |
(weather forecast full width) |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>[[Category:Templates|{{PAGENAMEE}}]]</noinclude> | <noinclude>[[Category:Templates|{{PAGENAMEE}}]]</noinclude><includeonly><onlyinclude> | ||
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;"> | |||
<!-- OPEN outer flex container for the entire Zone Infobox --> | |||
<div style=" | |||
<div | <div style="flex-grow: 9; flex-basis: 300px; background-color: #eddce7; padding: 8px;"> | ||
{{{Description}}} | <!-- OPEN left part with description, TOC, map and connections--> | ||
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;"> | |||
<!-- OPEN inner flex container for the left side to arrange description, TOC, map and connections --> | |||
<div style="flex-grow: 1; flex-basis: 100%;"> | |||
<!-- OPEN first row: description: full width --> | |||
<div class="zone-section-header zone-infobox-header">Description</div> | |||
<div class="zone-section-body zone-infobox-body">{{{Description}}}</div> | |||
<!-- CLOSE first row: description--> | |||
</div> | </div> | ||
<div style=" | <div style="flex-grow: 99; flex-basis: 200px; style="background-color: #eddce7"> | ||
{| style=" | <!-- OPEN second row col 1: TOC and connections: half width--> | ||
<div class="zone-section-header zone-infobox-header">Table of Contents</div> | |||
<div class="zone-section-body zone-infobox-body horizontal-list"> | |||
{{{ToC}}}</div> | |||
<div class="zone-section-header zone-infobox-header">Connections</div> | |||
<div class="zone-section-body zone-infobox-body suppress-p-margin plain-list"> | |||
{{{Connections}}}</div> | |||
<!-- CLOSE second row col 1: TOC and connections --> | |||
</div> | |||
<div style="flex-grow: 1; flex-basis: 330px; background-color: #eddce7"> | |||
<!-- OPEN second row col 2: Map--> | |||
<div class="zone-section-header zone-infobox-header">Interactive Map</div> | |||
<div class="zone-section-body zone-infobox-body"><center> | |||
<!-- {{{interactive map}}} --> | |||
<FFXIMap usepagename=true width=100% height=300px/> | |||
</center></div> | |||
<!-- CLOSE second row col 2: map--> | |||
</div> | |||
<!-- CLOSE inner flex container for left side --> | |||
</div> | |||
<!-- CLOSE left part: description, TOC, map, connections--> | |||
</div> | |||
<!-- OPEN right part: zone information --> | |||
<div style="flex-grow: 1; flex-basis: 300px; background-color: #eddce7; padding: 8px;"> | |||
{| 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=" | ! style="width: 150px;" | Area Name | ||
| {{{Zone|{{PAGENAME}}}}} | | {{{Zone|{{PAGENAME}}}}} | ||
|- | |- | ||
! | ! Type | ||
| {{{Type}}} | | {{#switch:{{lc:{{{Type}}}}} | ||
| city = [[:Category:Cities|City]]{{categorize|{{{1|}}}|[[Category:Cities]]}} | |||
| outdoor | outdoors | outside = [[:Category:Outdoor Areas|Outdoor]]{{categorize|{{{1|}}}|[[Category:Outdoor Areas]]}} | |||
| battlefield = [[:Category:Battlefields|Battlefield]]{{categorize|{{{1|}}}|[[Category:Battlefields]]}} | |||
| dungeon = [[:Category:Dungeons|Dungeon]]{{categorize|{{{1|}}}|[[Category:Dungeons]]}} | |||
| #default = {{{Type}}} | |||
}} | |||
|- | |- | ||
! | ! Maps | ||
| {{{Maps|{{:{{{Zone|{{PAGENAME}}}}}/Maps}}}}} | |||
|- | |- | ||
! | ! Map Acquisition | ||
| {{{Map Acquisition}}} | | {{{Map Acquisition}}} | ||
|- | |- | ||
! | ! Miscellaneous | ||
| {{{Stats}}} | | {{{Stats}}} | ||
|- | |- | ||
! | ! Hobbies | ||
| | | {{{HELM|<div style="width: min-content;" class="suppress-p-margin">{{:{{{Zone|{{PAGENAME}}}}}/HELM}}</div>}}} | ||
{| | |||
|- | |- | ||
! | ! Weather | ||
| | | {{{Weather|<div style="width: min-content;" class="suppress-p-margin">{{:{{{Zone|{{PAGENAME}}}}}/Weather Icons}}</div>}}} | ||
{| | |||
|- | |- | ||
! | ! Region | ||
| [[{{{Region}}}]]{{categorize|{{{1|}}}|<!-- | |||
-->[[Category:{{{Region}}}]]}} | |||
|- | |- | ||
! | ! Expansion | ||
| {{{Expansion}}} | |{{#ifeq:{{#sub:{{{Expansion}}}|0|1}}|[ <!-- if is link --> | ||
|{{{Expansion}}}{{categorize|{{{1|}}}|[[Category:{{#sub:{{{Expansion}}}|2|-2}}]]}} <!-- just display and strip brackets before categorization --> | |||
|[[{{{Expansion}}}]]{{categorize|{{{1|}}}|[[Category:{{{Expansion}}}]]}} <!-- if its plain text, display in brackets and categorize as is --> | |||
}} | |||
|- | |- | ||
! | ! Requirements | ||
| {{{Requirements}}} | | {{{Requirements|None}}} | ||
|- | |- | ||
! | ! Restrictions | ||
| {{{Restrictions}}} | | {{{Restrictions|None}}} | ||
|- | |- | ||
! | ! Background music | ||
| {{{BGM|}}} | | {{{BGM|}}} | ||
|- | |- | ||
! | ! Notes | ||
| {{{Notes|None}}} | | {{{Notes|None}}} | ||
|} | |} | ||
<!-- CLOSE right part: zone information--> | |||
<div style=" | </div> | ||
{{{ | |||
| | <div style="flex-grow: 1; flex-basis: 100%; background-color: #eddce7; padding: 8px;"> | ||
<!-- OPEN third row: weather forecast --> | |||
< | <div class="zone-section-header zone-infobox-header">Weather Forecast</div> | ||
{{{ | <div style="flex-grow: 1; flex-basis: 100%;"><center><ZoneForecast zone="{{{Zone|{{PAGENAMEE}}}}}"/></center></div> | ||
</ | <!-- CLOSE third row: weather forecast --> | ||
|- | </div> | ||
| | |||
< | <!-- CLOSE outer flex container --> | ||
{{ | </div> | ||
__NOTOC__{{categorize|{{{1|}}}|<!-- | |||
-->[[Category:Areas]][[Category:{{{Region}}}]]}} | |||
</onlyinclude></includeonly> | |||
==Usage== | |||
===Example 1: Valkurm Dunes=== | |||
{{Zone Infobox|nc | |||
| Zone = Valkurm Dunes | |||
| interactive map = <FFXIMap mapID=63 width=100% height=300px/> | |||
| ToC = | |||
*[[#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]]. | |||
[[File:Valkurm-dunes-pic.jpg|300px|center]] | |||
| Connections = | |||
*[[Konschtat Highlands]]: ({{Location Tooltip|area=Valkurm Dunes|pos=M-11}}) | |||
*[[Gustav Tunnel]]: ({{Location Tooltip|area=Valkurm Dunes|pos=B-8}}) | |||
*[[Lufaise Meadows]]: ({{Location Tooltip|area=Valkurm Dunes|pos=I-9}}) | |||
*[[Selbina]]: ({{Location Tooltip|area=Valkurm Dunes|pos=G-9}}) | |||
*[[La Theine Plateau]]: ({{Location Tooltip|area=Valkurm Dunes|pos=L-5}}) | |||
*[[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> | |||
| Monstrosity = {{Medium}} | |||
| Stats = {{Chocobo}} {{Tractor}} {{Fellow}} | |||
| Region = Zulkheim | |||
| Type = Outdoor | |||
| Maps = {{Zone Tooltip Map|zone=Valkurm Dunes|Map 1}} | |||
| Map Acquisition = [[Map of the San d'Oria Area|Purchase]] | |||
| Restrictions = None | |||
| Requirements = None | |||
| 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 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 11:32, 14 October 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.
Table of Contents
Connections
- Konschtat Highlands: (M-11)
- Gustav Tunnel: (B-8)
- Lufaise Meadows: (I-9)
- Selbina: (G-9)
- La Theine Plateau: (L-5)
- Dynamis - Valkurm: Hieroglyphics at (H-7)
Abyssea - Misareaux via Cavernous Maw at (I-9)
Interactive Map
Zone Information | |
---|---|
Area Name | Valkurm Dunes |
Type | Outdoor |
Maps | |
Map Acquisition | Purchase |
Miscellaneous | |
Hobbies | |
Weather | |
Region | Zulkheim |
Expansion | Original |
Requirements | None |
Restrictions | None |
Background music | |
Notes | None |
Weather Forecast
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.
Table of Contents
Connections
Interactive Map
Zone Information | |
---|---|
Area Name | Bastok Markets |
Type | City |
Maps | |
Map Acquisition | Purchase |
Miscellaneous | None |
Hobbies | |
Weather | None |
Region | Bastok |
Expansion | Final Fantasy XI |
Requirements | None |
Restrictions | None |
Background music | "The Republic of Bastok" |
Notes | None |
Weather Forecast