Template:As of: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Rich Farmbrough (Undid revision 313438186 by Rich Farmbrough (talk)) |
meta>Rich Farmbrough (MIgrate to DMCA) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <!--{{As of}} begin--><includeonly><!-- | ||
## param 1 is the year | ## param 1 is the year | ||
Line 15: | Line 15: | ||
--><sup class="plainlinks noprint asof-tag {{#if:{{{url|}}}|ref|update}}" style="display:none;">[{{#if:{{{url|}}}|{{{url}}} [ref]|{{fullurl:{{PAGENAME}}|action=edit}} [update]}}]</sup><!-- | --><sup class="plainlinks noprint asof-tag {{#if:{{{url|}}}|ref|update}}" style="display:none;">[{{#if:{{{url|}}}|{{{url}}} [ref]|{{fullurl:{{PAGENAME}}|action=edit}} [update]}}]</sup><!-- | ||
## | ## categorisation disabled outside main namespace | ||
-->{{ | -->{{DMCA|Articles containing potentially dated statements|from|<!-- | ||
## temporal category for template (word method) | ## temporal category for template (word method) | ||
Line 22: | Line 22: | ||
## temporal category for template (parameter method) | ## temporal category for template (parameter method) | ||
-->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}} | -->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!-- | ||
## global category for template | ## global category for template | ||
--> | -->All articles containing potentially dated statements}}</includeonly><!--{{As of}} end--><noinclude><!-- | ||
## | ## dynamic example (as of today, self ref) | ||
-->As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=yes}}<sup class="plainlinks">[http://en.wikipedia.org/wiki/Template:As_of [ref]]</sup> | -->As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=yes}}<sup class="plainlinks">[http://en.wikipedia.org/wiki/Template:As_of [ref]]</sup> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{documentation}}</noinclude> | {{documentation}} | ||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | |||
</noinclude> |