Template:VotazioneArticoloSettimana: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
mNessun oggetto della modifica
Nessun oggetto della modifica
Riga 1: Riga 1:
{| class="LightVotingTable target-blank" width="{{{larghezza|90%}}}" align="{{{lato|center}}}"
{| class="LightVotingTable target-blank" style="width: {{{larghezza|90%}}}; margin: {{#switch:{{{lato|center}}}|center=0 auto|left=0 auto 0 0|right=0 0 0 auto|#default=0 auto}};"
| colspan="2" | <center><big>'''Settimana dal {{{settimana-dal}}}'''</big></center>
| colspan="2" style="text-align: center; font-size: 125%;"| '''Settimana dal {{{settimana-dal}}}'''
|-
|-
| width="50%" | <center>'''1. [[{{{candidato1}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=1</span>}}</center>
| style="width: 50%; text-align: center;" | '''1. [[{{{candidato1}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=1</span>}}
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} <center>'''2. [[{{{candidato2}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=2</span>}}</center> | {{!}} 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" {{!}} }}
|-
|-
| <small>{{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1|}}}}}</small>
| style="font-size: 80%;" | {{{voti-candidato1|''inserire firma''}}}
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato2|}}}||''inserire firma''|{{{voti-candidato2|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato2|''inserire firma''}}} }}
|-
|-
| <small>{{#ifeq:{{{commenti-candidato1|}}}||''inserire commenti''|{{{commenti-candidato1|}}}}}</small>
| style="font-size: 80%;" | {{{commenti-candidato1|''inserire commenti''}}}
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato2|}}}||''inserire commenti''|{{{commenti-candidato2|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato2|''inserire commenti''}}} }}
{{#if:{{{candidato3|}}}|
{{#if:{{{candidato3|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''3. [[{{{candidato3}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=3</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''3. [[{{{candidato3}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=3</span>}}
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} <center>'''4. [[{{{candidato4}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=4</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato3|''inserire firma''}}}
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato4|}}}||''inserire firma''|{{{voti-candidato4|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato4|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato3|}}}||''inserire commenti''|{{{commenti-candidato3|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato3|''inserire commenti''}}}
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato4|}}}||''inserire commenti''|{{{commenti-candidato4|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato4|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato5|}}}|
{{#if:{{{candidato5|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''5. [[{{{candidato5}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=5</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''5. [[{{{candidato5}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=5</span>}}
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} <center>'''6. [[{{{candidato6}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=6</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato5|''inserire firma''}}}
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato6|}}}||''inserire firma''|{{{voti-candidato6|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato6|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato5|}}}||''inserire commenti''|{{{commenti-candidato5|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato5|''inserire commenti''}}}
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato6|}}}||''inserire commenti''|{{{commenti-candidato6|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato6|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato7|}}}|
{{#if:{{{candidato7|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''7. [[{{{candidato7}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=7</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''7. [[{{{candidato7}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=7</span>}}
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} <center>'''8. [[{{{candidato8}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=8</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato7|''inserire firma''}}}
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato8|}}}||''inserire firma''|{{{voti-candidato8|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato8|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato7|}}}||''inserire commenti''|{{{commenti-candidato7|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato7|''inserire commenti''}}}
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato8|}}}||''inserire commenti''|{{{commenti-candidato8|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato8|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato9|}}}|
{{#if:{{{candidato9|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''9. [[{{{candidato9}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=9</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''9. [[{{{candidato9}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=9</span>}}
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} <center>'''10. [[{{{candidato10}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=10</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato9|''inserire firma''}}}
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato10|}}}||''inserire firma''|{{{voti-candidato10|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato10|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato9|}}}||''inserire commenti''|{{{commenti-candidato9|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato9|''inserire commenti''}}}
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato10|}}}||''inserire commenti''|{{{commenti-candidato10|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato10|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato11|}}}|
{{#if:{{{candidato11|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''11. [[{{{candidato11}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=11</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''11. [[{{{candidato11}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=11</span>}}
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} <center>'''12. [[{{{candidato12}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=12</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato11|''inserire firma''}}}
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato12|}}}||''inserire firma''|{{{voti-candidato12|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato12|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato11|}}}||''inserire commenti''|{{{commenti-candidato11|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato11|''inserire commenti''}}}
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato12|}}}||''inserire commenti''|{{{commenti-candidato12|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato12|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato13|}}}|
{{#if:{{{candidato13|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''13. [[{{{candidato13}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=13</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''13. [[{{{candidato13}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=13</span>}}
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} <center>'''14. [[{{{candidato14}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=14</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato13|''inserire firma''}}}
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato14|}}}||''inserire firma''|{{{voti-candidato14|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato14|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato13|}}}||''inserire commenti''|{{{commenti-candidato13|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato13|''inserire commenti''}}}
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato14|}}}||''inserire commenti''|{{{commenti-candidato14|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato14|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato15|}}}|
{{#if:{{{candidato15|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''15. [[{{{candidato15}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=15</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''15. [[{{{candidato15}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=15</span>}}
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} <center>'''16. [[{{{candidato16}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=16</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato15|''inserire firma''}}}
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato16|}}}||''inserire firma''|{{{voti-candidato16|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato16|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato15|}}}||''inserire commenti''|{{{commenti-candidato15|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato15|''inserire commenti''}}}
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato16|}}}||''inserire commenti''|{{{commenti-candidato16|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato16|''inserire commenti''}}} }}
}}
}}
{{#if:{{{candidato17|}}}|
{{#if:{{{candidato17|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''17. [[{{{candidato17}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=17</span>}}</center>
{{!}} style="text-align: center;" {{!}} '''17. [[{{{candidato17}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=17</span>}}
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} <center>'''18. [[{{{candidato18}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=18</span>}}</center> | {{!}} 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" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato17|''inserire firma''}}}
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} <small>{{#ifeq:{{{voti-candidato18|}}}||''inserire firma''|{{{voti-candidato18|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{voti-candidato18|''inserire firma''}}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{commenti-candidato17|}}}||''inserire commenti''|{{{commenti-candidato17|}}}}}</small>
{{!}} style="font-size: 80%;" {{!}} {{{commenti-candidato17|''inserire commenti''}}}
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} <small>{{#ifeq:{{{commenti-candidato18|}}}||''inserire commenti''|{{{commenti-candidato18|}}}}}</small>}}
{{!}} style="font-size: 80%;" {{!}} {{{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:17, 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. --~~~~
}}