Template:Battlefield Header: Difference between revisions

From HorizonXI Wiki
m (Undo revision 100243 by Chiimi000 (talk))
Tag: Undo
mNo edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude>__NOTOC__{{Preview Only Infobox|
<includeonly><onlyinclude>__NOTOC__{{Battlefield Header/Help|{{{1}}}}}
===Template===
{| class="battlefield-table-border horizon-table {{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}} table-xs" style="border: 1px black solid;"
<pre>{{Battlefield Header
! colspan=2 style="border: 1px black solid;" | {{{name|{{PAGENAME}}}}}
| name =
|- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader"
| type =
!width="30%" style="text-align: left;" | Type:
| zone =
|width="70%" | {{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
| location =
| bcnm = [[:Category:BCNM|BCNM]] [[Category:BCNM]] [[Category:Battlefields]]
| level =
| ksnm = [[:Category:KSNM|KSNM]] [[Category:KSNM]] [[Category:Battlefields]]
| members =
| enm  = [[:Category:ENM|ENM]] [[Category:ENM]] [[Category:Battlefields]]
| time =
| isnm = [[:Category:ISNM|ISNM]] [[Category:ISNM]] [[Category:Battlefields]]
| entry item =
| 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=??}})}}
}}</pre>
| 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=??}})}}
{{Battlefield Header/Documentation}}
| mission=[[:Category:{{#if:{{{mission affiliation|}}}|{{Mission Header/ExpansionSwitch|{{{mission affiliation}}}}}|}} Missions|{{#if:{{{mission affiliation|}}}|{{Mission Header/ExpansionSwitch|{{{mission affiliation}}}}}|}} Mission]]
}}
| #default = {{{type}}}
{| class="horizon-table bcnm-table left-col-1 left-col-2 table-xs no-borders" style="background: transparent;"
}}|}}
! colspan=2 style="text-align:center;" | {{{name|{{PAGENAME}}}}}
|- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader"
|-
! style="text-align: left;" | Zone:
|width="30%"| '''Type:'''
| [[{{{zone}}}]]{{#if:{{{location|}}}|&nbsp;{{Position|{{{zone}}}|{{{location}}}}}}}{{#if:{{{location2|}}}| / {{Position|{{{zone}}}|{{{location2}}}}}}}{{#if:{{{location3|}}}| / {{Position|{{{zone}}}|{{{location3}}}}}}}{{#if:{{{location4|}}}| / {{Position|{{{zone}}}|{{{location4}}}}}}}{{#if:{{{location add|}}}|<br/>''{{{location add}}}''}}
|width="70%"| [[:category:{{uc:{{{type}}}}}|{{uc:{{{type}}}}}]]
|- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader"
|-
! style="text-align: left;" | Entry Item:
| '''Zone:'''
| {{#ifeq:{{lc:{{{type}}}}}|enm|{{KeyItem}}|}}[[{{{entry item}}}]]
| [[{{{zone}}}]]{{#if:{{{location|}}}|<br><nowiki/>
|- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader"
:''{{{location}}}''}}
! style="text-align: left;" | Level:
|-
| {{#if:{{{level|}}}|{{{level}}}|''No minimum''}}
|''' Entry Item:'''
|- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader"
| [[{{{entry item}}}]]
! style="text-align: left;" | Members:
|-
! colspan="2" style="text-align:center;"| Restrictions
|-
|''' Level:'''
| {{{level}}}
|-
|''' Members:'''
| {{{members}}}
| {{{members}}}
|-
|- valign="top" class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader"
|''' Time:'''
! style="text-align: left;" | Time:
| {{{time}}}
| {{{time}}}
|}</onlyinclude></includeonly>
|- valign="top"  class="{{Battlefield Header/CSS-Switch|{{{type}}}|{{{mission affiliation}}}}}  battlefield-table-border subheader" {{#if: {{{notes|}}}||style="display: none;"}}
==Usage==
! style="text-align: left;" | Additional Information:
<pre>{{Battlefield Header
| {{#if: {{{notes|}}} |{{{notes}}}|}}
| name =  
|}
| type =  
</onlyinclude></includeonly>
| zone =
| location =
| level =
| members =
| time =
| entry item =
}}</pre>
{{Battlefield Header/Documentation}}
{{Battlefield Header/Documentation}}
===Examples===
<pre>{{Battlefield Header
| name = Shooting Fish
| type = BCNM
| zone = Horlais Peak
| level = 20
| members = 3
| time = 15 minutes
| entry item = Cloudy Orb
}}</pre>
{{Battlefield Header
| name = Shooting Fish
| type = BCNM
| zone = Horlais Peak
| level = 20
| members = 3
| time = 15 minutes
| entry item = Cloudy Orb
}}
<pre>
{{Battlefield Header
| Wings of Fury
| type = BCNM
| zone = Ghelsba Outpost
| level = 20
| members = 3
| time = 15 minutes
| location = Hut Door at ({{Location Tooltip|area=Ghelsba Outpost|pos=F-10}})
| entry item = Cloudy Orb
}}
</pre>
{{Battlefield Header
| name = Wings of Fury
| type = BCNM
| zone = Ghelsba Outpost
| level = 20
| members = 3
| time = 15 minutes
| location = Hut Door at ({{Location Tooltip|area=Ghelsba Outpost|pos=F-10}})
| entry item = Cloudy Orb
}}

Latest revision as of 19:25, 24 September 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)
Near the Hut Door.
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.
}}