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
(template for the gallic table, WIP)
 
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude><!--</noinclude>
 
<noinclude><!--</noinclude>
style="text-align: center;" | ''{{{1}}}'' || style="text-align: center;" | ''{{#expr:{{{1}}} +84 }}''  
+
|-
<noinclude>-->This template displays the date in AGS and AS when provided with an AGS date.  
+
| style="text-align: center;" | {{#if: {{{1|}}} | ''{{{1}}}'' | ''{{#expr:{{{2}}} -84 }}''}} || style="text-align: center;" | {{#if: {{{1|}}} | ''{{#expr:{{{1}}} +84 }}'' | ''{{{2}}}''}} || {{{3}}}
 +
|-
 +
<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| <year> }}</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.