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

From The iPhone Wiki
Jump to: navigation, search
m
(update)
 
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|{{{3}}}}} {{#expr:{{{2}}}}},<!--
 
-->}} {{{1}}}<!--
 
-->|{{MONTHNAME|{{{3}}}}} {{{2}}}<!--
 
-->}}<!--
 
-->|{{{1}}}<!--
 
-->}}<!--
 
 
--><span class="noprint">; <!--
 
--><span class="noprint">; <!--
 
-->{{#ifeq:{{{br|}}}|yes|<br/>|}}<!--
 
-->{{#ifeq:{{{br|}}}|yes|<br/>|}}<!--
Line 28: Line 14:
 
--></span><!--
 
--></span><!--
 
-->|'''<span style="color:red;">Error: No parameters</span>'''<!--
 
-->|'''<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