Home
Random
Nearby
Log in
Settings
Donate Now
If Wikipedia is useful to you, please give today.
About Wikipedia
Disclaimers
Search
Template:Date table sorting/testcases/block: Difference between revisions
Template
Talk
Language
Watch
View history
Edit
Browse history interactively
← Previous edit
Next edit →
Content deleted
Content added
Visual
Wikitext
Revision as of 13:29, 27 April 2009
edit
GregorB
(
talk
|
contribs
)
Extended confirmed users
,
Rollbackers
185,113
edits
Subst
← Previous edit
Revision as of 13:33, 27 April 2009
edit
undo
GregorB
(
talk
|
contribs
)
Extended confirmed users
,
Rollbackers
185,113
edits
Undo testing
Next edit →
Line 1:
{{#if:2009|<!--
-->{{#ifexpr:2009>0|<!--
=====================================================
= year specified as number > 0, with or without "BC"
=====================================================
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->{{#ifeq:{{lc:}}|bc|<!--
==========================================
= year specified as number > 0, with "BC"
==========================================
-->-{{#ifexpr: 2009 > 9000|0}}<!--
-->{{#ifexpr: 2009 > 9900|0}}<!--
-->{{#ifexpr: 2009 > 9990|0}}<!--
-->{{#expr:10000-2009}}|<!--
==========
= year AD
==========
-->0{{#ifexpr: 2009 < 1000|0}}<!--
-->{{#ifexpr: 2009< 100|0}}<!--
-->{{#ifexpr: 2009 < 10|0}}<!--
-->{{#expr:1*2009}} }}<!--
=============================================================================
= rest of hidden part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|-{{MONTH|1}}<!--
-->{{#if:1|-{{0expr|1}} }} }} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
=============================================================================
= visible part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:|hide||{{#ifeq:off|off|{{#ifeq:{{lc:}}|bc|{{#expr:1*2009}} BC|{{#expr:1*2009}}}}|[[{{#ifeq:{{lc:}}|bc|{{#expr:1*2009}} BC|{{#expr:1*2009}}}}]]}}}}}}</span><!--
================================
= year specified as number <= 0
================================
-->{{#ifexpr:2009<=0|<!--
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->-{{#ifexpr: 2009 < -8999|0}}<!--
-->{{#ifexpr: 2009 < -9899|0}}<!--
-->{{#ifexpr: 2009 < -9989|0}}<!--
-->{{#expr:9999+2009}}<!--
=============================================================================
// rest of hidden part for the case that the year is specified as number <= 0
=============================================================================
-->{{#if:1|-{{MONTH|1}}{{#if:1|-{{0expr|1}}}}}} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
======================================================================
// visible part for the case that the year is specified as number <= 0
======================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:|hide||{{#ifeq:off|off|{{#expr:0-2009}} BC|[[{{#expr:0-2009}} BC]]}}}}}}</span><!--
-->|<!--
--><!--
-->{{#ifexpr:{{CURRENTYEAR}}>0|<!--
=====================================================
= year specified as number > 0, with or without "BC"
=====================================================
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->{{#ifeq:{{lc:}}|bc|<!--
==========================================
= year specified as number > 0, with "BC"
==========================================
-->-{{#ifexpr: {{CURRENTYEAR}} > 9000|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} > 9900|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} > 9990|0}}<!--
-->{{#expr:10000-{{CURRENTYEAR}}}}|<!--
==========
= year AD
==========
-->0{{#ifexpr: {{CURRENTYEAR}} < 1000|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}}< 100|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} < 10|0}}<!--
-->{{#expr:1*{{CURRENTYEAR}}}} }}<!--
=============================================================================
= rest of hidden part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|-{{MONTH|1}}<!--
-->{{#if:1|-{{0expr|1}} }} }} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
=============================================================================
= visible part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:hide|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:hide|hide||{{#ifeq:off|off|{{#ifeq:{{lc:}}|bc|{{#expr:1*{{CURRENTYEAR}}}} BC|{{#expr:1*{{CURRENTYEAR}}}}}}|[[{{#ifeq:{{lc:}}|bc|{{#expr:1*{{CURRENTYEAR}}}} BC|{{#expr:1*{{CURRENTYEAR}}}}}}]]}}}}}}</span><!--
================================
= year specified as number <= 0
================================
-->{{#ifexpr:{{CURRENTYEAR}}<=0|<!--
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->-{{#ifexpr: {{CURRENTYEAR}} < -8999|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} < -9899|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} < -9989|0}}<!--
-->{{#expr:9999+{{CURRENTYEAR}}}}<!--
=============================================================================
// rest of hidden part for the case that the year is specified as number <= 0
=============================================================================
-->{{#if:1|-{{MONTH|1}}{{#if:1|-{{0expr|1}}}}}} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
======================================================================
// visible part for the case that the year is specified as number <= 0
======================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:hide|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:hide|hide||{{#ifeq:off|off|{{#expr:0-{{CURRENTYEAR}}}} BC|[[{{#expr:0-{{CURRENTYEAR}}}} BC]]}}}}}}</span><!--
--><!--
-->}}
{{#if:2009|<!--
-->{{#ifexpr:2009>0|<!--
=====================================================
= year specified as number > 0, with or without "BC"
=====================================================
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->{{#ifeq:{{lc:}}|bc|<!--
==========================================
= year specified as number > 0, with "BC"
==========================================
-->-{{#ifexpr: 2009 > 9000|0}}<!--
-->{{#ifexpr: 2009 > 9900|0}}<!--
-->{{#ifexpr: 2009 > 9990|0}}<!--
-->{{#expr:10000-2009}}|<!--
==========
= year AD
==========
-->0{{#ifexpr: 2009 < 1000|0}}<!--
-->{{#ifexpr: 2009< 100|0}}<!--
-->{{#ifexpr: 2009 < 10|0}}<!--
-->{{#expr:1*2009}} }}<!--
=============================================================================
= rest of hidden part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|-{{MONTH|1}}<!--
-->{{#if:1|-{{0expr|1}} }} }} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
=============================================================================
= visible part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:|hide||{{#ifeq:off|off|{{#ifeq:{{lc:}}|bc|{{#expr:1*2009}} BC|{{#expr:1*2009}}}}|[[{{#ifeq:{{lc:}}|bc|{{#expr:1*2009}} BC|{{#expr:1*2009}}}}]]}}}}}}</span><!--
================================
= year specified as number <= 0
================================
-->{{#ifexpr:2009<=0|<!--
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->-{{#ifexpr: 2009 < -8999|0}}<!--
-->{{#ifexpr: 2009 < -9899|0}}<!--
-->{{#ifexpr: 2009 < -9989|0}}<!--
-->{{#expr:9999+2009}}<!--
=============================================================================
// rest of hidden part for the case that the year is specified as number <= 0
=============================================================================
-->{{#if:1|-{{MONTH|1}}{{#if:1|-{{0expr|1}}}}}} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
======================================================================
// visible part for the case that the year is specified as number <= 0
======================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:|hide||{{#ifeq:off|off|{{#expr:0-2009}} BC|[[{{#expr:0-2009}} BC]]}}}}}}</span><!--
-->|<!--
--><!--
-->{{#ifexpr:{{CURRENTYEAR}}>0|<!--
=====================================================
= year specified as number > 0, with or without "BC"
=====================================================
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->{{#ifeq:{{lc:}}|bc|<!--
==========================================
= year specified as number > 0, with "BC"
==========================================
-->-{{#ifexpr: {{CURRENTYEAR}} > 9000|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} > 9900|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} > 9990|0}}<!--
-->{{#expr:10000-{{CURRENTYEAR}}}}|<!--
==========
= year AD
==========
-->0{{#ifexpr: {{CURRENTYEAR}} < 1000|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}}< 100|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} < 10|0}}<!--
-->{{#expr:1*{{CURRENTYEAR}}}} }}<!--
=============================================================================
= rest of hidden part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|-{{MONTH|1}}<!--
-->{{#if:1|-{{0expr|1}} }} }} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
=============================================================================
= visible part for the case that the year is specified as number > 0,
= with or without "BC"
=============================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:hide|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:hide|hide||{{#ifeq:off|off|{{#ifeq:{{lc:}}|bc|{{#expr:1*{{CURRENTYEAR}}}} BC|{{#expr:1*{{CURRENTYEAR}}}}}}|[[{{#ifeq:{{lc:}}|bc|{{#expr:1*{{CURRENTYEAR}}}} BC|{{#expr:1*{{CURRENTYEAR}}}}}}]]}}}}}}</span><!--
================================
= year specified as number <= 0
================================
-->{{#ifexpr:{{CURRENTYEAR}}<=0|<!--
--><span style="{{#ifeq:|yes|border:1px solid|display:none}}"><!--
-->-{{#ifexpr: {{CURRENTYEAR}} < -8999|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} < -9899|0}}<!--
-->{{#ifexpr: {{CURRENTYEAR}} < -9989|0}}<!--
-->{{#expr:9999+{{CURRENTYEAR}}}}<!--
=============================================================================
// rest of hidden part for the case that the year is specified as number <= 0
=============================================================================
-->{{#if:1|-{{MONTH|1}}{{#if:1|-{{0expr|1}}}}}} </span><span style="{{#ifeq:|off||white-space:nowrap;}}"><!--
======================================================================
// visible part for the case that the year is specified as number <= 0
======================================================================
-->{{#if:1|{{#ifeq:off|off|{{#ifeq:|dmy|{{#if:1|1}} {{MONTHNAME|1}}|{{MONTHNAME|1}} {{#if:1|1{{#ifeq:hide|hide||,}}}}}}|[[{{MONTHNAME|1}} 1]]}}}} {{#ifeq:hide|hide||{{#ifeq:off|off|{{#expr:0-{{CURRENTYEAR}}}} BC|[[{{#expr:0-{{CURRENTYEAR}}}} BC]]}}}}}}</span><!--
--><!--
-->}}