Difference between revisions of "Template:Start date and age"

From The iPhone Wiki
Jump to: navigation, search
m (Attempting to be consistent.)
(update)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
 
 
IMPLEMENTATION OF DATE
 
 
 
 
-->{{#if: {{{1|}}}<!--
 
-->{{#if: {{{1|}}}<!--
-->|{{#if: {{{2|}}}<!--
+
-->|{{date|{{{1|}}}|{{{2|}}}|{{{3|}}}}}<!--
-->|{{#if: {{{3|}}}<!--
 
-->|{{#ifeq: {{{df|}}}|yes<!--
 
-->|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}<!--
 
-->|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},<!--
 
-->}} {{{1}}}<!--
 
-->|{{MONTHNAME|{{{2}}}}} {{{1}}}<!--
 
-->}}<!--
 
-->|{{{1}}}<!--
 
-->}}<!--
 
 
--><span class="noprint">; <!--
 
--><span class="noprint">; <!--
 
-->{{#ifeq:{{{br|}}}|yes|<br/>|}}<!--
 
-->{{#ifeq:{{{br|}}}|yes|<br/>|}}<!--
Line 21: Line 7:
 
-->|{{{1}}}<!--
 
-->|{{{1}}}<!--
 
-->-<!--
 
-->-<!--
-->{{{2|{{CURRENTDAY}}}}}<!--
+
-->{{{2|{{CURRENTMONTH}}}}}<!--
 
-->-<!--
 
-->-<!--
-->{{{3|{{CURRENTMONTH}}}}}<!--
+
-->{{{3|{{CURRENTDAY}}}}}<!--
 
-->|min_magnitude=days<!--
 
-->|min_magnitude=days<!--
 
-->}}<!--
 
-->}}<!--
 
--></span><!--
 
--></span><!--
-->|'''{{color|red|Error: No parameters}}'''<!--
+
-->|'''<span style="color:red;">Error: No parameters</span>'''<!--
-->}}<!--
+
-->}}</includeonly>
 
 
IMPLEMENTATION OF microformat date classes
 
 
 
--><span style="display:none">&#160;(<span class="bday dtstart published updated"><!--
 
-->{{#if: {{{1|}}}<!--
 
-->|{{{1}}}<!--
 
-->{{#if: {{{2|}}}<!--
 
-->| -{{padleft:{{{2}}}|2|0}}<!--
 
-->{{#if: {{{3|}}}<!--
 
-->| -{{padleft:{{{3}}}|2|0}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
 
--></span>)</span></includeonly>
 

Latest revision as of 20:14, 12 March 2015