Template:Chronology Entry: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
</noinclude><includeonly>{{Chronology Box}}{{#set:Headline={{{Headline|}}}|Year={{{Year|}}}|Year Suffix={{{Year Suffix|}}}|Year Number={{{Year Number|}}}|Reviewed={{{Reviewed|}}}|Has Supplemental Text={{{Has Supplemental Text|}}}}}{{Reviewed|{{{Reviewed|}}}|Chronology Entry}}
</noinclude><includeonly>{{Chronology Box}}{{#set:Headline={{{Headline|}}}|Year={{{Year|}}}|Year Suffix={{{Year Suffix|}}}|Year Number={{{Year Number|}}}|Reviewed={{{Reviewed|}}}|Has Supplemental Text={{{Has Supplemental Text|}}}}}{{Reviewed|{{{Reviewed|}}}|Chronology Entry}}
{{Subtitle|{{{Headline}}}}}
{{Subtitle|{{{Headline}}}}}
{| class=record
{| class=record {{#if: {{{Salience|}}}||class=hidden}}
! {{#if: {{{Salience|}}} | Salience }}
! Salience
| {{Salience|{{{Salience}}}}} {{#set:Salience={{{Salience|}}}}}
| {{Salience|{{{Salience}}}}} {{#set:Salience={{{Salience|}}}}}
|-
|- {{#if: {{{Tags|}}}||class=hidden}}
! {{#if: {{{Tags|}}} | Tags }}
! Tags
| {{#arraymap:{{{Tags|}}}|,|x|[[Tags::x]]}}
| {{#arraymap:{{{Tags|}}}|,|x|[[Tags::x]]}}
|-
|- {{#if: {{{Location|}}} || class=hidden }}
! {{#if: {{{Location|}}} | Location }}
! Location
| [[Location::{{{Location|}}}]]
| [[Location::{{{Location|}}}]]
|-
|- {{#if: {{{Coordinates|}}} || class=hidden }}
! {{#if: {{{Coordinates|}}} | Coordinates }}
! Coordinates
| [[Coordinates::{{{Coordinates|}}}]]
| [[Coordinates::{{{Coordinates|}}}]]
|-
|- {{#if: {{{Game|}}} || class=hidden }}
! {{#if: {{{Game|}}} | Game }}
! Game
| [[Game::{{{Game|}}}]]
| [[Game::{{{Game|}}}]]
|-
|- {{#if: {{{Age of Players|}}} || class=hidden }}
! {{#if: {{{Age of Players|}}} | Age of Players }}
! Age of Players
| [[Age of Players::{{{Age of Players|}}}]]
| [[Age of Players::{{{Age of Players|}}}]]
|-
|- {{#if: {{{Holiday|}}} || class=hidden }}
! {{#if: {{{Holiday|}}} | Holiday }}
! Holiday
| [[Holiday::{{{Holiday|}}}]]
| [[Holiday::{{{Holiday|}}}]]
|-
|- {{#if: {{{Notables|}}} || class=hidden }}
! {{#if: {{{Notables|}}} | Notables }}
! Notables
| {{#arraymap:{{{Notables|}}}|,|x|[[Notables::x]]}}
| {{#arraymap:{{{Notables|}}}|,|x|[[Notables::x]]}}
|-
|- {{#if: {{{Text|}}} || class=hidden }}
! {{#if: {{{Text|}}} | Text }}
! Text
| [[Text::{{{Text|}}}]]
| [[Text::{{{Text|}}}]]
|-
|- {{#if: {{{Warning|}}} || class=hidden }}
! {{#if: {{{Warning|}}} | Warning }}
! Warning
| [[Warning::{{{Warning|}}}]]
| [[Warning::{{{Warning|}}}]]
|-
|- {{#if: {{{Comment|}}} || class=hidden }}
! {{#if: {{{Comment|}}} | Comment }}
! Comment
| [[Comment::{{{Comment|}}}]]
| [[Comment::{{{Comment|}}}]]
|-
|- {{#if: {{{Query|}}} || class=hidden }}
! {{#if: {{{Query|}}} | Query }}
! Query
| [[Query::{{{Query|}}}]]  
| [[Query::{{{Query|}}}]]  
|-
|- {{#if: {{{Source Image|}}} || class=hidden }}
! {{#if: {{{Source Image|}}} | Source Image }}
! Source Image
| [[Source Image::{{{Source Image|}}}]]
| [[Source Image::{{{Source Image|}}}]]
|-
|- {{#if: {{{External Number|}}} || class=hidden }}
! {{#if: {{{External Number|}}} | External Number }}
! External Number
| [[External Number::{{{External Number|}}}]]
| [[External Number::{{{External Number|}}}]]
|-
|- {{#if: {{{Submitted by|}}} || class=hidden }}
! {{#if: {{{Submitted by|}}} | Submitted by }}
! Submitted by
| [[Submitted by::{{{Submitted by|}}}]]
| [[Submitted by::{{{Submitted by|}}}]]
|-
|- {{#ifeq: {{{Has Supplemental Text|}}}|Yes|| class=hidden }}
! {{#ifeq: {{{Has Supplemental Text|}}}|Yes|Has Supplemental Text}}
! Has Supplemental Text
| {{#ifeq: {{{Has Supplemental Text|}}}|Yes|Yes [[{{PAGENAME}}#Supplemental Text|<i class="icon-hand-down"></i>]]}}
| {{#ifeq: {{{Has Supplemental Text|}}}|Yes|Yes [[{{PAGENAME}}#Supplemental Text|<i class="icon-hand-down"></i>]]}}
|}
|}

Revision as of 09:44, 1 November 2012

This is the "Chronology Entry" template. It should be called in the following format:

{{Chronology Entry
|Headline=
|Year=
|Year Suffix=
|Year Number=
|Salience=
|Tags=
|Location=
|Coordinates=
|Game=
|Age of Players=
|Holiday=
|Notables=
|Text=
|Warning=
|Comment=
|Query=
|Source Image=
|External Number=
|Reviewed=
|Submitted by=
|Has Supplemental Text=
}}

Edit the page to see the template text.