« Modèle:Ans du siècle » : différence entre les versions
De BoyWiki
fonte |
test ligne de siècles |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly>< | <includeonly> | ||
{| | <div id="centuryline"> | ||
{{ | <span id="sel1" tabindex="1">‹‹‹‹‹</span><span id="sel2" tabindex="2">‹‹‹‹</span><span id="sel3" tabindex="3">‹‹‹</span><span id="sel4" tabindex="4">‹‹</span><span id="sel5" tabindex="5">‹</span><span id="sel6" tabindex="6">›</span><span id="sel7" tabindex="7">››</span><span id="sel8" tabindex="8">›››</span><span id="sel9" tabindex="9">››››</span><span id="sel10" tabindex="10">›››››</span> | ||
| {{ | <div id="default"><span>{{s|{{Nombre en romain|{{{1}}}}}|e}}</span></div> | ||
}} | <div id="cent1"><span>{{-s|XX|e}}</span><span>{{-s|XIX|e}}</span><span>{{-s|XVIII|e}}</span><span>{{-s|XVII|e}}</span></div> | ||
| | <div id="cent2"><span>{{-s|XVI|e}}</span><span>{{-s|XV|e}}</span><span>{{-s|XIV|e}}</span><span>{{-s|XIII|e}}</span></div> | ||
<div id="cent3"><span>{{-s|XII|e}}</span><span>{{-s|XI|e}}</span><span>{{-s|X|e}}</span><span>{{-s|IX|e}}</span></div> | |||
<div id="cent4"><span>{{-s|VIII|e}}</span><span>{{-s|VII|e}}</span><span>{{-s|VI|e}}</span><span>{{-s|V|e}}</span></div> | |||
<div id="cent5"><span>{{-s|IV|e}}</span><span>{{-s|III|e}}</span><span>{{-s|II|e}}</span><span>{{-s|I|er}}</span></div> | |||
<div id="cent6"><span>{{s|I|er}}</span><span>{{s|II|e}}</span><span>{{s|III|e}}</span><span>{{s|IV|e}}</span></div> | |||
<div id="cent7"><span>{{s|V|e}}</span><span>{{s|VI|e}}</span><span>{{s|VII|e}}</span><span>{{s|VIII|e}}</span></div> | |||
<div id="cent8"><span>{{s|IX|e}}</span><span>{{s|X|e}}</span><span>{{s|XI|e}}</span><span>{{s|XII|e}}</span></div> | |||
<div id="cent9"><span>{{s|XIII|e}}</span><span>{{s|XIV|e}}</span><span>{{s|XV|e}}</span><span>{{s|XVI|e}}</span></div> | |||
<div id="cent10"><span>{{s|XVII|e}}</span><span>{{s|XVIII|e}}</span><span>{{s|XIX|e}}</span><span>{{s|XX|e}}</span></div> | |||
</div> | |||
{|border="0" id="centurytab" style="width:{{{largeur|75%}}}; height:{{{hauteur|6em}}};" | |||
|- | |||
| [[{{#expr:({{{1}}}-1)*100+1}}]] || [[{{#expr:({{{1}}}-1)*100+2}}]] || [[{{#expr:({{{1}}}-1)*100+3}}]] || [[{{#expr:({{{1}}}-1)*100+4}}]] || [[{{#expr:({{{1}}}-1)*100+5}}]] | | [[{{#expr:({{{1}}}-1)*100+1}}]] || [[{{#expr:({{{1}}}-1)*100+2}}]] || [[{{#expr:({{{1}}}-1)*100+3}}]] || [[{{#expr:({{{1}}}-1)*100+4}}]] || [[{{#expr:({{{1}}}-1)*100+5}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+6}}]] || [[{{#expr:({{{1}}}-1)*100+7}}]] || [[{{#expr:({{{1}}}-1)*100+8}}]] || [[{{#expr:({{{1}}}-1)*100+9}}]] || [[{{#expr:({{{1}}}-1)*100+10}}]] | | [[{{#expr:({{{1}}}-1)*100+6}}]] || [[{{#expr:({{{1}}}-1)*100+7}}]] || [[{{#expr:({{{1}}}-1)*100+8}}]] || [[{{#expr:({{{1}}}-1)*100+9}}]] || [[{{#expr:({{{1}}}-1)*100+10}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+11}}]] || [[{{#expr:({{{1}}}-1)*100+12}}]] || [[{{#expr:({{{1}}}-1)*100+13}}]] || [[{{#expr:({{{1}}}-1)*100+14}}]] || [[{{#expr:({{{1}}}-1)*100+15}}]] | | [[{{#expr:({{{1}}}-1)*100+11}}]] || [[{{#expr:({{{1}}}-1)*100+12}}]] || [[{{#expr:({{{1}}}-1)*100+13}}]] || [[{{#expr:({{{1}}}-1)*100+14}}]] || [[{{#expr:({{{1}}}-1)*100+15}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+16}}]] || [[{{#expr:({{{1}}}-1)*100+17}}]] || [[{{#expr:({{{1}}}-1)*100+18}}]] || [[{{#expr:({{{1}}}-1)*100+19}}]] || [[{{#expr:({{{1}}}-1)*100+20}}]] | | [[{{#expr:({{{1}}}-1)*100+16}}]] || [[{{#expr:({{{1}}}-1)*100+17}}]] || [[{{#expr:({{{1}}}-1)*100+18}}]] || [[{{#expr:({{{1}}}-1)*100+19}}]] || [[{{#expr:({{{1}}}-1)*100+20}}]] | ||
|- | |- | ||
| [[{{#expr:({{{1}}}-1)*100+21}}]] || [[{{#expr:({{{1}}}-1)*100+22}}]] || [[{{#expr:({{{1}}}-1)*100+23}}]] || [[{{#expr:({{{1}}}-1)*100+24}}]] || [[{{#expr:({{{1}}}-1)*100+25}}]] | | [[{{#expr:({{{1}}}-1)*100+21}}]] || [[{{#expr:({{{1}}}-1)*100+22}}]] || [[{{#expr:({{{1}}}-1)*100+23}}]] || [[{{#expr:({{{1}}}-1)*100+24}}]] || [[{{#expr:({{{1}}}-1)*100+25}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+26}}]] || [[{{#expr:({{{1}}}-1)*100+27}}]] || [[{{#expr:({{{1}}}-1)*100+28}}]] || [[{{#expr:({{{1}}}-1)*100+29}}]] || [[{{#expr:({{{1}}}-1)*100+30}}]] | | [[{{#expr:({{{1}}}-1)*100+26}}]] || [[{{#expr:({{{1}}}-1)*100+27}}]] || [[{{#expr:({{{1}}}-1)*100+28}}]] || [[{{#expr:({{{1}}}-1)*100+29}}]] || [[{{#expr:({{{1}}}-1)*100+30}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+31}}]] || [[{{#expr:({{{1}}}-1)*100+32}}]] || [[{{#expr:({{{1}}}-1)*100+33}}]] || [[{{#expr:({{{1}}}-1)*100+34}}]] || [[{{#expr:({{{1}}}-1)*100+35}}]] | | [[{{#expr:({{{1}}}-1)*100+31}}]] || [[{{#expr:({{{1}}}-1)*100+32}}]] || [[{{#expr:({{{1}}}-1)*100+33}}]] || [[{{#expr:({{{1}}}-1)*100+34}}]] || [[{{#expr:({{{1}}}-1)*100+35}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+36}}]] || [[{{#expr:({{{1}}}-1)*100+37}}]] || [[{{#expr:({{{1}}}-1)*100+38}}]] || [[{{#expr:({{{1}}}-1)*100+39}}]] || [[{{#expr:({{{1}}}-1)*100+40}}]] | | [[{{#expr:({{{1}}}-1)*100+36}}]] || [[{{#expr:({{{1}}}-1)*100+37}}]] || [[{{#expr:({{{1}}}-1)*100+38}}]] || [[{{#expr:({{{1}}}-1)*100+39}}]] || [[{{#expr:({{{1}}}-1)*100+40}}]] | ||
|- | |- | ||
| [[{{#expr:({{{1}}}-1)*100+41}}]] || [[{{#expr:({{{1}}}-1)*100+42}}]] || [[{{#expr:({{{1}}}-1)*100+43}}]] || [[{{#expr:({{{1}}}-1)*100+44}}]] || [[{{#expr:({{{1}}}-1)*100+45}}]] | | [[{{#expr:({{{1}}}-1)*100+41}}]] || [[{{#expr:({{{1}}}-1)*100+42}}]] || [[{{#expr:({{{1}}}-1)*100+43}}]] || [[{{#expr:({{{1}}}-1)*100+44}}]] || [[{{#expr:({{{1}}}-1)*100+45}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+46}}]] || [[{{#expr:({{{1}}}-1)*100+47}}]] || [[{{#expr:({{{1}}}-1)*100+48}}]] || [[{{#expr:({{{1}}}-1)*100+49}}]] || [[{{#expr:({{{1}}}-1)*100+50}}]] | | [[{{#expr:({{{1}}}-1)*100+46}}]] || [[{{#expr:({{{1}}}-1)*100+47}}]] || [[{{#expr:({{{1}}}-1)*100+48}}]] || [[{{#expr:({{{1}}}-1)*100+49}}]] || [[{{#expr:({{{1}}}-1)*100+50}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+51}}]] || [[{{#expr:({{{1}}}-1)*100+52}}]] || [[{{#expr:({{{1}}}-1)*100+53}}]] || [[{{#expr:({{{1}}}-1)*100+54}}]] || [[{{#expr:({{{1}}}-1)*100+55}}]] | | [[{{#expr:({{{1}}}-1)*100+51}}]] || [[{{#expr:({{{1}}}-1)*100+52}}]] || [[{{#expr:({{{1}}}-1)*100+53}}]] || [[{{#expr:({{{1}}}-1)*100+54}}]] || [[{{#expr:({{{1}}}-1)*100+55}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+56}}]] || [[{{#expr:({{{1}}}-1)*100+57}}]] || [[{{#expr:({{{1}}}-1)*100+58}}]] || [[{{#expr:({{{1}}}-1)*100+59}}]] || [[{{#expr:({{{1}}}-1)*100+60}}]] | | [[{{#expr:({{{1}}}-1)*100+56}}]] || [[{{#expr:({{{1}}}-1)*100+57}}]] || [[{{#expr:({{{1}}}-1)*100+58}}]] || [[{{#expr:({{{1}}}-1)*100+59}}]] || [[{{#expr:({{{1}}}-1)*100+60}}]] | ||
|- | |- | ||
| [[{{#expr:({{{1}}}-1)*100+61}}]] || [[{{#expr:({{{1}}}-1)*100+62}}]] || [[{{#expr:({{{1}}}-1)*100+63}}]] || [[{{#expr:({{{1}}}-1)*100+64}}]] || [[{{#expr:({{{1}}}-1)*100+65}}]] | | [[{{#expr:({{{1}}}-1)*100+61}}]] || [[{{#expr:({{{1}}}-1)*100+62}}]] || [[{{#expr:({{{1}}}-1)*100+63}}]] || [[{{#expr:({{{1}}}-1)*100+64}}]] || [[{{#expr:({{{1}}}-1)*100+65}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+66}}]] || [[{{#expr:({{{1}}}-1)*100+67}}]] || [[{{#expr:({{{1}}}-1)*100+68}}]] || [[{{#expr:({{{1}}}-1)*100+69}}]] || [[{{#expr:({{{1}}}-1)*100+70}}]] | | [[{{#expr:({{{1}}}-1)*100+66}}]] || [[{{#expr:({{{1}}}-1)*100+67}}]] || [[{{#expr:({{{1}}}-1)*100+68}}]] || [[{{#expr:({{{1}}}-1)*100+69}}]] || [[{{#expr:({{{1}}}-1)*100+70}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+71}}]] || [[{{#expr:({{{1}}}-1)*100+72}}]] || [[{{#expr:({{{1}}}-1)*100+73}}]] || [[{{#expr:({{{1}}}-1)*100+74}}]] || [[{{#expr:({{{1}}}-1)*100+75}}]] | | [[{{#expr:({{{1}}}-1)*100+71}}]] || [[{{#expr:({{{1}}}-1)*100+72}}]] || [[{{#expr:({{{1}}}-1)*100+73}}]] || [[{{#expr:({{{1}}}-1)*100+74}}]] || [[{{#expr:({{{1}}}-1)*100+75}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+76}}]] || [[{{#expr:({{{1}}}-1)*100+77}}]] || [[{{#expr:({{{1}}}-1)*100+78}}]] || [[{{#expr:({{{1}}}-1)*100+79}}]] || [[{{#expr:({{{1}}}-1)*100+80}}]] | | [[{{#expr:({{{1}}}-1)*100+76}}]] || [[{{#expr:({{{1}}}-1)*100+77}}]] || [[{{#expr:({{{1}}}-1)*100+78}}]] || [[{{#expr:({{{1}}}-1)*100+79}}]] || [[{{#expr:({{{1}}}-1)*100+80}}]] | ||
|- | |- | ||
| [[{{#expr:({{{1}}}-1)*100+81}}]] || [[{{#expr:({{{1}}}-1)*100+82}}]] || [[{{#expr:({{{1}}}-1)*100+83}}]] || [[{{#expr:({{{1}}}-1)*100+84}}]] || [[{{#expr:({{{1}}}-1)*100+85}}]] | | [[{{#expr:({{{1}}}-1)*100+81}}]] || [[{{#expr:({{{1}}}-1)*100+82}}]] || [[{{#expr:({{{1}}}-1)*100+83}}]] || [[{{#expr:({{{1}}}-1)*100+84}}]] || [[{{#expr:({{{1}}}-1)*100+85}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+86}}]] || [[{{#expr:({{{1}}}-1)*100+87}}]] || [[{{#expr:({{{1}}}-1)*100+88}}]] || [[{{#expr:({{{1}}}-1)*100+89}}]] || [[{{#expr:({{{1}}}-1)*100+90}}]] | | [[{{#expr:({{{1}}}-1)*100+86}}]] || [[{{#expr:({{{1}}}-1)*100+87}}]] || [[{{#expr:({{{1}}}-1)*100+88}}]] || [[{{#expr:({{{1}}}-1)*100+89}}]] || [[{{#expr:({{{1}}}-1)*100+90}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+91}}]] || [[{{#expr:({{{1}}}-1)*100+92}}]] || [[{{#expr:({{{1}}}-1)*100+93}}]] || [[{{#expr:({{{1}}}-1)*100+94}}]] || [[{{#expr:({{{1}}}-1)*100+95}}]] | | [[{{#expr:({{{1}}}-1)*100+91}}]] || [[{{#expr:({{{1}}}-1)*100+92}}]] || [[{{#expr:({{{1}}}-1)*100+93}}]] || [[{{#expr:({{{1}}}-1)*100+94}}]] || [[{{#expr:({{{1}}}-1)*100+95}}]] | ||
| [[{{#expr:({{{1}}}-1)*100+96}}]] || [[{{#expr:({{{1}}}-1)*100+97}}]] || [[{{#expr:({{{1}}}-1)*100+98}}]] || [[{{#expr:({{{1}}}-1)*100+99}}]] || [[{{{1}}}00]] | | [[{{#expr:({{{1}}}-1)*100+96}}]] || [[{{#expr:({{{1}}}-1)*100+97}}]] || [[{{#expr:({{{1}}}-1)*100+98}}]] || [[{{#expr:({{{1}}}-1)*100+99}}]] || [[{{{1}}}00]] | ||
|} | |}</includeonly><noinclude> | ||
;Utilisation | ;Utilisation | ||
:Affiche un tableau des années du siècle indiqué. | :Affiche un tableau des années du siècle indiqué. | ||
;Syntaxe | ;Syntaxe | ||
<pre>{{Ans du siècle | siècle | <pre>{{Ans du siècle | siècle | [largeur=] | [hauteur=] }}</pre> | ||
;Paramètres | ;Paramètres | ||
*siècle= n° du siècle (par ex. 19) - limité actuellement aux nombres positifs | *siècle= n° du siècle (par ex. 19) - limité actuellement aux nombres positifs | ||
*largeur= (optionnel) largeur du tableau en % em ou px | *largeur= (optionnel) largeur du tableau en % em ou px | ||
*hauteur= (optionnel) hauteur du tableau en em ou px | *hauteur= (optionnel) hauteur du tableau en em ou px | ||
</noinclude> | </noinclude> |
Version du 29 mai 2013 à 15:14
- Utilisation
- Affiche un tableau des années du siècle indiqué.
- Syntaxe
{{Ans du siècle | siècle | [largeur=] | [hauteur=] }}
- Paramètres
- siècle= n° du siècle (par ex. 19) - limité actuellement aux nombres positifs
- largeur= (optionnel) largeur du tableau en % em ou px
- hauteur= (optionnel) hauteur du tableau en em ou px