Template:Timeline: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
(34 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|Water= | |Water= | ||
|Description= | |Description= | ||
|Source= | |Source= | ||
|SourceURL= | |SourceURL= | ||
|Image= | |Image= | ||
|Article= | |||
|Poster= | |Poster= | ||
|Posted= | |Posted= | ||
Line 19: | Line 19: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
{{#cargo_declare:_table=timeline|Name=String|Date=Date|Region=String|Water=String|Description=Wikitext|Article=Page|Source=String|SourceURL=URL|Image=File|Poster=String|Posted=String}} | {{#cargo_declare:_table=timeline|Name=String|Date=Date|Region=String|Water=String|Description=Wikitext|Article=Page|Source=String|SourceURL=URL|Image=File|Poster=String|Posted=String}} | ||
</noinclude><includeonly>{{#cargo_store:_table=timeline|Name={{{Name|}}}|Date={{{Date|}}}|Region={{{Region|}}}|Water={{{Water|}}}|Description={{{Description|}}}|Article={{{Article|}}}|Source={{{Source|}}}|SourceURL={{{SourceURL|}}}|Image={{{Image|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }}{| class="wikitable" | </noinclude><includeonly>{{#cargo_store:_table=timeline|Name={{{Name|}}}|Date={{{Date|}}}|Region={{{Region|}}}|Water={{{Water|}}}|Description={{{Description|}}}|Article={{{Article|}}}|Source={{{Source|}}}|SourceURL={{{SourceURL|}}}|Image={{{Image|}}}|Poster={{{Poster|}}}|Posted={{{Posted|}}} }} | ||
|colspan="2"|[[File:{{{Image|}}}| | {{#ifeq:{{NAMESPACE}} | History | {{IRL header|cat=Timeline|toc=no}} }} | ||
{| class="wikitable" | |||
|colspan="2"|{{#if:{{{Image|}}} | [[File:{{{Image|}}}|800px|frameless|center|{{{Name|}}}]] | <div class="irltabletitle">{{{Name|}}}</div> }} | |||
|- | |- | ||
! Name | ! Name | ||
| {{{Name|}}} | | [[History:{{{Name|}}} {{#time:Y-m-d|{{{Date|}}} }}|{{{Name|}}}]] | ||
|- | |- | ||
! Date | ! Date | ||
| {{{Date|}}} | | {{#time:F j, Y|{{{Date|}}} }} | ||
|- | |||
! Description | |||
| {{{Description|}}} | |||
|- | |- | ||
! Region | ! Region | ||
| {{{Region|}}} | | {{{Region|}}} | ||
|- | {{#if:{{{Water|}}}| | ||
{{!}}- | |||
! Water | ! Water | ||
{{!}} {{{Water|}}} }} | |||
{{#if:{{{Article|}}}| | |||
{{!}}- | |||
! Article | ! Article | ||
{{!}} [[{{{Article|}}}]] }} | |||
|- | {{#if:{{{Source|}}}| | ||
{{!}}- | |||
! Source | ! Source | ||
{{!}} {{#if:{{{SourceURL|}}} | [{{{SourceURL|}}} {{{Source|}}}] | {{{Source|}}} }} }} | |||
|} | |} | ||
{{#ifeq:{{NAMESPACE}} | History |[[Category:Timeline]]{{#default_form:Timeline}} }} | |||
</includeonly> | </includeonly> | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> |
Latest revision as of 09:21, June 25, 2021
This is the "Timeline" template. It should be called in the following format:
{{Timeline |Name= |Date= |Region= |Water= |Description= |Source= |SourceURL= |Image= |Article= |Poster= |Posted= }}
Edit the page to see the template text. This template defines the table "timeline". View table.
This template stores and displays Timeline Events.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event Name | Name | Name of the historical event. | String | required |
Event Date | Date | Date of the historical event. | Date | required |
Region | Region | Where did the event occur? | String | optional |
Waterbody | Water | What waterbody was affected by the event? | String | optional |
Description | Description | Enter a brief (< 512 chrs) description of the event. | Unknown | required |
Article | Article | Optional: Select a relevant article from this site. | Page name | optional |
Source Name | Source | Enter the reference source name. | String | required |
Source URL | SourceURL | Enter the full url of the reference source (https://... ) | URL | required |
Image | Image | Optional: Enter a relevant image. | File | optional |
Poster | Poster | Auto-Filled. Admin Only. | String | required |
Posted | Posted | Auto-Filled. Admin Only. | String | required |
The above documentation is transcluded from Template:Timeline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |