Difference between revisions of "Template:AGS timeline"

From Discovery Wiki
Jump to navigationJump to search
(corrected AS input)
(updated)
Line 3: Line 3:
 
| style="text-align: center;" | {{#if: {{{1|}}} | ''{{{1}}}'' | ''{{#expr:{{{2}}} -84 }}''}} || style="text-align: center;" | {{#if: {{{1|}}} | ''{{#expr:{{{1}}} +84 }}'' | ''{{{2}}}''}} || {{{3}}}
 
| style="text-align: center;" | {{#if: {{{1|}}} | ''{{{1}}}'' | ''{{#expr:{{{2}}} -84 }}''}} || style="text-align: center;" | {{#if: {{{1|}}} | ''{{#expr:{{{1}}} +84 }}'' | ''{{{2}}}''}} || {{{3}}}
 
|-
 
|-
<noinclude>-->This template displays the date in AGS and AS as a component of the [[Timeline of Gallic history]] when provided with either date. It also displays the time line entry.  '''The template will not work if you fill in both the AS and the AGS field'''
+
<noinclude>-->Thess templates create a timleline table that displays the date in AGS and AS when provided with either date.  '''The templates will not work if you fill in both the AS and the AGS field'''
  
 
==Usage==
 
==Usage==
  
<pre>{{AGStimeline|<AGS year>|<AS year>|<info>}}</pre>
+
<pre>{{AGStimeline begin}}
 +
{{AGStimeline|<AGS year>|<AS year>|<info>}}
 +
{{AGStimeline end}}</pre>
 
==Result==
 
==Result==
 
table entry
 
table entry

Revision as of 16:54, 14 April 2010

Thess templates create a timleline table that displays the date in AGS and AS when provided with either date. The templates will not work if you fill in both the AS and the AGS field

Usage

{{AGStimeline begin}}
{{AGStimeline|<AGS year>|<AS year>|<info>}}
{{AGStimeline end}}

Result

table entry