Template:Zone Infobox: Difference between revisions

From HorizonXI Wiki
No edit summary
m (fixed missing closing elements and improved code comments)
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 -->
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;">
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;">
<!-- Left part with description, TOC, map and connections-->
<!-- OPEN outer flex container for the entire Zone Infobox -->
 
<div style="flex-grow: 9; flex-basis: 300px; 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 -->
<!-- OPEN left part with description, TOC, map and connections-->
 
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;">
<div style="display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px;">
<!-- first row: description: full width -->
<!-- OPEN inner flex container for the left side to arrange description, TOC, map and connections -->
 
<div style="flex-grow: 1; flex-basis: 100%;">
<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-header zone-infobox-header">Description</div>
<div class="zone-section-body zone-infobox-body">{{{Description}}}</div>
<div class="zone-section-body zone-infobox-body">{{{Description}}}</div>
<!-- CLOSE first row: description-->
</div>
</div>
<!-- close first row: description-->
 
<!-- second row col 1: TOC and connections: half width-->
<div style="flex-grow: 99; flex-basis: 200px; style="background-color: #eddce7">
<div style="flex-grow: 99; flex-basis: 200px; style="background-color: #eddce7">
<!-- 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-header zone-infobox-header">Table of Contents</div>
Line 23: Line 29:
{{{Connections}}}</div>
{{{Connections}}}</div>


<!-- CLOSE second row col 1: TOC and connections -->
</div>
</div>
<!-- close second row col 1: TOC and connections -->
 
<!-- second row col 2: Map-->
<div style="flex-grow: 1; flex-basis: 330px; background-color: #eddce7">
<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-header zone-infobox-header">Interactive Map</div>
<div class="zone-section-body zone-infobox-body"><center>
<div class="zone-section-body zone-infobox-body"><center>
Line 33: Line 41:
</center></div>
</center></div>


<!-- close second row col 2: map-->
<!-- CLOSE second row col 2: map-->
</div>
</div>


<div style="flex-grow: 1; flex-basis: 100%;">
<div style="flex-grow: 1; flex-basis: 100%;">
<!-- OPEN third row: weather forecast -->
<div class="zone-section-header zone-infobox-header">Weather Forecast</div>
<div class="zone-section-header zone-infobox-header">Weather Forecast</div>
<div class="zone-section-body zone-infobox-body"><center><ZoneForecast /></center></div>
<div class="zone-section-body zone-infobox-body"><center><ZoneForecast /></center></div>
<!-- CLOSE third row: weather forecast -->
</div>
<!-- CLOSE inner flex container for left side -->
</div>
</div>


<!-- close inner flex container and left part: description, TOC, map, connections-->
<!-- CLOSE left part: description, TOC, map, connections-->
</div>


<!-- Start of right part: zone information -->
<!-- OPEN right part: zone information -->
<div style="flex-grow: 1; flex-basis: 300px; background-color: #eddce7; padding: 8px;">
<div style="flex-grow: 1; flex-basis: 300px; background-color: #eddce7; padding: 8px;">


Line 98: Line 112:
| {{{Notes|None}}}
| {{{Notes|None}}}
|}
|}
<!-- CLOSE right part: zone information-->
</div>
</div>
<!-- close right part: zone information-->
 
<!-- CLOSE outer flex container -->
</div>
</div>
<!-- close outer flex container -->
__NOTOC__{{categorize|{{{1|}}}|<!--
__NOTOC__{{categorize|{{{1|}}}|<!--
-->[[Category:Areas]][[Category:{{{Region}}}]]}}
-->[[Category:Areas]][[Category:{{{Region}}}]]}}

Revision as of 09:58, 13 August 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
Weather Forecast
Error: Forecast for ' Template:Zone_Infobox ' not found. Please report to Wiki devs on Discord.
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

Trans Earth.png

Trans Fire.png

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
Weather Forecast
Error: Forecast for ' Template:Zone_Infobox ' not found. Please report to Wiki devs on Discord.
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