Template:VotazioneArticoloSettimana: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
(ma lol)
(Zaza rulez)
Riga 1: Riga 1:
{| class="BG_nerotrasp_corto" style="background-color:#fefaf3; border:1px solid #efce9e; border-spacing:0px; border-collapse:separate; -webkit-box-shadow: 0px 5px 7px -3px #9a9a9a; -moz-box-shadow: 0px 5px 7px -3px #9a9a9a;" width="{{{larghezza|95%}}}" align="{{{lato|center}}}"
{| class="BG_nerotrasp_corto" style="background-color:#fefaf3; border:1px solid #efce9e; border-spacing:0px; border-collapse:separate; -webkit-box-shadow: 0px 5px 7px -3px #9a9a9a; -moz-box-shadow: 0px 5px 7px -3px #9a9a9a;" width="{{{larghezza|95%}}}" align="{{{lato|center}}}"
| colspan="2" class="BG_biancotrasp_corto" style="border-bottom:1px solid #efce9e; background-color:#ffeece; padding-top:5px;" |
| colspan="2" class="BG_biancotrasp_corto" style="border-bottom:1px solid #efce9e; background-color:#ffeece; padding-top:5px;" |
<center><big>'''Settimana dal {{{settimana-dal}}}'''</big>
<center><big>'''Settimana dal {{{settimana-dal}}}'''</big>
{{#if:{{{modifica|}}}|<span class="radius BG_biancotrasp" style="padding:2px 1em; border:1px solid #efce9e; background-color:#fdf2e1;">
{{#if:{{{modifica|}}}|<span class="radius BG_biancotrasp" style="padding:2px 1em; border:1px solid #efce9e; background-color:#fdf2e1;">
[http://nonciclopedia.wikia.com/index.php?title=Nonciclopedia:Articolo_della_settimana&action=edit&section=3 aggiungi un voto/commento ]
[http://nonciclopedia.wikia.com/index.php?title=Nonciclopedia:Articolo_della_settimana&action=edit&section=3 aggiungi un voto/commento ]
</span>|}}</center>
</span>|}}</center>
|-
|-
| width="50%" style="border-right:1px solid #efce9e; border-top:0px solid #efce9e; background-color:#fff5e3;" | <center>'''1. [[{{{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. {{#NewWindowLink: {{{candidato1|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. [[{{{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. {{#NewWindowLink: {{{candidato2|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. [[{{{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. {{#NewWindowLink: {{{candidato3|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. [[{{{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. {{#NewWindowLink: {{{candidato4|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. [[{{{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. {{#NewWindowLink: {{{candidato5|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. [[{{{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. {{#NewWindowLink: {{{candidato6|candidato6}}} }} '''{{#if:{{{id|}}}|<br /><span class="voteButton" style="display: none;">id={{{id}}};vote=6</span>}}</center> | {{!}} rowspan="3" {{!}} }}
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5|}}}}}</small>
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e;" {{!}} <small>{{#ifeq:{{{voti-candidato5|}}}||''inserire firma''|{{{voti-candidato5|}}}}}</small>
Riga 90: Riga 90:
{{#if:{{{candidato7|}}}|
{{#if:{{{candidato7|}}}|
{{!}}-
{{!}}-
{{!}} style="border-right:1px solid #efce9e; border-top:1px solid #efce9e; background-color:#fff5e3;" {{!}} <center>'''7. [[{{{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. {{#NewWindowLink: {{{candidato7|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. [[{{{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. {{#NewWindowLink: {{{candidato8|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. [[{{{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. {{#NewWindowLink: {{{candidato9|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. [[{{{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. {{#NewWindowLink: {{{candidato10|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. [[{{{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. {{#NewWindowLink: {{{candidato11|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. [[{{{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. {{#NewWindowLink: {{{candidato12|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. [[{{{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. {{#NewWindowLink: {{{candidato13|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. [[{{{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. {{#NewWindowLink: {{{candidato14|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. [[{{{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. {{#NewWindowLink: {{{candidato15|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. [[{{{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. {{#NewWindowLink: {{{candidato16|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. [[{{{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. {{#NewWindowLink: {{{candidato17|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. [[{{{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. {{#NewWindowLink: {{{candidato18|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 04:26, 14 mar 2012

Settimana dal {{{settimana-dal}}}
1. {{#NewWindowLink: 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. --~~~~
}}