Difference between revisions of "Template:As of"

From SVR Wiki
Jump to: navigation, search
(added Category:Redirects from "As of" for easy reference)
(template expansion - correct categorisation and linking (hidden) and additional functionality)
Line 1: Line 1:
[[{{{1}}}|As of {{{1}}}]]<noinclude>
+
<includeonly><!--
  
 +
## param 1 is the year (or month-year conjugation for backwards compatibility, deprecated)
 +
## optional param 2 is the month
 +
## optional param 3 is the day of the month
 +
## optional named parameter alt=[text] is alternative display text (may include wiki markup)
 +
## optional named parameter df=US produces American date format in displayed text
 +
 +
## displayed text (as of [Start date] by default)
 +
-->{{#if:{{{alt|}}}|{{{alt}}}|As of {{Start date|{{{1}}}|{{{2|}}}|{{{3|}}}|df={{{df|yes}}}}}<!--
 +
 +
## hidden link to 'as of' pages
 +
-->[[As of {{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}} |}}{{{1}}}|<s />]]<!--
 +
 +
## categorisation (under development - hidden categories to be created)
 +
-->{{#ifexist:Category:As of {{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}} |}}{{{1}}}|[[Category:As of {{#if:{{{2|}}}|{{MONTHNAME|{{{2}}}}} |}}{{{1}}}]]|}}<!--
 +
 +
--></includeonly><noinclude>
 
[[Category:Redirects from "As of"]]
 
[[Category:Redirects from "As of"]]
 
</noinclude>
 
</noinclude>

Revision as of 16:32, 9 July 2008