Template:Topic: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) (Updated) |
Yaron Koren (talk | contribs) (Improved display of dates) |
||
Line 1: | Line 1: | ||
<noinclude>This template holds information on a political topic | <noinclude>This template holds information on a political topic. It should be called in the following format: | ||
<pre>{{Topic | <pre>{{Topic | ||
|Start date=The date at which the topic started, if there was one | |Start date=The date at which the topic started, if there was one | ||
Line 10: | Line 10: | ||
The order of the fields is not relevant. | The order of the fields is not relevant. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
This is a [[:Category:Topics|topic]], with | This is a [[:Category:Topics|topic]], with {{#if:{{{start date|}}}|start date [[Has start date::{{{start date}}}]]|unknown start date}} and {{#if:{{{end date|}}}|end date [[Has end date::{{{end date}}}]]|unknown end date}}. | ||
Its theme(s) are {{#arraymap:{{{Themes|}}}|,|x|[[Has theme::x]]}}. | Its theme(s) are {{#arraymap:{{{Themes|}}}|,|x|[[Has theme::x]]}}. |
Revision as of 21:26, April 27, 2010
This template holds information on a political topic. It should be called in the following format:
{{Topic |Start date=The date at which the topic started, if there was one |End date=The date at which the topic ended, if there was one |Themes=The theme(s) of this topic, separated by commas if there's more than one }}
An example of start and end date would be, if the topic is a bill, the date the bill was introduced in Congress, and the date it was signed into law, respectively.
The order of the fields is not relevant.