Difference between revisions of "Template:Event in this country"

From Fab Lab Wiki - by NMÍ Kvikan
Jump to: navigation, search
 
Line 1: Line 1:
{| width="100%"
+
<noinclude>
!In Progress
+
This is the "Event in this country" template.
----
+
It should be called in the following format:
|-
+
<pre>
|{{#ask: [[Category:Event]] [[country::{{PAGENAME}}]] [[Start date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] [[End date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] |? Start date= |? End date=|format=ul | default=None}}
+
{{Event in this country
|-
+
|=
!Upcoming
+
}}
----
+
</pre>
|-
+
Edit the page to see the template text.
|{{#ask: [[Category:Event]] [[country::{{PAGENAME}}]] [[Start date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] |? Start date= |? End date=|format=ul | |format=ul | limit=100 | default=None|sort=Start date|order=asc}}
+
</noinclude><includeonly>
|-
+
{| class="wikitable"
!Past
+
!  
----
+
| {{{|}}}
|-
+
|{{#ask: [[Category:Event]] [[country::{{PAGENAME}}]] [[End date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]] |? Start date= |? End date=|format=ul | |format=ul | limit=10 | default=None|sort=End date|order=desc}}
+
 
|}
 
|}
  
 
[[Category:Country]]
 
[[Category:Country]]
 +
</includeonly>

Latest revision as of 14:52, 7 December 2013

This is the "Event in this country" template. It should be called in the following format:

{{Event in this country
|=
}}

Edit the page to see the template text.