Timeline Item – Template

From Bohemia Interactive Community
Revision as of 10:45, 16 February 2024 by Lou Montana (talk | contribs) (Use CSS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Displays an Armaverse Timeline item - a line in the big table of Time.

Usage

{{Timeline_Item|type|metadata|year|date|description|bgColor}}

  • type: (Optional, default unknown) See icon template
  • metadata: obsolete, unused
  • year: (Optional, default "?") a year number
  • date: (Optional, default "approx.") a more precise date if available, to format MM / DD
  • description: text describing the event. Use html <h4></h4> tags to name an event (usually the mission name), <h3></h3> for a title.
  • bgColor: (Optional) background color - use LightSteelBlue for title
Named parameters
  • start: defines the top border's thickness (in px). e.g: |start=2

The template adds the page to the Timeline Item template usage error category in case description is not provided.

Examples
Code Result (put in an additional table)
{{Timeline_Item}}
Existing table
Unknown ? / approx.

-no text provided!-

{{Timeline_Item
|ARMA3|
|2035|08&amp;nbsp;/&amp;nbsp;02|
<h4>Within Reach</h4>
Kerry joins a small team bound for Stratis.
}}
Existing table
Arma 3 2035 / 08 / 02

Within Reach

Kerry joins a small team bound for Stratis.

{{Timeline_Item
|ARMA3|
|2035|08&amp;nbsp;/&amp;nbsp;02|
<h4>Within Reach</h4>
Kerry joins a small team bound for Stratis.
|start= 10
}}
Existing table
Arma 3 2035 / 08 / 02

Within Reach

Kerry joins a small team bound for Stratis.