Template:As of: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(added Category:Redirects from "As of" for easy reference)
(template expansion - correct categorisation and linking (hidden) and additional functionality)
Line 1: Line 1:
<includeonly><!--
[[{{{1}}}|As of {{{1}}}]]<noinclude>


## 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