Difference between revisions of "Template:As of"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Protected Template:As of: Excessive vandalism ([edit=autoconfirmed] (expires 13:32, 29 December 2008 (UTC)) [move=autoconfirmed] (expires 13:32, 29 December 2008 (UTC))))
m (51 revisions from wikipedia:Template:As of)
 
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly><!--
+
<!--{{As of}} begin--><includeonly><!--
  
 
## param 1 is the year
 
## param 1 is the year
Line 10: Line 10:
  
 
## displayed text ([A/a]s of [Start date] by default)
 
## displayed text ([A/a]s of [Start date] by default)
-->{{#if: {{{alt|}}} | {{{alt}}} | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of {{#if: {{{3|}}} | {{Start date | {{{1}}} | {{MONTHNUMBER|{{{2}}}}} | {{{3}}} | df={{{df|yes}}} }} | {{#if: {{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} }}}}<!--
+
-->{{#if: {{{alt|}}} | {{{alt}}} | {{#if:{{{since|}}}|{{#ifeq: {{{lc}}} | {{{lc|}}} | s | S }}ince | {{#ifeq: {{{lc}}} | {{{lc|}}} | a | A }}s of}} {{#if:{{{pre|}}}|{{{pre|}}}}} {{#if: {{{3|}}} | {{#ifeq:{{lc:{{{df|}}}}}|us|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#if: {{{2|}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} }}}}{{#if:{{{post|}}}|<nowiki />{{{post}}}}}<!--
 
+
#### That nowiki is required or, various characters (:, ;, #, and *} will be parsed as wikisyntax for list items.
 
## ref/update inline banner (hidden by default)
 
## ref/update inline banner (hidden by default)
--><sup class="plainlinks asof-tag {{#if:{{{url|}}}|ref|update}}" style="display:none;">[{{#if:{{{url|}}}|{{{url}}} &#91;ref&#93;|{{fullurl:{{PAGENAME}}|action=edit}} &#91;update&#93;}}]</sup><!--
+
--><sup class="plainlinks noprint asof-tag {{#if:{{{url|}}}|ref|update}}" style="display:none;">[{{#if:{{{url|}}}|{{{url}}} &#91;ref&#93;|{{fullurl:{{PAGENAME}}|action=edit}} &#91;update&#93;}}]</sup><!--
  
## disable categorisation outside main namespace
+
## categorisation disabled outside main namespace
-->{{main other|[[Category:Articles containing potentially dated statements from <!--
+
-->{{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
-->[[Category:All articles containing potentially dated statements]]}}<!--
+
-->All articles containing potentially dated statements}}</includeonly><!--{{As of}} end--><noinclude><!--  
  
## add categories and inter-wikis to the /doc subpage, not here
+
## dynamic example (as of today, self ref)
--></includeonly><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 &#91;ref&#93;]</sup>
 
-->As of {{Start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|df=yes}}<sup class="plainlinks">[http://en.wikipedia.org/wiki/Template:As_of &#91;ref&#93;]</sup>
  
{{documentation}}</noinclude>
+
{{documentation}}
 +
 
 +
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
 +
 
 +
</noinclude>

Latest revision as of 19:54, 6 March 2016

As of 13 May 2024 (2024-05-13)[ref]

Documentation icon Template documentation[create]