NewsUnrealEdForumsFilesModsFragBU

Skin

BeyondUnreal


Personal tools

Template:PickupsTableDoc

From Liandri Archives

Jump to: navigation, search

The PickupsTable set of templates consists in three templates with the names PickupsTableHeader, PickupsTableRow and PickupsTableFooter, and was made with the intention of giving all the map pages in this wiki an uniform look. There's another set of templates, called "WeaponsTable", made specifically for weapons and their ammo packs.

How to add

The basic layout, for one pickup, is the following:

{{PickupsTableHeader}}
{{PickupsTableRow|
item=|
amnt=|
locat=}}
{{PickupsTableFooter}}

The header and footer lines need no explanation. The row has three attributes:

  • item is the name of the item. The template encloses this value with brackets automatically, regardless if there is or not a page for that item.
  • amnt is short for "Amount" and indicates how many of this class of pickup are present in the map.
  • locat is an optional attribute indicating where the item can be located in the map.

Hence, something like this (taken from this page):

{{PickupsTableHeader}}
{{PickupsTableRow|
item=Body Armor|
amnt=1|
locat=Below the Rocket Launcher, in the wood ramp area.}}
{{PickupsTableFooter}}

Will output this:

Pickup Count Location
Body Armor 1 Below the Rocket Launcher, in the wood ramp area.

If you need more than one item, you must add another PickupsTableRow call. For example, aside of the Body Armor, there's also a set of Thighpads. Hence, by adding another PickupsTableRow with the information regarding the Thighpads:

{{PickupsTableHeader}}
{{PickupsTableRow|
item=Body Armor|
amnt=1|
locat=Below the Rocket Launcher, in the wood ramp area.}}
{{PickupsTableRow|
item=Thighpads|
amnt=1|
locat=In the balcony, near the Sniper Rifle.}}
{{PickupsTableFooter}}

The output will be the following:

Pickup Count Location
Body Armor 1 Below the Rocket Launcher, in the wood ramp area.
Thighpads 1 In the balcony, near the Sniper Rifle.