Timeline Item – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
Lou Montana (talk | contribs) m (Fix for DarkTheme) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
|style="border-bottom: 1px dotted gray; border-top:{{{start|0}}}px solid #ababab; border-right: 1px dotted gray; padding-left: 0.5em; padding-right: 0.7em; font-size:120%; background-color:#848484 | |style="border-bottom: 1px dotted gray; border-top:{{{start|0}}}px solid #ababab; border-right: 1px dotted gray; padding-left: 0.5em; padding-right: 0.7em; font-size:120%; background-color:#848484"|<div style="width: 0; height: 0; font-size:0">{{{1|}}}{{{2|}}}</div>{{Icon|{{{1}}}}} | ||
|style="border-bottom: 1px dotted gray; padding-left: 0.5em; padding-right: 1.5em; font-size:120%; background-color:{{{6| | |style="border-bottom: 1px dotted gray; padding-left: 0.5em; padding-right: 1.5em; font-size: 120%; background-color:{{{6|inherit}}}" | '''{{{3|}}}''' / {{{4|}}} | ||
|style="border-bottom: 1px dotted gray; padding: 0.1em 0.5em 0.1em 0.5em; vertical-align:middle; background-color:{{{6| | |style="border-bottom: 1px dotted gray; padding: 0.1em 0.5em 0.1em 0.5em; vertical-align:middle; background-color:{{{6|inherit}}}"| | ||
{{{5|}}}</includeonly><noinclude> | {{{5|}}}</includeonly><noinclude> | ||
Displays an [[Armaverse Timeline]] item - a line in the big table of Time. | Displays an [[Armaverse Timeline]] item - a line in the big table of Time. | ||
Line 9: | Line 9: | ||
{{<nowiki/>Timeline_Item|'''''type'''''|'''''metadata'''''|'''''year'''''|'''''date'''''|'''''description'''''|'''''bgColor'''''}} | {{<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| | * 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 {{hl|'''MM'''&nbsp;/&nbsp;'''DD'''}} ("approx" if no more information) | * 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 {{hl|<h4></h4>}} tags to name an event (usually the mission name), {{hl|<h3></h3>}} for a title. | * 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 " | * bgColor: background color - (Optional, default "inherit") use {{hl|LightSteelBlue}} for title | ||
; Named parameters: | ; Named parameters: |
Revision as of 11:11, 1 February 2023
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 "inherit") use LightSteelBlue for title
- Named parameters
- start: defines the top border's thickness (in px). e.g: -No content provided-
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
}}
|
|