Difference between revisions of "Template:Topic"

From Discourse DB
Jump to navigation Jump to search
(More improvements)
Line 16: Line 16:
 
{{#ask:[[Addresses topic::{{PAGENAME}}]][[Category:Positions]]|query=TopicSummary|link=none}}
 
{{#ask:[[Addresses topic::{{PAGENAME}}]][[Category:Positions]]|query=TopicSummary|link=none}}
  
<font size="+1">All items that address this topic (<ask format="count"> [[Addresses topic::{{PAGENAME}}]][[Category:Items]] </ask> total)</font>
+
<font size="+1">All items that address this topic ({{#ask:[[Addresses topic::{{PAGENAME}}]][[Category:Items]]|format=count}} total)</font>
 
<hr>
 
<hr>
 
{{#ask:mainlabel=Title|sort=Was published on|order="descending"|[[Category:Items]][[Addresses topic::{{PAGENAME}}]]|? Was written by|? Was published by|? Was published on}}
 
{{#ask:mainlabel=Title|sort=Was published on|order="descending"|[[Category:Items]][[Addresses topic::{{PAGENAME}}]]|? Was written by|? Was published by|? Was published on}}
  
{{#ask:format=timeline|timelinebands=DAY,MONTH|timelineposition=end|timelinesize=400px"|[[Category:Items]][[Addresses topic::{{PAGENAME}}]]|? Was written by|? Was published by|? Was published on}}
+
{{#ask:format=timeline|timelinebands=DAY,MONTH|timelineposition=end|timelinesize=400px|[[Category:Items]][[Addresses topic::{{PAGENAME}}]]|? Was written by|? Was published by|? Was published on}}
 
[[Category:Topics]]
 
[[Category:Topics]]
 
</includeonly>
 
</includeonly>

Revision as of 03:12, October 22, 2008

This template holds information on a political topic; it should be called with the following structure:

{{source
|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.