Modèle:Dates : Différence entre versions
De EncyclopAtys
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{#iferror: {{#expr: {{PAGENAME}} }} | test<!--{{tape|palette=KO|text=<big>'''Error: the pagename is not a number'''</big>}}--> | | <includeonly>{{#iferror: {{#expr: {{PAGENAME}} }} | test<!--{{tape|palette=KO|text=<big>'''Error: the pagename is not a number'''</big>}}--> | | ||
{{{!}} align=center style="border-style:solid;border-width:1px;border-color:#111111;background-color:#FFEFD4; margin:1em; padding:0 .5em; border: #099 medium outset;border-radius:.5em;background: linear-gradient(to right, #fee , #efe, #eef);" | {{{!}} align=center style="border-style:solid;border-width:1px;border-color:#111111;background-color:#FFEFD4; margin:1em; padding:0 .5em; border: #099 medium outset;border-radius:.5em;background: linear-gradient(to right, #fee , #efe, #eef);" | ||
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-9}} | '''[[{{#expr:{{PAGENAME}}-9}}]]''' | {{petit|{{#expr:{{PAGENAME}}-9}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-8}} | '''[[{{#expr:{{PAGENAME}}-8}}]]''' | {{petit|{{#expr:{{PAGENAME}}-8}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-7}} | '''[[{{#expr:{{PAGENAME}}-7}}]]''' | {{petit|{{#expr:{{PAGENAME}}-7}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-6}} | '''[[{{#expr:{{PAGENAME}}-6}}]]''' | {{petit|{{#expr:{{PAGENAME}}-6}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-5}} | '''[[{{#expr:{{PAGENAME}}-5}}]]''' | {{petit|{{#expr:{{PAGENAME}}-5}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-4}} | '''[[{{#expr:{{PAGENAME}}-4}}]]''' | {{petit|{{#expr:{{PAGENAME}}-4}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-3}} | '''[[{{#expr:{{PAGENAME}}-3}}]]''' | {{petit|{{#expr:{{PAGENAME}}-3}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-2}} | '''[[{{#expr:{{PAGENAME}}-2}}]]''' | {{petit|{{#expr:{{PAGENAME}}-2}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-1}} | '''[[{{#expr:{{PAGENAME}}-1}}]]''' | {{petit|{{#expr:{{PAGENAME}}-1}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}-0}} | '''[[{{#expr:{{PAGENAME}}-0}}]]''' | {{petit|{{#expr:{{PAGENAME}}-0}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+1}} | '''[[{{#expr:{{PAGENAME}}+1}}]]''' | {{petit|{{#expr:{{PAGENAME}}+1}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+2}} | '''[[{{#expr:{{PAGENAME}}+2}}]]''' | {{petit|{{#expr:{{PAGENAME}}+2}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+3}} | '''[[{{#expr:{{PAGENAME}}+3}}]]''' | {{petit|{{#expr:{{PAGENAME}}+3}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+4}} | '''[[{{#expr:{{PAGENAME}}+4}}]]''' | {{petit|{{#expr:{{PAGENAME}}+4}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+5}} | '''[[{{#expr:{{PAGENAME}}+5}}]]''' | {{petit|{{#expr:{{PAGENAME}}+5}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+6}} | '''[[{{#expr:{{PAGENAME}}+6}}]]''' | {{petit|{{#expr:{{PAGENAME}}+6}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+7}} | '''[[{{#expr:{{PAGENAME}}+7}}]]''' | {{petit|{{#expr:{{PAGENAME}}+7}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+8}} | '''[[{{#expr:{{PAGENAME}}+8}}]]''' | {{petit|{{#expr:{{PAGENAME}}+8}} }} }} |
− | {{!}} | + | {{!}}{{!}}{{#ifexist: {{#expr:{{PAGENAME}}+9}} | '''[[{{#expr:{{PAGENAME}}+9}}]]''' | {{petit|{{#expr:{{PAGENAME}}+9}} }} }} |
{{!}}} }}</includeonly> | {{!}}} }}</includeonly> | ||
+ | |||
<noinclude> | <noinclude> | ||
{{Trad | {{Trad |
Version du 30 juin 2019 à 12:53
{{Dates}}
s'utilise uniquement dans les pages dont le nom est une date, sinon il affiche
Error: the pagename is not a number