Template:VotazioneArticoloSettimana: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 6: 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="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%;" |
| style="font-size: 80%;" | {{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1}}}}}
{{{voti-candidato1|''inserire firma''}}}
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato2|}}}||''inserire firma''|{{{voti-candidato2}}}}} }}
{{{voti-candidato2|''inserire firma''}}} }}
|-
|-
| style="font-size: 80%;" |
| style="font-size: 80%;" | {{#ifeq:{{{commenti-candidato1|}}}||''inserire commenti''|{{{commenti-candidato1}}}}}
{{{commenti-candidato1|''inserire commenti''}}}
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato2|}}}||''inserire commenti''|{{{commenti-candidato2}}}}} }}
{{{commenti-candidato2|''inserire commenti''}}} }}
{{#if:{{{candidato3|}}}|
{{#if:{{{candidato3|}}}|
{{!}}-
{{!}}-
Riga 23: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3}}}}}
{{{voti-candidato3|''inserire firma''}}}
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato4|}}}||''inserire firma''|{{{voti-candidato4}}}}} }}
{{{voti-candidato4|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato3|}}}||''inserire commenti''|{{{commenti-candidato3}}}}}
{{{commenti-candidato3|''inserire commenti''}}}
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato4|}}}||''inserire commenti''|{{{commenti-candidato4}}}}} }}
{{{commenti-candidato4|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato5|}}}|
{{#if:{{{candidato5|}}}|
Riga 41: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5}}}}}
{{{voti-candidato5|''inserire firma''}}}
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato6|}}}||''inserire firma''|{{{voti-candidato6}}}}} }}
{{{voti-candidato6|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato5|}}}||''inserire commenti''|{{{commenti-candidato5}}}}}
{{{commenti-candidato5|''inserire commenti''}}}
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato6|}}}||''inserire commenti''|{{{commenti-candidato6}}}}} }}
{{{commenti-candidato6|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato7|}}}|
{{#if:{{{candidato7|}}}|
Riga 59: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7}}}}}
{{{voti-candidato7|''inserire firma''}}}
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato8|}}}||''inserire firma''|{{{voti-candidato8}}}}} }}
{{{voti-candidato8|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato7|}}}||''inserire commenti''|{{{commenti-candidato7}}}}}
{{{commenti-candidato7|''inserire commenti''}}}
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato8|}}}||''inserire commenti''|{{{commenti-candidato8}}}}} }}
{{{commenti-candidato8|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato9|}}}|
{{#if:{{{candidato9|}}}|
Riga 77: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9}}}}}
{{{voti-candidato9|''inserire firma''}}}
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato10|}}}||''inserire firma''|{{{voti-candidato10}}}}} }}
{{{voti-candidato10|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato9|}}}||''inserire commenti''|{{{commenti-candidato9}}}}}
{{{commenti-candidato9|''inserire commenti''}}}
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato10|}}}||''inserire commenti''|{{{commenti-candidato10}}}}} }}
{{{commenti-candidato10|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato11|}}}|
{{#if:{{{candidato11|}}}|
Riga 95: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11}}}}}
{{{voti-candidato11|''inserire firma''}}}
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato12|}}}||''inserire firma''|{{{voti-candidato12}}}}} }}
{{{voti-candidato12|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato11|}}}||''inserire commenti''|{{{commenti-candidato11}}}}}
{{{commenti-candidato11|''inserire commenti''}}}
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato12|}}}||''inserire commenti''|{{{commenti-candidato12}}}}} }}
{{{commenti-candidato12|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato13|}}}|
{{#if:{{{candidato13|}}}|
Riga 113: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13}}}}}
{{{voti-candidato13|''inserire firma''}}}
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato14|}}}||''inserire firma''|{{{voti-candidato14}}}}} }}
{{{voti-candidato14|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato13|}}}||''inserire commenti''|{{{commenti-candidato13}}}}}
{{{commenti-candidato13|''inserire commenti''}}}
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato14|}}}||''inserire commenti''|{{{commenti-candidato14}}}}} }}
{{{commenti-candidato14|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato15|}}}|
{{#if:{{{candidato15|}}}|
Riga 131: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15}}}}}
{{{voti-candidato15|''inserire firma''}}}
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato16|}}}||''inserire firma''|{{{voti-candidato16}}}}} }}
{{{voti-candidato16|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato15|}}}||''inserire commenti''|{{{commenti-candidato15}}}}}
{{{commenti-candidato15|''inserire commenti''}}}
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato16|}}}||''inserire commenti''|{{{commenti-candidato16}}}}} }}
{{{commenti-candidato16|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato17|}}}|
{{#if:{{{candidato17|}}}|
Riga 149: Riga 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="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%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17}}}}}
{{{voti-candidato17|''inserire firma''}}}
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{voti-candidato18|}}}||''inserire firma''|{{{voti-candidato18}}}}} }}
{{{voti-candidato18|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato17|}}}||''inserire commenti''|{{{commenti-candidato17}}}}}
{{{commenti-candidato17|''inserire commenti''}}}
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} style="font-size: 80%;" {{!}}
{{!}} style="font-size: 80%;" {{!}} {{#ifeq:{{{commenti-candidato18|}}}||''inserire commenti''|{{{commenti-candidato18}}}}} }}
{{{commenti-candidato18|''inserire commenti''}}} }}
}}
}}
|}<noinclude>Template che serve a far partire una votazione per l'articolo della settimana (massimo 18 candidati, ma si possono aumentare).
|}<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. --~~~~
}}