Difference between revisions of "Template:As of"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(adding template documentation)
(updating to include full categorisation)
Line 10: Line 10:
 
-->{{#if:{{{alt|}}}|{{{alt}}}|As of {{Start date|{{{1}}}|{{#if:{{{2|}}}|{{MONTHNUMBER|{{{2|}}}}}}}|{{{3|}}}|df={{{df|yes}}}}}}}<!--
 
-->{{#if:{{{alt|}}}|{{{alt}}}|As of {{Start date|{{{1}}}|{{#if:{{{2|}}}|{{MONTHNUMBER|{{{2|}}}}}}}|{{{3|}}}|df={{{df|yes}}}}}}}<!--
  
## hidden link to 'as of' pages
+
## temporal category for template
-->[[As of {{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|}} {{{1}}}|<s />]]<!--
+
-->{{#ifexpr: {{{1}}} > 2004 | [[Category:Articles containing potentially dated statements from {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}}]] | {{#ifexpr:{{{1}}} > 1989 | [[Category:Articles containing potentially dated statements from {{{1}}}]] | [[Category:Articles containing potentially dated statements]] }}}}<!--
  
## categorisation (under development - hidden categories to be created)
+
## global category for template
-->{{#ifexist:Category:As of {{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|}} {{{1}}}|[[Category:As of {{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}}|}} {{{1}}}]]|}}<!--
+
-->[[Category:All articles containing potentially dated statements]]<!--
  
 
## add categories and inter-wikis to the /doc subpage, not here
 
## add categories and inter-wikis to the /doc subpage, not here
--></includeonly><noinclude>{{template doc}}</noinclude>
+
--></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:58, 19 July 2008

Documentation icon Template documentation[create]