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

From eVision
Jump to: navigation, search
(Undid revision 599176981 by Dodi 8238 (talk) rv: (i) WP:ILLs are now on Wikidata, see d:Q6558140; (ii) ILLs, if present, must either be on doc page or inside the <noinclude></noinclude>)
 
m (1 revision)
 
Line 1: Line 1:
−
<includeonly><!--
 
  
−
    IMPLEMENTATION OF DATE
 
−
 
−
-->{{#if: {{{1|}}}<!--
 
−
  -->|{{#if: {{{2|}}}<!--
 
−
    -->|{{#if: {{{3|}}}<!--
 
−
        -->|{{#ifeq:{{yesno|{{{df|no}}}}}|yes<!--
 
−
          -->|{{#expr:{{{3}}}}}&nbsp;{{MONTHNAME|{{{2}}}}}<!--
 
−
          -->|{{MONTHNAME|{{{2}}}}}&nbsp;{{#expr:{{{3}}}}},<!--
 
−
          -->}} {{{1}}}<!--
 
−
        -->|{{MONTHNAME|{{{2}}}}}&nbsp;{{{1}}}<!--
 
−
        -->}}<!--
 
−
    -->|{{{1}}}<!--
 
−
    -->}}<!--
 
−
    --><span class="noprint">{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes||&#059;}}<!--
 
−
    -->{{#ifeq:{{yesno|{{{br|no}}}}}|yes|<br/>|&#032;}}<!--
 
−
    -->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|(}}<!--
 
−
    -->{{#if: {{{2|}}}<!--
 
−
      -->|{{#if: {{{3|}}}<!--
 
−
          -->|{{time ago|{{{1}}}-{{{2}}}-{{{3}}}|min_magnitude=days}}<!--
 
−
          -->|{{years or months ago|{{{1}}}|{{#time:n|1-{{{2}}}-1}}}}<!--
 
−
          -->}}<!--
 
−
      -->|{{#iferror:{{#expr:{{{1}}}}}<!--
 
−
          -->|{{time ago|{{{1}}}|min_magnitude=days}}<!--
 
−
          -->|{{years or months ago|{{{1}}}}}<!--
 
−
          -->}}<!--
 
−
      -->}}<!--
 
−
    -->{{#ifeq:{{yesno|{{{paren|{{{p|no}}}}}}}}|yes|)}}</span><!--
 
−
  -->|'''{{color|red|Error: first parameter is missing.}}'''<!--
 
−
-->}}<!--
 
−
 
−
    IMPLEMENTATION OF microformat date classes
 
−
 
−
--><span style="display:none">&#160;(<span class="{{#ifeq:{{yesno|{{{end|no}}}}}|yes|dtend|bday dtstart published updated}}"><!--
 
−
-->{{#if: {{{1|}}}<!--
 
−
  -->|{{{1}}}<!--
 
−
  -->{{#if: {{{2|}}}<!--
 
−
    -->| -{{#time:m|1-{{{2}}}-1}}<!--
 
−
      -->{{#if: {{{3|}}}<!--
 
−
        -->| -{{padleft:{{{3}}}|2|0}}<!--
 
−
        -->}}<!--
 
−
    -->}}<!--
 
−
  -->}}<!--
 
−
--></span>)</span></includeonly><noinclude>
 
−
{{documentation}}
 
−
</noinclude>
 

Latest revision as of 13:01, 17 July 2014