Misplaced Pages

Template:Numrec: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactivelyNext edit →Content deleted Content addedVisualWikitext
Revision as of 02:20, 18 October 2011 view sourceDanlaycock (talk | contribs)Autopatrolled, Extended confirmed users, File movers, Pending changes reviewers, Rollbackers, Template editors31,498 edits for use on Template:Palrec and Template:Kosovorecognition. work in progress.  Revision as of 02:23, 18 October 2011 view source Danlaycock (talk | contribs)Autopatrolled, Extended confirmed users, File movers, Pending changes reviewers, Rollbackers, Template editors31,498 edits try againNext edit →
Line 1: Line 1:
<includeonly><noinclude></includeonly><!--{{As of}} begin--><!-- <includeonly><noinclude></includeonly>{{DMCA|Articles containing potentially dated statements|from|{{{1}}} {{{2}}}|All articles containing potentially dated statements}}<includeonly></noinclude></includeonly>

## param 1 is the year
## optional param 2 is the month
## optional param 3 is the day of the month
## optional named parameter alt= is alternative display text (may include wiki markup)
## optional named parameter df=US produces American date format in displayed text
## optional named parameter lc=on gives lower-case-first output
## optional named parameter url= gives statement reference

## displayed text (s of by default)
-->{{#if: | {{{alt}}} | {{#ifeq: {{{lc}}} | | a | A }}s of {{#if: {{{3}}} | {{Start date | {{{1}}} | {{MONTHNUMBER|{{{2}}}}} | {{{3}}} | df={{#ifeq:{{lc:}}|us||yes}} }} | {{#if: {{{2}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} }}}}<!--

## ref/update inline banner (hidden by default)
--><sup class="plainlinks noprint asof-tag {{#if:|ref|update}}" style="display:none;"></sup><!--

## categorisation disabled outside main namespace
-->{{DMCA|Articles containing potentially dated statements|from|<!--

## temporal category for template (word method)
-->{{#if: {{#ifexpr: {{{1}}} = 1 }} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 2004 | {{{1}}} | {{#ifexpr: {{#time:Y|{{{1}}}}} > 1989 | {{#time:Y|{{{1}}}}} | before 1990 }}}} | <!--

## temporal category for template (parameter method)
-->{{#ifexpr: {{{1}}} > 2004 | {{#if:{{{2}}} | {{MONTHNAME|{{{2}}}}} }} {{{1}}} | {{#ifexpr:{{{1}}} > 1989 | {{{1}}} | before 1990 }}}}}}|<!--

## global category for template
-->All articles containing potentially dated statements}}<!--{{As of}} end--><includeonly></noinclude></includeonly>

Revision as of 02:23, 18 October 2011