Plantilla:Data: diferència entre les revisions

Contingut suprimit Contingut afegit
m Revertides les edicions de Gerardduenas (discussió) a l'última versió de PereBot
nova versió, actualitzada de l'anglesa i amb correcció de problema amb juny
Línia 1:
{{Data/base
<includeonly>{{{{#ifeq:{{</includeonly><includeonly>subst:</includeonly><includeonly>void}}|{{void}}|{{#ifeq:{{NAMESPACE}}|Template|void|Echo}}|void}}|1=<span style="font-size:large; color:red;">'''<nowiki>{{</nowiki>date<nowiki>}}</nowiki> must not be [[Wikipedia:Template substitution|substituted]]. Use <span style="color:green;"><nowiki>{{subst:</nowiki>[[Template:today|today]]<nowiki>}}</nowiki></span> instead.'''</span>}}<includeonly><span class="wpAutoDate">{{#iferror:{{#time: Y|{{{1|einval}}} }}
|1={{lc:{{#invoke:string|replace|source={{{1|}}}|pattern=[Jj]uny|replace=jun|plain=false}}}}
|{{{1|{{ #time:j F Y| }}}}}
|2={{{2|}}}
|{{#time:{{#ifeq:{{#time:Y|{{{1|einval}}} 2000}}|{{#time:Y|{{{1|einval}}} 2001}}|j F Y|j F}}|{{{1|einval}}} }}<!-- -->}}</span></includeonly><noinclude>
|3={{{3|}}}
<!--
}}<noinclude>
** The reformatting stuff is temporary and pending resolution of bug #4582.
{{ús de la plantilla}}
** It would not have been necessary at the moment either if someone didn't
** "urgently" need to have dates reformatted.
** A handler for wpAutoDate is in the works. PLEASE BE PATIENT.
-->
{{template doc}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
 
<noinclude>
[[Categoria:Plantilles]]
 
[[Categoria:Plantilles sense TemplateData]]</noinclude>