Difference between revisions of "Template:Avancement"
Shunesburg69 (talk | contribs) (Created page with "<includeonly> {{#ifexpr:{{{inline|{{{8|0}}}}}}=0|<div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;{{{fond|{{{3|}}}}}}"><div id="avance_barr...") |
Shunesburg69 (talk | contribs) |
||
(205 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly><div style=" width:25%; border:10px solid white; clear:both; float:right; text-align:center;"> |
||
− | <includeonly> |
||
+ | <div style=" width:100%; border:2px solid black;"> |
||
− | {{#ifexpr:{{{inline|{{{8|0}}}}}}=0|<div id="avance_boite" style="background:#f2f2f2; border:1px solid #aaa; width:100px;{{{fond|{{{3|}}}}}}"><div id="avance_barre" style="background:{{{couleur|{{#if:{{{2|}}}|{{{2}}}|{{Avancement/Nuancier|{{{avancement|{{{1|1}}}}}}|{{{inv|{{{7|0}}}}}}}}}}}}}; width:{{#iferror: {{#if: {{{longueur|{{{avancement|}}}}}}|{{#expr:{{{longueur|{{{avancement|1}}}}}}+0}}|{{#expr:{{{1|1}}}+0}}}}|0|{{#if: {{{longueur|{{{avancement|}}}}}}|{{{longueur|{{{avancement|1}}}}}}|{{{1|1}}}}}}}%; {{{barre|{{{4|}}}}}}"><div style="text-align:center; width:100px;{{{texte|{{{5|}}}}}}">{{#if:{{{alt|{{{6|}}}}}}|{{{alt|{{{6}}}}}}|{{#iferror:{{#expr:{{{avancement|{{{1|1}}}}}}+0}}|?|{{formatnum:{{{avancement|{{{1|1}}}}}}}}}} %}}</div></div></div>|<span style="border:1px solid gray;z-indez:1;position:relative;left:1em;font-size:14px;{{{fond|{{{3|}}}}}}"><span style="z-indez:3;vertical-align:top;margin:0px;padding:0px;color:{{{couleur|{{#if:{{{2|}}}|{{{2}}}|{{Avancement/Nuancier|{{{avancement|{{{1|1}}}}}}|{{{inv|{{{7|0}}}}}}}}}}}}};background-color:{{{couleur|{{#if:{{{2|}}}|{{{2}}}|{{Avancement/Nuancier|{{{avancement|{{{1|1}}}}}}|{{{inv|{{{7|0}}}}}}}}}}}}};{{{barre|{{{4|}}}}}}"> {{Dupliquer|({{{longueur|{{{avancement|{{{1|1}}}}}}}}} / 10 round 0)|█}}</span><span style="z-indez:2;margin:0px;padding:0px;background-color:#D3D3D3;color:#D3D3D3;">{{Dupliquer|10 - ({{{longueur|{{{avancement|{{{1|1}}}}}}}}} / 10 round 0)|█}}</span></span><span style="z-indez:4;margin:0px;padding:0px;position:relative;right:4em;top:1px;"><span style="z-indez:5;margin:0px;padding:0px;color:black;font-size:14px;{{{texte|{{{5|}}}}}}">{{#if:{{{alt|{{{6|}}}}}}|{{{alt|{{{6}}}}}}|{{#iferror:{{#expr:{{{avancement|{{{1|1}}}}}}+0}}|?|{{formatnum:{{{avancement|{{{1|1}}}}}}}}}} %}}</span></span>}}</includeonly> |
||
+ | <p><big>'''{{{titre|Avancement de la traduction}}}'''</big></p> |
||
+ | <div style=" width:75%; clear:both; {{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}"> |
||
+ | {{#if:{{{%|}}}|<!--then:--> |
||
+ | <div> |
||
+ | <p> |
||
+ | <big> |
||
+ | '''{{#expr: ( {{{%|0}}} / 100 ) * 100 round 1}}%''' |
||
+ | </big> |
||
+ | {{{text1|terminé <small>(estimation)</small>}}} |
||
+ | </p> |
||
+ | <p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> |
||
+ | <span style=" |
||
+ | width: {{#expr: {{{%|0}}} / 100 * 100}}%; |
||
+ | height: {{{height|8}}}px; |
||
+ | background:{{{color1|#5FDB00}}}; |
||
+ | float:left; |
||
+ | "> </span> |
||
+ | <span style=" |
||
+ | width:{{#expr: 100 - {{{%|0}}} / 100 * 100}}%; |
||
+ | height:{{{height|8}}}px; |
||
+ | background:{{{color|#efefef}}}; |
||
+ | float:left; |
||
+ | "> </span> |
||
+ | </p> |
||
+ | </div>|}}{{#if:{{{trad|}}}|{{#if:{{{p|}}}|<!--then:--> |
||
+ | <div> |
||
+ | <p> |
||
+ | <big> |
||
+ | '''{{{text| {{{trad|0}}}/{{{p|1}}} }}}''' |
||
+ | </big> |
||
+ | {{{text2|pages traduites}}} |
||
+ | </p> |
||
+ | <p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> |
||
+ | <span style=" |
||
+ | width: {{#expr: ( {{{trad|0}}} / {{{p|1}}} ) * 100}}%; |
||
+ | height: {{{height|8}}}px; |
||
+ | background:{{{color2|#5FDB00}}}; |
||
+ | float:left; |
||
+ | "> </span> |
||
+ | <span style=" |
||
+ | width:{{#expr: 100 - ( {{{trad|0}}} / {{{p|1}}} ) * 100}}%; |
||
+ | height:{{{height|8}}}px; |
||
+ | background:{{{color|#efefef}}}; |
||
+ | float:left; |
||
+ | "> </span> |
||
+ | </p> |
||
+ | </div>|}}|}}{{#if:{{{tradp|}}}|{{#if:{{{parts|}}}|<!--then:--> |
||
+ | <div> |
||
+ | <p> |
||
+ | <big> |
||
+ | '''{{{text|{{{tradp|0}}}/{{{parts|1}}} }}}''' |
||
+ | </big> |
||
+ | {{{text3|parties terminées}}} |
||
+ | </p> |
||
+ | <p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> |
||
+ | <span style=" |
||
+ | width: {{#expr: {{{tradp|0}}} / {{{parts|1}}} * 100}}%; |
||
+ | height: {{{height|8}}}px; |
||
+ | background:{{{color3|#5FDB00}}}; |
||
+ | float:left; |
||
+ | "> </span> |
||
+ | <span style=" |
||
+ | width:{{#expr: 100 - {{{tradp|0}}} / {{{parts|1}}} * 100}}%; |
||
+ | height:{{{height|8}}}px; |
||
+ | background:{{{color|#efefef}}}; |
||
+ | float:left; |
||
+ | "> </span> |
||
+ | </p> |
||
+ | </div>|}}|}} |
||
+ | </div> |
||
+ | <div style=" clear:both; {{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;"> |
||
+ | {{#if:{{{commentaire|}}}|<!--then:--> |
||
+ | <p> |
||
+ | ''{{{text|{{{commentaire}}}}}}'' |
||
+ | </p>|}} |
||
+ | </div> |
||
+ | </div> |
||
+ | </div></includeonly><noinclude> |
||
+ | ---- |
||
+ | ==Résumé== |
||
+ | La plupart du temps l'avancement est écrit sur la page principale du roman mais il peut être plus pratique de voir l'avancement sur la page du chapitre lui même. Ce module est la copie de celui déjà présent en anglais, je l'ai juste adapté au français. |
||
+ | |||
+ | ==Utilisation== |
||
+ | Vous avez juste à insérer le code dans le texte du chapitre <nowiki>{{Avancement|%="POURCENTAGE"|trad="NOMBRE DE PAGES TRADUITES"|p="NOMBRE DE PAGES TOTAL"|tradp="NOMBRE DE PARTIES TRADUITES"|parts="NOMBRE TOTAL DE PARTIES"|commentaire="LES COMMENTAIRES"}}</nowiki>. |
||
+ | <br><br> |
||
+ | |||
+ | ==Exemples== |
||
+ | <br> |
||
+ | |||
+ | <nowiki>{{Avancement}}</nowiki> |
||
+ | {{Avancement}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|color1=orange|%=20}}</nowiki> |
||
+ | {{Avancement|color1=orange|%=20}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|trad=20|p=100}}</nowiki> |
||
+ | {{Avancement|trad=20|p=100}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|tradp=1|parts=5}}</nowiki> |
||
+ | {{Avancement|tradp=1|parts=5}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|commentaire=Ici les commentaires}}</nowiki> |
||
+ | {{Avancement|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|titre=Volume 1 - Chapitre 1|%=20|trad=20|p=100}}</nowiki> |
||
+ | {{Avancement|titre=Volume 1 - Chapitre 1|%=20|trad=20|p=100}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|color3=blue|trad=20|p=100|tradp=1|parts=5}}</nowiki> |
||
+ | {{Avancement|color3=blue|trad=20|p=100|tradp=1|parts=5}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|tradp=1|parts=5|commentaire=Ici les commentaires}}</nowiki> |
||
+ | {{Avancement|tradp=1|parts=5|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|%=20|commentaire=Ici les commentaires}}</nowiki> |
||
+ | {{Avancement|%=20|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|color2=green|%=20|trad=20|p=100|tradp=1|parts=5}}</nowiki> |
||
+ | {{Avancement|color2=green|%=20|trad=20|p=100|tradp=1|parts=5}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}}</nowiki> |
||
+ | {{Avancement|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|%=20|tradp=1|parts=5|commentaire=Icci les commentaires}}</nowiki> |
||
+ | {{Avancement|%=20|tradp=1|parts=5|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|%=20|trad=20|p=100|commentaire=Ici les commentaires}}</nowiki> |
||
+ | {{Avancement|%=20|trad=20|p=100|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | <nowiki>{{Avancement|color1=yellow|color2=purple|color3=#c05800|%=20|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}}</nowiki> |
||
+ | {{Avancement|color1=yellow|color2=purple|color3=#c05800|%=20|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}} |
||
+ | <br clear="both" /> |
||
+ | |||
+ | </noinclude> |
Latest revision as of 15:12, 28 November 2013
Résumé[edit]
La plupart du temps l'avancement est écrit sur la page principale du roman mais il peut être plus pratique de voir l'avancement sur la page du chapitre lui même. Ce module est la copie de celui déjà présent en anglais, je l'ai juste adapté au français.
Utilisation[edit]
Vous avez juste à insérer le code dans le texte du chapitre {{Avancement|%="POURCENTAGE"|trad="NOMBRE DE PAGES TRADUITES"|p="NOMBRE DE PAGES TOTAL"|tradp="NOMBRE DE PARTIES TRADUITES"|parts="NOMBRE TOTAL DE PARTIES"|commentaire="LES COMMENTAIRES"}}.
Exemples[edit]
{{Avancement}}
Avancement de la traduction
{{Avancement|color1=orange|%=20}}
Avancement de la traduction
20% terminé (estimation)
{{Avancement|trad=20|p=100}}
Avancement de la traduction
20/100 pages traduites
{{Avancement|tradp=1|parts=5}}
Avancement de la traduction
1/5 parties terminées
{{Avancement|commentaire=Ici les commentaires}}
Avancement de la traduction
Ici les commentaires
{{Avancement|titre=Volume 1 - Chapitre 1|%=20|trad=20|p=100}}
Volume 1 - Chapitre 1
20% terminé (estimation)
20/100 pages traduites
{{Avancement|color3=blue|trad=20|p=100|tradp=1|parts=5}}
Avancement de la traduction
20/100 pages traduites
1/5 parties terminées
{{Avancement|tradp=1|parts=5|commentaire=Ici les commentaires}}
Avancement de la traduction
1/5 parties terminées
Ici les commentaires
{{Avancement|%=20|commentaire=Ici les commentaires}}
Avancement de la traduction
20% terminé (estimation)
Ici les commentaires
{{Avancement|color2=green|%=20|trad=20|p=100|tradp=1|parts=5}}
Avancement de la traduction
20% terminé (estimation)
20/100 pages traduites
1/5 parties terminées
{{Avancement|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}}
Avancement de la traduction
20/100 pages traduites
1/5 parties terminées
Ici les commentaires
{{Avancement|%=20|tradp=1|parts=5|commentaire=Icci les commentaires}}
Avancement de la traduction
20% terminé (estimation)
1/5 parties terminées
Ici les commentaires
{{Avancement|%=20|trad=20|p=100|commentaire=Ici les commentaires}}
Avancement de la traduction
20% terminé (estimation)
20/100 pages traduites
Ici les commentaires
{{Avancement|color1=yellow|color2=purple|color3=#c05800|%=20|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}}
Avancement de la traduction
20% terminé (estimation)
20/100 pages traduites
1/5 parties terminées
Ici les commentaires