Diferencia entre revisiones de «Plantilla:DP-Autor»
Contenido eliminado Contenido añadido
test |
m + |
||
Línea 1: | Línea 1: | ||
<includeonly>{{#if:{{{1}}}|<!-- |
<includeonly><!-- |
||
-->{{#if:{{{1}}}|<!-- |
|||
-->{{#iferror:<!--Si no hay error, calcular |
---->{{#iferror:<!--Si no hay error, calcular |
||
-->{{#ifexpr:{{#time:Y}}-{{{1}}}>100|{{DP-AUTOR-100}}| |
------>{{#ifexpr:{{#time:Y}}-{{{1}}}>100|{{DP-AUTOR-100}}|<!-- |
||
{{#ifexpr:{{#time:Y}}-{{{1}}}>70|{{DP-AUTOR-70 |
-------->{{#ifexpr:{{#time:Y}}-{{{1}}}>70|{{DP-AUTOR-70}}|{{DP-AUTOR-none}}}}<!-- |
||
-->{{DP-AUTOR-100}}}}<!--Si hay error, marcar que tiene copyright |
------>}}|<!-- |
||
---->{{DP-AUTOR-100}}<!-- |
|||
---->}}|<!--Si hay error, marcar que tiene copyright |
|||
-->{{DP-AUTOR-none}}}}<!--Falta {{{1}}}--> |
-->{{DP-AUTOR-none}}}}<!--Falta {{{1}}}--> |
||
</includeonly> |
</includeonly> |
Revisión del 00:59 30 mar 2013
PLANTILLA EN DESARROLLO. NO USAR
Uso:
{{DP-Autor|año de la muerte del autor}}
Por ejemplo:
{{DP-Autor|1896}}
Según los años que hayan transcurrido, aparecerá la plantilla {{DP-AUTOR-100}}, {{DP-AUTOR-70}}, {{DP-AUTOR-50}} o {{DP-AUTOR-none}}.
Los primeros días de cada año el sistema puede tardar en detectar el nuevo año de forma que puede aparecer una plantilla equivocada (temporalmente).