Template:Battlefield Header: Difference between revisions
From HorizonXI Wiki
(edit to add in HENM) |
(added types mission and quest) |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>__NOTOC__{{Battlefield Header/Help|{{{1}}}}} | <includeonly><onlyinclude>__NOTOC__{{Battlefield Header/Help|{{{1}}}}} | ||
{| class="horizon-table | {| class="horizon-table {{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border table-xs" | ||
! colspan=2 | {{PAGENAME}} | ! colspan=2 | {{{name|{{PAGENAME}}}}} | ||
|- valign="top" | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" | ||
!width="30%" | !width="30%" style="text-align: left;" | Type: | ||
|width="70%" | {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | |width="70%" | {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}} | ||
| bcnm = [[:Category:BCNM|BCNM]] [[Category:BCNM]] [[Category:Battlefields]] | | bcnm = [[:Category:BCNM|BCNM]] [[Category:BCNM]] [[Category:Battlefields]] | ||
| Line 11: | Line 11: | ||
| znm = [[:Category:ZNM|ZNM]] [[Category:ZNM]] [[Category:Battlefields]]{{#if:{{{tier|}}}| (Tier {{#switch:{{lc:{{{tier}}}}}|1|i = I|2|ii = II|3|iii = III|4|iv = IV|5|v = V|#default=??}})}} | | znm = [[:Category:ZNM|ZNM]] [[Category:ZNM]] [[Category:Battlefields]]{{#if:{{{tier|}}}| (Tier {{#switch:{{lc:{{{tier}}}}}|1|i = I|2|ii = II|3|iii = III|4|iv = IV|5|v = V|#default=??}})}} | ||
| henm = [[:Category:HENM|HENM]] [[Category:HENM]] [[Category:Battlefields]]{{#if:{{{tier|}}}| (Tier {{#switch:{{lc:{{{tier}}}}}|1|i = I|2|ii = II|3|iii = III|4|iv = IV|5|v = V|#default=??}})}} | | henm = [[:Category:HENM|HENM]] [[Category:HENM]] [[Category:Battlefields]]{{#if:{{{tier|}}}| (Tier {{#switch:{{lc:{{{tier}}}}}|1|i = I|2|ii = II|3|iii = III|4|iv = IV|5|v = V|#default=??}})}} | ||
| mission=[[:Category:{{#if:{{{mission affiliation|}}}|{{Mission Header/ExpansionSwitch|{{{mission affiliation}}}}}|}} Missions|{{#if:{{{mission affiliation|}}}|{{Mission Header/ExpansionSwitch|{{{mission affiliation}}}}}|}} Mission]] | |||
| #default = {{{type}}} | | #default = {{{type}}} | ||
}}|}} | }}|}} | ||
|- valign="top" | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" | ||
! style="text-align: left;" | Zone: | |||
| [[{{{zone}}}]]{{#if:{{{location|}}}| {{Position|{{{zone}}}|{{{location}}}}}}}{{#if:{{{location2|}}}| / {{Position|{{{zone}}}|{{{location2}}}}}}}{{#if:{{{location3|}}}| / {{Position|{{{zone}}}|{{{location3}}}}}}}{{#if:{{{location4|}}}| / {{Position|{{{zone}}}|{{{location4}}}}}}} | | [[{{{zone}}}]]{{#if:{{{location|}}}| {{Position|{{{zone}}}|{{{location}}}}}}}{{#if:{{{location2|}}}| / {{Position|{{{zone}}}|{{{location2}}}}}}}{{#if:{{{location3|}}}| / {{Position|{{{zone}}}|{{{location3}}}}}}}{{#if:{{{location4|}}}| / {{Position|{{{zone}}}|{{{location4}}}}}}} | ||
|- valign="top" | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" | ||
! style="text-align: left;" | Entry Item: | |||
| {{#ifeq:{{lc:{{{type}}}}}|enm|{{KeyItem}}|}}[[{{{entry item}}}]] | | {{#ifeq:{{lc:{{{type}}}}}|enm|{{KeyItem}}|}}[[{{{entry item}}}]] | ||
|- valign="top" | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" | ||
! style="text-align: left;" | Level: | |||
| {{#if:{{{level|}}}|{{{level}}}|''No minimum''}} | | {{#if:{{{level|}}}|{{{level}}}|''No minimum''}} | ||
|- valign="top" | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" | ||
! style="text-align: left;" | Members: | |||
| {{{members}}} | | {{{members}}} | ||
|- valign="top" | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" | ||
! style="text-align: left;" | Time: | |||
| {{{time}}} | | {{{time}}} | ||
|- valign="top" {{#if: {{{notes|}}}||style="display: none;"}} | |- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} battlefield-table-border subheader" {{#if: {{{notes|}}}||style="display: none;"}} | ||
! | ! style="text-align: left;" | Additional Information: | ||
| {{#if: {{{notes|}}} |{{{notes}}}|}} | | {{#if: {{{notes|}}} |{{{notes}}}|}} | ||
|} | |} | ||
</onlyinclude></includeonly> | </onlyinclude></includeonly> | ||
{{Battlefield Header/Documentation}} | {{Battlefield Header/Documentation}} | ||
Revision as of 20:11, 13 August 2025
Documentation
- name: - (Optional) No input is needed for the name of the battlefield, this will self-populate. In cases where the page name deviates from the battlefield title, name can be used to specify the name of the battlefield manually.
- type: - Links and auto-categorizes to Category:Battlefields and the type of battlefield eg. BCNM, KSNM, ENM or ISNM, which are all accepted inputs. Mission and Quest are also possible.
- mission affiliation: - (Optional) If type is set to Mission or Quest, this parameter can be set to specify which storyline the battlefield belongs to, e.g. "San d'Oria", "Treasures of Aht Urhgan", etc. Commonly used abbreviations like "toau", "sandy", or "windy" are also accepted. This will set the color of the battlefield header according to the type of content!
- zone: - Zone where the battlefield is located.
- location: - (Optional) Coordinates of the battlefield. e.g. F-10, G-9, A-1, etc.
- location add: - (Optional) Additional information about where to find the battlefield.
- level: - Level cap of the battlefield. Use "75" if there are no restrictions.
- members: - Maximum number of players that can participate in the battlefield.
- time: - Time limit of the battlefield.
- entry item: - The item or key item that is required to enter the battlefield.
- notes: - Any additional important information about the battlefield.
Usage
{{Battlefield Header
| type =
| zone =
| mission affiliation =
| location =
| location add =
| level =
| members =
| time =
| entry item =
| notes =
}}
Examples
Example 1
| Battlefield Header | |
|---|---|
| Type: | BCNM |
| Zone: | Horlais Peak |
| Entry Item: | Cloudy Orb |
| Level: | 20 |
| Members: | 3 |
| Time: | 15 minutes |
{{Battlefield Header
| type = BCNM
| zone = Horlais Peak
| level = 20
| members = 3
| time = 15 minutes
| entry item = Cloudy Orb
}}Example 2
| Battlefield Header | |
|---|---|
| Type: | BCNM |
| Zone: | Ghelsba Outpost(F-10) |
| Entry Item: | Cloudy Orb |
| Level: | 20 |
| Members: | 3 |
| Time: | 15 minutes |
| Additional Information: | Notes optionally go here. |
{{Battlefield Header
| type = BCNM
| zone = Ghelsba Outpost
| level = 20
| members = 3
| time = 15 minutes
| location = F-10
| location add = Near the Hut Door.
| entry item = Cloudy Orb
| notes = Notes optionally go here.
}}

