Template:VotazioneArticoloSettimana: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
m (Annullate le modifiche di Zaza (discussione), riportata alla versione precedente di MFH)
mNessun oggetto della modifica
Riga 2: Riga 2:
| colspan="2" | <center><big>'''Settimana dal {{{settimana-dal}}}'''</big></center>
| colspan="2" | <center><big>'''Settimana dal {{{settimana-dal}}}'''</big></center>
|-
|-
| width="50%" | <center>'''1. [[{{{candidato1}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=1</span>}}</center>
| width="50%" | <center>'''1. [[{{{candidato1}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=1</span>}}</center>
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} <center>'''2. [[{{{candidato2}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=2</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''2. [[{{{candidato2}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=2</span>}}</center> | {{!}} rowspan="3" {{!}} }}
|-
|-
| <small>{{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1|}}}}}</small>
| <small>{{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1|}}}}}</small>
Riga 15: Riga 15:
{{#if:{{{candidato3|}}}|
{{#if:{{{candidato3|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''3. [[{{{candidato3}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=3</span>}}</center>
{{!}} <center>'''3. [[{{{candidato3}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=3</span>}}</center>
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} <center>'''4. [[{{{candidato4}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=4</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''4. [[{{{candidato4}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=4</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3|}}}}}</small>
Riga 29: Riga 29:
{{#if:{{{candidato5|}}}|
{{#if:{{{candidato5|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''5. [[{{{candidato5}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=5</span>}}</center>
{{!}} <center>'''5. [[{{{candidato5}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=5</span>}}</center>
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} <center>'''6. [[{{{candidato6}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=6</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''6. [[{{{candidato6}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=6</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5|}}}}}</small>
Riga 43: Riga 43:
{{#if:{{{candidato7|}}}|
{{#if:{{{candidato7|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''7. [[{{{candidato7}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=7</span>}}</center>
{{!}} <center>'''7. [[{{{candidato7}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=7</span>}}</center>
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} <center>'''8. [[{{{candidato8}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=8</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''8. [[{{{candidato8}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=8</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7|}}}}}</small>
Riga 57: Riga 57:
{{#if:{{{candidato9|}}}|
{{#if:{{{candidato9|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''9. [[{{{candidato9}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=9</span>}}</center>
{{!}} <center>'''9. [[{{{candidato9}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=9</span>}}</center>
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} <center>'''10. [[{{{candidato10}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=10</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''10. [[{{{candidato10}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=10</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9|}}}}}</small>
Riga 71: Riga 71:
{{#if:{{{candidato11|}}}|
{{#if:{{{candidato11|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''11. [[{{{candidato11}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=11</span>}}</center>
{{!}} <center>'''11. [[{{{candidato11}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=11</span>}}</center>
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} <center>'''12. [[{{{candidato12}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=12</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''12. [[{{{candidato12}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=12</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11|}}}}}</small>
Riga 85: Riga 85:
{{#if:{{{candidato13|}}}|
{{#if:{{{candidato13|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''13. [[{{{candidato13}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=13</span>}}</center>
{{!}} <center>'''13. [[{{{candidato13}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=13</span>}}</center>
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} <center>'''14. [[{{{candidato14}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=14</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''14. [[{{{candidato14}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=14</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13|}}}}}</small>
Riga 99: Riga 99:
{{#if:{{{candidato15|}}}|
{{#if:{{{candidato15|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''15. [[{{{candidato15}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=15</span>}}</center>
{{!}} <center>'''15. [[{{{candidato15}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=15</span>}}</center>
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} <center>'''16. [[{{{candidato16}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=16</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''16. [[{{{candidato16}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=16</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15|}}}}}</small>
Riga 113: Riga 113:
{{#if:{{{candidato17|}}}|
{{#if:{{{candidato17|}}}|
{{!}}-
{{!}}-
{{!}} <center>'''17. [[{{{candidato17}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=17</span>}}</center>
{{!}} <center>'''17. [[{{{candidato17}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=17</span>}}</center>
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} <center>'''18. [[{{{candidato18}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=18</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} <center>'''18. [[{{{candidato18}}}]]'''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id=a{{{id}}};vote=18</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} <small>{{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17|}}}}}</small>
{{!}} <small>{{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17|}}}}}</small>

Versione delle 16:14, 11 apr 2010

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. --~~~~
}}