YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:AGS timeline"

From Discovery Wiki
Jump to navigationJump to search
(put if's inside table...)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude><!--</noinclude>
 
<noinclude><!--</noinclude>
 
|-
 
|-
| style="text-align: center;" | {{#if: {{{1|}}} |: ''{{{1}}}'' |: ''{{#expr:{{{2}}} -84 }}''}} || style="text-align: center;" | {{#if: {{{1|}}} |: ''{{#expr:{{{1}}} +84 }}'' |: ''{{#expr:{{{2}}} -84 }}''}} || {{{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>{{AGS timeline/begin}}
 +
{{AGS timeline|<AGS year>|<AS year>|<info>}}
 +
{{AGS timeline/end}}</pre>
 
==Result==
 
==Result==
table entry
+
<pre>{{AGS timeline/begin}}
 +
{{AGS timeline|0||The ''Gallia'' Sleeper Ship arrives at [[Planet New Paris]], in the [[Ile-de-France]] system.}}
 +
{{AGS timeline||108|Example stuff happens.}}
 +
{{AGS timeline/end}}</pre>
 +
 
 +
{{AGS timeline/begin}}
 +
{{AGS timeline|0||The ''Gallia'' Sleeper Ship arrives at [[Planet New Paris]], in the [[Ile-de-France]] system.}}
 +
{{AGS timeline||108|Example stuff happens.}}
 +
{{AGS timeline/end}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:01, 5 February 2012

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

{{AGS timeline/begin}}
{{AGS timeline|<AGS year>|<AS year>|<info>}}
{{AGS timeline/end}}

Result

{{AGS timeline/begin}}
{{AGS timeline|0||The ''Gallia'' Sleeper Ship arrives at [[Planet New Paris]], in the [[Ile-de-France]] system.}}
{{AGS timeline||108|Example stuff happens.}}
{{AGS timeline/end}}


Year Year Event
(A.G.S.) (A.S.)
0 84 The Gallia Sleeper Ship arrives at Planet New Paris, in the Ile-de-France system.
24 108 Example stuff happens.