Template:Timeline: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(56 intermediate revisions by the same user not shown)
Line 9: Line 9:
|Water=
|Water=
|Description=
|Description=
|Page=
|Source=
|Source=
|Source URL=
|SourceURL=
|Image=
|Image=
|Article=
|Poster=
|Poster=
|Posted=
|Posted=
Line 18: Line 18:
</pre>
</pre>
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|Page=Page|Source=String|Source_URL=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|}}}|Page={{{Page|}}}|Source={{{Source|}}}|Source_URL={{{Source URL|}}}|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|}}} }}
! Image
{{#ifeq:{{NAMESPACE}} | History | {{IRL header|cat=Timeline|toc=no}} }}
| {{#if:{{{Image|}}}|[[File:{{{Image|}}}|640px|frameless|center|{{{Name|}}}|link={{{Page|}}} ]] }}
{| 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|}}}
{{!}} {{{Water|}}} }}
|-
{{#if:{{{Article|}}}|
! Description
{{!}}-
| {{{Description|}}}
! Article
|-
{{!}} [[{{{Article|}}}]] }}
! Page
{{#if:{{{Source|}}}|
| {{#if:{{{Page|}}}|[[{{{Page|}}}]] }}
{{!}}-
|-
! Source
! Source
| {{#if:{{{Source|}}}|{{#if:{{{Source URL|}}}|[{{{Source URL|}}} {{{Source|}}}]}} |}}
{{!}} {{#if:{{{SourceURL|}}} | [{{{SourceURL|}}} {{{Source|}}}] | {{{Source|}}} }} }}
|-
! Poster
| {{{Poster|}}}
|-
! Posted
| {{{Posted|}}}
|}
|}
<!-- {{#default_form:Timeline}} -->
{{#ifeq:{{NAMESPACE}} | History |[[Category:Timeline]]{{#default_form:Timeline}} }}
[[Category:Timeline]]
</includeonly>
</includeonly>
<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.

Template documentation[view] [edit] [history] [purge]

This template stores and displays Timeline Events.

Template parameters

ParameterDescriptionTypeStatus
Event NameName

Name of the historical event.

Stringrequired
Event DateDate

Date of the historical event.

Daterequired
RegionRegion

Where did the event occur?

Stringoptional
WaterbodyWater

What waterbody was affected by the event?

Stringoptional
DescriptionDescription

Enter a brief (< 512 chrs) description of the event.

Unknownrequired
ArticleArticle

Optional: Select a relevant article from this site.

Page nameoptional
Source NameSource

Enter the reference source name.

Stringrequired
Source URLSourceURL

Enter the full url of the reference source (https://... )

URLrequired
ImageImage

Optional: Enter a relevant image.

Fileoptional
PosterPoster

Auto-Filled. Admin Only.

Stringrequired
PostedPosted

Auto-Filled. Admin Only.

Stringrequired