Template:Avancement: Difference between revisions
Shunesburg69 (talk | contribs) No edit summary |
Shunesburg69 (talk | contribs) No edit summary |
||
(15 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:25%; border:10px solid white; clear:both; float:right; text-align:center;"> | ||
<div style=" width:100%; border:2px solid black;"> | <div style=" width:100%; border:2px solid black;"> | ||
<p | <p><big>'''{{{titre|Avancement de la traduction}}}'''</big></p> | ||
<div style=" width:75%; clear:both; {{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}"> | <div style=" width:75%; clear:both; {{#ifeq: {{{center|yes}}} | yes | margin:auto; text-align:center;}}"> | ||
{{#if:{{{%|}}}|<!--then:--> | {{#if:{{{%|}}}|<!--then:--> | ||
Line 10: | Line 9: | ||
'''{{#expr: ( {{{%|0}}} / 100 ) * 100 round 1}}%''' | '''{{#expr: ( {{{%|0}}} / 100 ) * 100 round 1}}%''' | ||
</big> | </big> | ||
{{{ | {{{text1|terminé <small>(estimation)</small>}}} | ||
</p> | </p> | ||
<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> | <p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> | ||
Line 22: | Line 21: | ||
width:{{#expr: 100 - {{{%|0}}} / 100 * 100}}%; | width:{{#expr: 100 - {{{%|0}}} / 100 * 100}}%; | ||
height:{{{height|8}}}px; | height:{{{height|8}}}px; | ||
background:{{{ | background:{{{color|#efefef}}}; | ||
float:left; | float:left; | ||
"> </span> | "> </span> | ||
Line 32: | Line 31: | ||
'''{{{text| {{{trad|0}}}/{{{p|1}}} }}}''' | '''{{{text| {{{trad|0}}}/{{{p|1}}} }}}''' | ||
</big> | </big> | ||
{{{ | {{{text2|pages traduites}}} | ||
</p> | </p> | ||
<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> | <p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> | ||
Line 38: | Line 37: | ||
width: {{#expr: ( {{{trad|0}}} / {{{p|1}}} ) * 100}}%; | width: {{#expr: ( {{{trad|0}}} / {{{p|1}}} ) * 100}}%; | ||
height: {{{height|8}}}px; | height: {{{height|8}}}px; | ||
background:{{{ | background:{{{color2|#5FDB00}}}; | ||
float:left; | float:left; | ||
"> </span> | "> </span> | ||
Line 44: | Line 43: | ||
width:{{#expr: 100 - ( {{{trad|0}}} / {{{p|1}}} ) * 100}}%; | width:{{#expr: 100 - ( {{{trad|0}}} / {{{p|1}}} ) * 100}}%; | ||
height:{{{height|8}}}px; | height:{{{height|8}}}px; | ||
background:{{{ | background:{{{color|#efefef}}}; | ||
float:left; | float:left; | ||
"> </span> | "> </span> | ||
</p> | </p> | ||
</div>|}}|}}{{#if:{{{ | </div>|}}|}}{{#if:{{{tradp|}}}|{{#if:{{{parts|}}}|<!--then:--> | ||
<div> | <div> | ||
<p> | <p> | ||
<big> | <big> | ||
'''{{{text|{{{ | '''{{{text|{{{tradp|0}}}/{{{parts|1}}} }}}''' | ||
</big> | </big> | ||
{{{ | {{{text3|parties terminées}}} | ||
</p> | </p> | ||
<p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> | <p style="border:{{{border|1px solid gray}}}; padding:{{{padding|1px}}}; overflow:hidden;"> | ||
<span style=" | <span style=" | ||
width: {{#expr: {{{ | width: {{#expr: {{{tradp|0}}} / {{{parts|1}}} * 100}}%; | ||
height: {{{height|8}}}px; | height: {{{height|8}}}px; | ||
background:{{{ | background:{{{color3|#5FDB00}}}; | ||
float:left; | float:left; | ||
"> </span> | "> </span> | ||
<span style=" | <span style=" | ||
width:{{#expr: 100 - {{{ | width:{{#expr: 100 - {{{tradp|0}}} / {{{parts|1}}} * 100}}%; | ||
height:{{{height|8}}}px; | height:{{{height|8}}}px; | ||
background:{{{ | background:{{{color|#efefef}}}; | ||
float:left; | float:left; | ||
"> </span> | "> </span> | ||
Line 75: | Line 74: | ||
{{#if:{{{commentaire|}}}|<!--then:--> | {{#if:{{{commentaire|}}}|<!--then:--> | ||
<p> | <p> | ||
''{{{text|{{{commentaire}}}}}}'' | |||
</p>|}} | </p>|}} | ||
</div | </div> | ||
</div> | </div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
Line 85: | Line 84: | ||
==Utilisation== | ==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"| | 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> | <br><br> | ||
Line 97: | Line 94: | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|%=20}}</nowiki> | <nowiki>{{Avancement|color1=orange|%=20}}</nowiki> | ||
{{Avancement|%=20}} | {{Avancement|color1=orange|%=20}} | ||
<br clear="both" /> | <br clear="both" /> | ||
Line 105: | Line 102: | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement| | <nowiki>{{Avancement|tradp=1|parts=5}}</nowiki> | ||
{{Avancement| | {{Avancement|tradp=1|parts=5}} | ||
<br clear="both" /> | <br clear="both" /> | ||
Line 113: | Line 110: | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|%=20|trad=20|p=100}}</nowiki> | <nowiki>{{Avancement|titre=Volume 1 - Chapitre 1|%=20|trad=20|p=100}}</nowiki> | ||
{{Avancement|%=20|trad=20|p=100}} | {{Avancement|titre=Volume 1 - Chapitre 1|%=20|trad=20|p=100}} | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|trad=20|p=100| | <nowiki>{{Avancement|color3=blue|trad=20|p=100|tradp=1|parts=5}}</nowiki> | ||
{{Avancement|trad=20|p=100| | {{Avancement|color3=blue|trad=20|p=100|tradp=1|parts=5}} | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement| | <nowiki>{{Avancement|tradp=1|parts=5|commentaire=Ici les commentaires}}</nowiki> | ||
{{Avancement| | {{Avancement|tradp=1|parts=5|commentaire=Ici les commentaires}} | ||
<br clear="both" /> | <br clear="both" /> | ||
Line 129: | Line 126: | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|%=20|trad=20|p=100| | <nowiki>{{Avancement|color2=green|%=20|trad=20|p=100|tradp=1|parts=5}}</nowiki> | ||
{{Avancement|%=20|trad=20|p=100| | {{Avancement|color2=green|%=20|trad=20|p=100|tradp=1|parts=5}} | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|trad=20|p=100| | <nowiki>{{Avancement|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}}</nowiki> | ||
{{Avancement|trad=20|p=100| | {{Avancement|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}} | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|%=20| | <nowiki>{{Avancement|%=20|tradp=1|parts=5|commentaire=Icci les commentaires}}</nowiki> | ||
{{Avancement|%=20| | {{Avancement|%=20|tradp=1|parts=5|commentaire=Ici les commentaires}} | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|%=20|trad=20|p=100|commentaire= | <nowiki>{{Avancement|%=20|trad=20|p=100|commentaire=Ici les commentaires}}</nowiki> | ||
{{Avancement|%=20|trad=20|p=100|commentaire= | {{Avancement|%=20|trad=20|p=100|commentaire=Ici les commentaires}} | ||
<br clear="both" /> | <br clear="both" /> | ||
<nowiki>{{Avancement|%=20|trad=20|p=100| | <nowiki>{{Avancement|color1=yellow|color2=purple|color3=#c05800|%=20|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}}</nowiki> | ||
{{Avancement|%=20|trad=20|p=100| | {{Avancement|color1=yellow|color2=purple|color3=#c05800|%=20|trad=20|p=100|tradp=1|parts=5|commentaire=Ici les commentaires}} | ||
<br clear="both" /> | <br clear="both" /> | ||
</noinclude> | </noinclude> |
Latest revision as of 13: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