Template:Timeline Item: Difference between revisions
Jump to navigation
Jump to search
m (bg color is a bit lighter now for more contrast with new icons) |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ ]+)<\/tt>" to "{{hl|c= $1}}") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
{{<nowiki/> | {{<nowiki/>Timeline_Item|'''''type'''''|'''''metadata'''''|'''''year'''''|'''''date'''''|'''''description'''''|'''''bgColor'''''}} | ||
* type: See [[Template:Icon|icon template]] | * type: See [[Template:Icon|icon template]] | ||
* metadata: more information, usually the mentioned person's name (not displayed, hidden by {{Wikipedia|Cascading_Style_Sheets|CSS}}) | * metadata: more information, usually the mentioned person's name (not displayed, hidden by {{Wikipedia|Cascading_Style_Sheets|CSS}}) | ||
* year: a number | * year: a number | ||
* date: a more precise date if available, to format | * date: a more precise date if available, to format {{hl|'''MM'''&nbsp;/&nbsp;'''DD'''}} ("approx" if no more information) | ||
* description: text describing the event. Use html | * description: text describing the event. Use html {{hl|<h4></h4>}} tags to name an event (usually the mission name), {{hl|<h3></h3>}} for a title. | ||
* bgColor: background color - (Optional, default "white") use | * bgColor: background color - (Optional, default "white") use {{hl|LightSteelBlue}} for title | ||
; Named parameters: | ; Named parameters: | ||
* start: defines the top border's thickness (in px). e.g: | * start: defines the top border's thickness (in px). e.g: {{hl|c= |start=2}} | ||
{|class="wikitable" | {| class="wikitable" | ||
|+ Examples | |+ Examples | ||
! Code | ! Code | ||
! Result (put in an additional table) | ! Result (put in an additional table) | ||
|- | |||
| <code><nowiki>{{Timeline_Item}}</nowiki></code> | |||
| | |||
{| class="wikitable" | |||
! colspan="3" | Existing table | |||
{{Timeline_Item}} | |||
|} | |||
|- | |||
| <code><nowiki>{{Timeline_Item | |||
|ARMA3| | |||
|2035|08&nbsp;/&nbsp;02| | |||
<h4>Within Reach</h4> | |||
Kerry joins a small team bound for Stratis. | |||
}}</nowiki></code> | |||
| | |||
{| class="wikitable" | |||
! colspan="3" | Existing table | |||
{{Timeline_Item | |||
|ARMA3| | |||
|2035|08 / 02| | |||
<h4>Within Reach</h4> | |||
Kerry joins a small team bound for Stratis. | |||
}} | |||
|} | |||
|- | |- | ||
| <code><nowiki>{{Timeline_Item | | <code><nowiki>{{Timeline_Item | ||
Line 28: | Line 52: | ||
<h4>Within Reach</h4> | <h4>Within Reach</h4> | ||
Kerry joins a small team bound for Stratis. | Kerry joins a small team bound for Stratis. | ||
|start= 10 | |||
}}</nowiki></code> | }}</nowiki></code> | ||
| | | | ||
{| class=" | {| class="wikitable" | ||
! colspan="3" | Existing table | ! colspan="3" | Existing table | ||
{{Timeline_Item | {{Timeline_Item | ||
Line 37: | Line 62: | ||
<h4>Within Reach</h4> | <h4>Within Reach</h4> | ||
Kerry joins a small team bound for Stratis. | Kerry joins a small team bound for Stratis. | ||
|start= 10 | |||
}} | }} | ||
|} | |} |
Revision as of 10:34, 16 November 2021
Displays an Armaverse Timeline item - a line in the big table of Time.
Usage
{{Timeline_Item|type|metadata|year|date|description|bgColor}}
- type: See icon template
- metadata: more information, usually the mentioned person's name (not displayed, hidden by CSS)
- year: a number
- date: a more precise date if available, to format MM / DD ("approx" if no more information)
- description: text describing the event. Use html <h4></h4> tags to name an event (usually the mission name), <h3></h3> for a title.
- bgColor: background color - (Optional, default "white") use LightSteelBlue for title
- Named parameters
- start: defines the top border's thickness (in px). e.g:
Code | Result (put in an additional table) | ||||||
---|---|---|---|---|---|---|---|
{{Timeline_Item}}
|
| ||||||
{{Timeline_Item
|ARMA3|
|2035|08 / 02|
<h4>Within Reach</h4>
Kerry joins a small team bound for Stratis.
}}
|
| ||||||
{{Timeline_Item
|ARMA3|
|2035|08 / 02|
<h4>Within Reach</h4>
Kerry joins a small team bound for Stratis.
|start= 10
}}
|
|