Template:Zone Section Header: Difference between revisions
From HorizonXI Wiki
m (documentation) |
(added option to add manual ids to elements) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#switch: {{lc:{{{1|{{{hobby}}}}}}}} | <includeonly><onlyinclude>{{#switch: {{lc:{{{1|{{{hobby}}}}}}}} | ||
| harvesting = <div id="harvesting" class="zone-section-header harvesting-table">{{{text|[[Harvesting]]}}}</div> | | harvesting = <div id="{{{id|harvesting}}}" class="zone-section-header harvesting-table">{{{text|[[Harvesting]]}}}</div> | ||
| coffer = <div id=" | | coffer = <div id="{{{id|treasure_coffer}}}" class="zone-section-header" style="background-color:#9F9B8B">{{{text|[[Treasure Chest and Coffer Guide|Treasure Coffer]]}}}</div> | ||
| chest = <div id=" | | chest = <div id="{{{id|treasure_chest}}}" class="zone-section-header" style="background-color:#9F9B8B">{{{text|[[Treasure Chest and Coffer Guide|Treasure Chest]]}}}</div> | ||
| mining = <div id="mining" class="zone-section-header mining-table">{{{text|[[Mining]]}}}</div> | | mining = <div id="{{{id|mining}}}" class="zone-section-header mining-table">{{{text|[[Mining]]}}}</div> | ||
| logging = <div id="logging" class="zone-section-header logging-table">{{{text|[[Logging]]}}}</div> | | logging = <div id="{{{id|logging}}}" class="zone-section-header logging-table">{{{text|[[Logging]]}}}</div> | ||
| digging = <div id="digging" class="zone-section-header digging-table">{{{text|[[Chocobo Digging]]}}}</div> | | digging = <div id="{{{id|digging}}}" class="zone-section-header digging-table">{{{text|[[Chocobo Digging]]}}}</div> | ||
| clamming = <div id="clamming" class="zone-section-header clamming-table">{{{text|[[Clamming]]}}}</div> | | clamming = <div id="{{{id|clamming}}}" class="zone-section-header clamming-table">{{{text|[[Clamming]]}}}</div> | ||
| excavation = <div id="excavation" class="zone-section-header excavating-table">{{{text|[[Excavation]]}}}</div> | | excavation = <div id="{{{id|excavation}}}" class="zone-section-header excavating-table">{{{text|[[Excavation]]}}}</div> | ||
| fishing = <div id="fishing" class="zone-section-header fishing-header">{{{text|[[Fishing]]}}}</div> | | fishing = <div id="{{{id|fishing}}}" class="zone-section-header fishing-header">{{{text|[[Fishing]]}}}</div> | ||
<!--| weather = <div id="weather"><div style="margin:0;background-color:#FFD86F;font-size:120%;font-weight:bold;border:1px solid #a0a0ff;text-align:left;color:#000;padding:0.2em 0.4em;">[[Weather]]</div></div>!--> | <!--| weather = <div id="weather"><div style="margin:0;background-color:#FFD86F;font-size:120%;font-weight:bold;border:1px solid #a0a0ff;text-align:left;color:#000;padding:0.2em 0.4em;">[[Weather]]</div></div>!--> | ||
| weather = <div id="weather" class="zone-section-header" style="background-color:#FFD86F">{{{text|[[Weather]]}}}</div> | | weather = <div id="{{{id|weather}}}" class="zone-section-header" style="background-color:#FFD86F">{{{text|[[Weather]]}}}</div> | ||
| schedule = <div id="schedule" class="zone-section-header" style="background-color:#D87093">{{{text|[[Horizogenes|Daily Schedule (Vana'diel Time)]]}}}</div> | | schedule = <div id="{{{id|schedule}}}" class="zone-section-header" style="background-color:#D87093">{{{text|[[Horizogenes|Daily Schedule (Vana'diel Time)]]}}}</div> | ||
| schedule2 = <div id="schedule2" class="zone-section-header" style="background-color:#D87093;">{{{text|[[Horizogenes|Daily Schedule (Vana'diel Time / Earth Time)]]}}}</div> | | schedule2 = <div id="{{{id|schedule2}}}" class="zone-section-header" style="background-color:#D87093;">{{{text|[[Horizogenes|Daily Schedule (Vana'diel Time / Earth Time)]]}}}</div> | ||
| treasure casket = <div id=" | | treasure casket = <div id="{{{id|treasure_casket}}}"><div style="width:100%; margin:0;background-color:#A58D63;border:1px solid #a0a0ff;text-align:left;color:#000;"><div style="width:47%; margin:0;background-color:#63C4DC;font-size:120%;font-weight:bold;border:0px solid #a0a0ff;text-align:left;color:#000;padding:0.2em 0.4em;">{{{text|[[Treasure Casket]]}}}</div></div></div> | ||
| field manual = <div id=" | | field manual = <div id="{{{id|field_manual}}}" class="zone-section-header" style="background-color:#D2BC86;">{{{text|[[Field Manual]]}}}</div> | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> | ||
Line 37: | Line 37: | ||
For use in zone pages, e.g.: | For use in zone pages, e.g.: | ||
<pre>{{Zone Section Header|Harvesting|text=}} | <pre>{{Zone Section Header|Harvesting|text=|id=}} | ||
</pre> | </pre> | ||
Where the | Where the parameters ''text'' and ''id'' are optional if the standard output is not desired. (id is used for links to elements on a page) | ||
Here are the available headers: | Here are the available headers: |
Revision as of 21:42, 11 October 2024
Usage
For use in zone pages, e.g.:
{{Zone Section Header|Harvesting|text=|id=}}
Where the parameters text and id are optional if the standard output is not desired. (id is used for links to elements on a page)
Here are the available headers: