Template:VotazioneArticoloSettimana: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
MFH (rosica | curriculum) Nessun oggetto della modifica |
MFH (rosica | curriculum) Nessun oggetto della modifica |
||
Riga 6:
{{!}} style="width: 50%; text-align: center;" {{!}} '''2. [[{{{candidato2}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=2</span>}} | {{!}} rowspan="3" {{!}} }}
|-
| style="font-size: 80%;" | {{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1}}}}}
{{#if:{{{candidato2|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato2|}}}||''inserire firma''|{{{voti-candidato2}}}}} }}
|-
| style="font-size: 80%;" | {{#ifeq:{{{commenti-candidato1|}}}||''inserire commenti''|{{{commenti-candidato1}}}}}
{{#if:{{{candidato2|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato2|}}}||''inserire commenti''|{{{commenti-candidato2}}}}} }}
{{#if:{{{candidato3|}}}|
{{!}}-
Line 23 ⟶ 19:
{{!}} style="text-align: center;" {{!}} '''4. [[{{{candidato4}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=4</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3}}}}}
{{#if:{{{candidato4|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato4|}}}||''inserire firma''|{{{voti-candidato4}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato3|}}}||''inserire commenti''|{{{commenti-candidato3}}}}}
{{#if:{{{candidato4|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato4|}}}||''inserire commenti''|{{{commenti-candidato4}}}}} }}
}}
{{#if:{{{candidato5|}}}|
Line 41 ⟶ 33:
{{!}} style="text-align: center;" {{!}} '''6. [[{{{candidato6}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=6</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5}}}}}
{{#if:{{{candidato6|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato6|}}}||''inserire firma''|{{{voti-candidato6}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato5|}}}||''inserire commenti''|{{{commenti-candidato5}}}}}
{{#if:{{{candidato6|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato6|}}}||''inserire commenti''|{{{commenti-candidato6}}}}} }}
}}
{{#if:{{{candidato7|}}}|
Line 59 ⟶ 47:
{{!}} style="text-align: center;" {{!}} '''8. [[{{{candidato8}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=8</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7}}}}}
{{#if:{{{candidato8|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato8|}}}||''inserire firma''|{{{voti-candidato8}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato7|}}}||''inserire commenti''|{{{commenti-candidato7}}}}}
{{#if:{{{candidato8|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato8|}}}||''inserire commenti''|{{{commenti-candidato8}}}}} }}
}}
{{#if:{{{candidato9|}}}|
Line 77 ⟶ 61:
{{!}} style="text-align: center;" {{!}} '''10. [[{{{candidato10}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=10</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9}}}}}
{{#if:{{{candidato10|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato10|}}}||''inserire firma''|{{{voti-candidato10}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato9|}}}||''inserire commenti''|{{{commenti-candidato9}}}}}
{{#if:{{{candidato10|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato10|}}}||''inserire commenti''|{{{commenti-candidato10}}}}} }}
}}
{{#if:{{{candidato11|}}}|
Line 95 ⟶ 75:
{{!}} style="text-align: center;" {{!}} '''12. [[{{{candidato12}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=12</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11}}}}}
{{#if:{{{candidato12|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato12|}}}||''inserire firma''|{{{voti-candidato12}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato11|}}}||''inserire commenti''|{{{commenti-candidato11}}}}}
{{#if:{{{candidato12|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato12|}}}||''inserire commenti''|{{{commenti-candidato12}}}}} }}
}}
{{#if:{{{candidato13|}}}|
Line 113 ⟶ 89:
{{!}} style="text-align: center;" {{!}} '''14. [[{{{candidato14}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=14</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13}}}}}
{{#if:{{{candidato14|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato14|}}}||''inserire firma''|{{{voti-candidato14}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato13|}}}||''inserire commenti''|{{{commenti-candidato13}}}}}
{{#if:{{{candidato14|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato14|}}}||''inserire commenti''|{{{commenti-candidato14}}}}} }}
}}
{{#if:{{{candidato15|}}}|
Line 131 ⟶ 103:
{{!}} style="text-align: center;" {{!}} '''16. [[{{{candidato16}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=16</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15}}}}}
{{#if:{{{candidato16|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato16|}}}||''inserire firma''|{{{voti-candidato16}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato15|}}}||''inserire commenti''|{{{commenti-candidato15}}}}}
{{#if:{{{candidato16|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato16|}}}||''inserire commenti''|{{{commenti-candidato16}}}}} }}
}}
{{#if:{{{candidato17|}}}|
Line 149 ⟶ 117:
{{!}} style="text-align: center;" {{!}} '''18. [[{{{candidato18}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=18</span>}} | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17}}}}}
{{#if:{{{candidato18|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato18|}}}||''inserire firma''|{{{voti-candidato18}}}}} }}
{{!}}-
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato17|}}}||''inserire commenti''|{{{commenti-candidato17}}}}}
{{#if:{{{candidato18|}}}|
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato18|}}}||''inserire commenti''|{{{commenti-candidato18}}}}} }}
}}
|}<noinclude>Template che serve a far partire una votazione per l'articolo della settimana (massimo 18 candidati, ma si possono aumentare).
|
Versione delle 13:49, 24 mag 2011
Settimana dal {{{settimana-dal}}} | |
1. [[{{{candidato1}}}]] | |
inserire firma | |
inserire commenti
|
Template che serve a far partire una votazione per l'articolo della settimana (massimo 18 candidati, ma si possono aumentare).
Utilizzo
Copia e incolla il seguente codice:
{{VotazioneArticoloSettimana |id= |settimana= |candidato1= |voti-candidato1= |commenti-candidato1= |candidato2= |voti-candidato2= |commenti-candidato2= |candidato3= |voti-candidato3= |commenti-candidato3= ... }}
Esempio:
{{VotazioneArticoloSettimana |id=217 |settimana=26 nov 2007 |candidato1=Tizio |voti-candidato1= # --~~~~ # --~~~~ Sono per Tizio perché bla bla bla |commenti-candidato1= |candidato2=Caio |voti-candidato2= # --~~~~ Sono per Caio perché bla bla bla |commenti-candidato2= |candidato3=Sempronio |voti-candidato3= |commenti-candidato3= * Secondo me bla bla bla. --~~~~ }}