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:
</span>|}}</center>
</span>|}}</center>
|-
|-
| width="50%" style="border-right:1px solid #efce9e; border-top:0px solid #efce9e; background-color:#fff5e3;" | <center>'''1. {{#NewWindowLink: {{{candidato1|candidato1}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=1</span>}}</center>
| width="50%" style="border-right:1px solid #efce9e; border-top:0px solid #efce9e; background-color:#fff5e3;" | <center>'''1. {{#if:{{{candidato1no|}}}| {{{candidato1}}} | {{#NewWindowLink: {{{candidato1}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=1</span>}}</center>
{{#if:{{{candidato2|}}}|
{{#if:{{{candidato2|}}}|
{{!}} style="border-top:0px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''2. {{#NewWindowLink: {{{candidato2|candidato2}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=2</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:0px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''2. {{#if:{{{candidato2no|}}}| {{{candidato2}}} | {{#NewWindowLink: {{{candidato2}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=2</span>}}</center> | {{!}} rowspan="3" {{!}} }}
|-
|-
| style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" | <small>{{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1|}}}}}</small>
| style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" | <small>{{#ifeq:{{{voti-candidato1|}}}||''inserire firma''|{{{voti-candidato1|}}}}}</small>
Riga 34: Riga 34:
{{#if:{{{candidato3|}}}|
{{#if:{{{candidato3|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''3. {{#NewWindowLink: {{{candidato3|candidato3}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=3</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''3. {{#if:{{{candidato3no|}}}| {{{candidato3}}} | {{#NewWindowLink: {{{candidato3}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=3</span>}}</center>
{{#if:{{{candidato4|}}}|
{{#if:{{{candidato4|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''4. {{#NewWindowLink: {{{candidato4|candidato4}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=4</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''4. {{#if:{{{candidato4no|}}}| {{{candidato4}}} | {{#NewWindowLink: {{{candidato4}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=4</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato3|}}}||''inserire firma''|{{{voti-candidato3|}}}}}</small>
Riga 62: Riga 62:
{{#if:{{{candidato5|}}}|
{{#if:{{{candidato5|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''5. {{#NewWindowLink: {{{candidato5|candidato5}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=5</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''5. {{#if:{{{candidato5no|}}}| {{{candidato5}}} | {{#NewWindowLink: {{{candidato5}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=5</span>}}</center>
{{#if:{{{candidato6|}}}|
{{#if:{{{candidato6|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''6. {{#if:{{{candidato6no|}}}| {{{candidato6}}} | {{#NewWindowLink: {{{candidato6}}} }} }}''' {{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=6</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''6. {{#if:{{{candidato6no|}}}| {{{candidato6}}} | {{#NewWindowLink: {{{candidato6}}} }} }}''' {{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=6</span>}}</center> | {{!}} rowspan="3" {{!}} }}
Riga 90: Riga 90:
{{#if:{{{candidato7|}}}|
{{#if:{{{candidato7|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''7. {{#NewWindowLink: {{{candidato7|candidato7}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=7</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''7. {{#if:{{{candidato7no|}}}| {{{candidato7}}} | {{#NewWindowLink: {{{candidato7}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=7</span>}}</center>
{{#if:{{{candidato8|}}}|
{{#if:{{{candidato8|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''8. {{#NewWindowLink: {{{candidato8|candidato8}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=8</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''8. {{#if:{{{candidato8no|}}}| {{{candidato8}}} | {{#NewWindowLink: {{{candidato8}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=8</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato7|}}}||''inserire firma''|{{{voti-candidato7|}}}}}</small>
Riga 118: Riga 118:
{{#if:{{{candidato9|}}}|
{{#if:{{{candidato9|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''9. {{#NewWindowLink: {{{candidato9|candidato9}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=9</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''9. {{#if:{{{candidato9no|}}}| {{{candidato9}}} | {{#NewWindowLink: {{{candidato9}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=9</span>}}</center>
{{#if:{{{candidato10|}}}|
{{#if:{{{candidato10|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''10. {{#NewWindowLink: {{{candidato10|candidato10}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=10</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''10. {{#if:{{{candidato10no|}}}| {{{candidato10}}} | {{#NewWindowLink: {{{candidato10}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=10</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato9|}}}||''inserire firma''|{{{voti-candidato9|}}}}}</small>
Riga 146: Riga 146:
{{#if:{{{candidato11|}}}|
{{#if:{{{candidato11|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''11. {{#NewWindowLink: {{{candidato11|candidato11}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=11</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''11. {{#if:{{{candidato11no|}}}| {{{candidato11}}} | {{#NewWindowLink: {{{candidato11}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=11</span>}}</center>
{{#if:{{{candidato12|}}}|
{{#if:{{{candidato12|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''12. {{#NewWindowLink: {{{candidato12|candidato12}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=12</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''12. {{#if:{{{candidato12no|}}}| {{{candidato12}}} | {{#NewWindowLink: {{{candidato12}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=12</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato11|}}}||''inserire firma''|{{{voti-candidato11|}}}}}</small>
Riga 174: Riga 174:
{{#if:{{{candidato13|}}}|
{{#if:{{{candidato13|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''13. {{#NewWindowLink: {{{candidato13|candidato13}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=13</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''13. {{#if:{{{candidato13no|}}}| {{{candidato13}}} | {{#NewWindowLink: {{{candidato13}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=13</span>}}</center>
{{#if:{{{candidato14|}}}|
{{#if:{{{candidato14|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''14. {{#NewWindowLink: {{{candidato14|candidato14}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=14</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''14. {{#if:{{{candidato14no|}}}| {{{candidato14}}} | {{#NewWindowLink: {{{candidato14}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=14</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato13|}}}||''inserire firma''|{{{voti-candidato13|}}}}}</small>
Riga 202: Riga 202:
{{#if:{{{candidato15|}}}|
{{#if:{{{candidato15|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''15. {{#NewWindowLink: {{{candidato15|candidato15}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=15</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''15. {{#if:{{{candidato15no|}}}| {{{candidato15}}} | {{#NewWindowLink: {{{candidato15}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=15</span>}}</center>
{{#if:{{{candidato16|}}}|
{{#if:{{{candidato16|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''16. {{#NewWindowLink: {{{candidato16|candidato16}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=16</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''16. {{#if:{{{candidato16no|}}}| {{{candidato16}}} | {{#NewWindowLink: {{{candidato16}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=16</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato15|}}}||''inserire firma''|{{{voti-candidato15|}}}}}</small>
Riga 230: Riga 230:
{{#if:{{{candidato17|}}}|
{{#if:{{{candidato17|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''17. {{#NewWindowLink: {{{candidato17|candidato17}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=17</span>}}</center>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''17. {{#if:{{{candidato17no|}}}| {{{candidato17}}} | {{#NewWindowLink: {{{candidato17}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=17</span>}}</center>
{{#if:{{{candidato18|}}}|
{{#if:{{{candidato18|}}}|
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''18. {{#NewWindowLink: {{{candidato18|candidato18}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=18</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}} style="border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''18. {{#if:{{{candidato18no|}}}| {{{candidato18}}} | {{#NewWindowLink: {{{candidato18}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=18</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato17|}}}||''inserire firma''|{{{voti-candidato17|}}}}}</small>

Versione delle 18:04, 18 mar 2012

Settimana dal {{{settimana-dal}}}
1. {{#if:| {{{candidato1}}} | {{#NewWindowLink: {{{candidato1}}} }}

{{#if:|

2. {{#NewWindowLink: {{{candidato2}}} }}
inserire firma
inserire commenti

{{#if:|

3. {{#if:| {{{candidato3}}} | {{#NewWindowLink: {{{candidato3}}} }}

{{#if:|

5. {{#NewWindowLink: {{{candidato5}}} }}
inserire firma
inserire commenti

{{#if:|

7. {{#if:| {{{candidato7}}} | {{#NewWindowLink: {{{candidato7}}} }}

{{#if:|

9. {{#if:| {{{candidato9}}} | {{#NewWindowLink: {{{candidato9}}} }}

{{#if:|

11. {{#if:| {{{candidato11}}} | {{#NewWindowLink: {{{candidato11}}} }}

{{#if:|

13. {{#if:| {{{candidato13}}} | {{#NewWindowLink: {{{candidato13}}} }}

{{#if:|

15. {{#if:| {{{candidato15}}} | {{#NewWindowLink: {{{candidato15}}} }}

{{#if:|

17. {{#if:| {{{candidato17}}} | {{#NewWindowLink: {{{candidato17}}} }}

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