Template:Battlefield Header: Difference between revisions

From HorizonXI Wiki
m (added optional location parameter)
(changed how restrictions are displayed in the table)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>__NOTOC__
<includeonly><onlyinclude>__NOTOC__{{Preview Only Infobox|
===Template===
<pre>{{Battlefield Header
| name =
| type =
| zone =
| location =
| level =
| members =
| time =
| entry item =
}}</pre>
{{Battlefield Header/Documentation}}
}}
{| class="horizon-table left-col-1 left-col-2 table-xs no-borders" style="background: transparent;"
{| class="horizon-table left-col-1 left-col-2 table-xs no-borders" style="background: transparent;"
! Name:
! colspan=2 | Name:
| colspan=2 | {{{name|{{PAGENAME}}}}}
| {{{name|{{PAGENAME}}}}}
|-
|-
! Type:  
! colspan=2 | Type:  
| colspan=2 | [[:category:{{uc:{{{type}}}}}|{{uc:{{{type}}}}}]]
| [[:category:{{uc:{{{type}}}}}|{{uc:{{{type}}}}}]]
|-
|-
! valign="top" | Zone:  
! valign="top" colspan=2 | Zone:  
| colspan=2 | [[{{{zone}}}]]{{#if:{{{location|}}}|<br><nowiki/>
| [[{{{zone}}}]]{{#if:{{{location|}}}|<br><nowiki/>
:''{{{location}}}''}}
:''{{{location}}}''}}
|-
|-
! valign="top" rowspan=3 | Restrictions  
! valign="top" colspan="3" | Restrictions
! Level:
|-
|
! style="border-left: 1px solid #aaa;" | Level:
| {{{level}}}
| {{{level}}}
|-
|-
! Members:  
|
! style="border-left: 1px solid #aaa;" | Members:  
| {{{members}}}
| {{{members}}}
|-
|-
! Time:  
|
! style="border-left: 1px solid #aaa;" | Time:  
| {{{time}}}
| {{{time}}}
|-
|-
! Entry Item:  
! colspan=2 | Entry Item:  
| colspan=2 | [[{{{entry item}}}]]
| [[{{{entry item}}}]]
|}</onlyinclude></includeonly>
|}</onlyinclude></includeonly>
==Usage==
==Usage==
* optional ''location'' field to specify a location on a map for the entry to the BCNM.
<pre>{{Battlefield Header
| name =
| type =
| zone =
| location =
| level =
| members =
| time =
| entry item =
}}</pre>
{{Battlefield Header/Documentation}}


===Examples===
===Examples===
Line 62: Line 89:


{{Battlefield Header
{{Battlefield Header
| Wings of Fury
| name = Wings of Fury
| type = BCNM
| type = BCNM
| zone = Ghelsba Outpost
| zone = Ghelsba Outpost

Latest revision as of 12:49, 9 March 2024

Usage

{{Battlefield Header
| name = 
| type = 
| zone = 
| location = 
| level = 
| members = 
| time = 
| entry item = 
}}

Documentation

  • name = Name of the battlefield
  • type = Type of battlefield: BCNM, KSNM, ENM, HENM, ...
  • zone = Zone of the battlefield
  • location = Optional. Allows to specify a location in case the zone is a map
  • level = Level cap for the battlefield
  • members = Maximum amount of players that can join
  • time = Time limit
  • entry item = Item or key item that is required to enter the battlefield

Examples

{{Battlefield Header
| name = Shooting Fish
| type = BCNM
| zone = Horlais Peak
| level = 20
| members = 3
| time = 15 minutes
| entry item = Cloudy Orb
}}


Name: Shooting Fish
Type: BCNM
Zone: Horlais Peak
Restrictions
Level: 20
Members: 3
Time: 15 minutes
Entry Item: Cloudy Orb
{{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
}}


Name: Wings of Fury
Type: BCNM
Zone: Ghelsba Outpost
Hut Door at (F-10)
Restrictions
Level: 20
Members: 3
Time: 15 minutes
Entry Item: Cloudy Orb