Template:Event: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
|type=String (allowed values=event,article)
|type=String (allowed values=event,article)
|plots=List (;) of Page
|plots=List (;) of Page
|date=Date
|event_date=Date
|time=Integer
|event_time=Integer
|title=String
|title=String
|url=URL
|url=URL
Line 20: Line 20:
|{{#arraymap:{{{plots|}}}|;|@@|[[Plot:@@]]|,}}
|{{#arraymap:{{{plots|}}}|;|@@|[[Plot:@@]]|,}}
!Date
!Date
|<date>{{{date|}}}</date>
|{{#time:j M Y |{{{date|}}} }} {{#if:{{{hour|}}}|{{#time: g:i A| {{{hour}}}{{{minute|00}}}00}}}}
|-
|-
!Event Thread:
!Event Thread:
Line 37: Line 37:
|colspan="3"|[[{{{source|}}}]]
|colspan="3"|[[{{{source|}}}]]
|}
|}
{{#if:{{{hour|}}}|{{#vardefine:time| {{{hour}}{{minutes|00}}00}}|}}
{{#cargo_store:
{{#cargo_store:
_table=Events
_table=Events
|type=event
|type=event
|plots={{{plots|}}}
|plots={{{plots|}}}
|date={{{date|}}}
|event_date={{{date|}}}
|time={{#var:time|}}
|event_time={{#if:{{{hour|}}}| {{{hour}}}{{{minute|00}}}00}}
|title={{{title|}}}
|title={{{title|}}}
|url={{{url|}}}
|url={{{url|}}}

Latest revision as of 04:07, 2 August 2021

This template defines the table "Events". View table.

[create] Documentation icon Template documentation
Please add categories and interwikis to the /doc subpage. Subpages of this template.