MediaWiki:Gadget-LiveRC 1x.js/InserisciTemplate.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m Maintenance: Replacing legacy global variable (phab:T72470)
m -fronzoli
Riga 1:
/*
//* PermetteEstensione di LiveRC che permette di inserire i template di avviso in cima alle voci
--------------------------------------------------------------------------------------
---------LLLL---------III--------------------------RRRRRRRRRR--------CCCCC------------
---------LLLL---------III--------------------------RRRRRRRRRRRR----CCCCCCCCC----------
---------LLLL--------------------------------------RRR------RRR---CCC-----CCC---------
---------LLLL---------III--VV-----VV--EEEEEEEEE----RRR------RRR--CCC------------------
---------LLLL---------III---VV---VV---EEE----------RRRRRRRRRRR---CCC------------------
---------LLLL---------III---VV---VV---EEEEEE-------RRRRRRRRRR----CCC------------------
---------LLLL---------III----VV-VV----EEEEEE-------RRR-----RRR----CCC-----CCC---------
---------LLLLLLLLLLL--III----VVVVV----EEE----------RRR------RRR----CCCCCCCCC----------
---------LLLLLLLLLLL--III-----VVV-----EEEEEEEEE----RRR-------RRR-----CCCCC------------
--------------------------------------------------------------------------------------
'''Extension de LiveRC'''
// Permette di inserire i template di avviso in cima alle voci
* Licence : ...?
* Documentation :
* Auteur : [[:it:User:Jalo]] [[:it:User:Rotpunkt]] [[:fr:User:Dr Brains]]
*
Riga 25 ⟶ 9:
* http://it.wikipedia.org/w/index.php?title=MediaWiki:Gadget-tb-* (for the templates)
* author Rotpunkt (http://it.wikipedia.org/wiki/Utente:Rotpunkt)
* Développement et maintenance :
 
{{Catégorisation JS|LiveRC}}
*/
//<source lang=javascript>
 
if (typeof(lrcHooks)!="undefined") { // DÉBUT IF
Riga 173 ⟶ 152:
argomento: {name: 'Argomento', type: 'select', value: templateArguments_A},
argomento2: {name: 'Argomento2', type: 'select', value: templateArguments_A},
mese: {name: 'Mese', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 184 ⟶ 163:
motivo: {name: 'Motivo', type: 'string'},
argomento: {name: 'Argomento', type: 'select', value: templateArguments_C},
mese: {name: 'Mese', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 196 ⟶ 175:
argomento: {name: 'Argomento', type: 'select', value: templateArguments_E},
argomento2: {name: 'Argomento2', type: 'select', value: templateArguments_E},
data: {name: 'Data', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 207 ⟶ 186:
commento: {name: 'Commento', type: 'string'},
argomento: {name: 'Argomento', type: 'select', value: templateArguments_F},
data: {name: 'Data', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 218 ⟶ 197:
argomento: {name: 'Argomento', type: 'select', value: templateArguments_O},
argomento2: {name: 'Argomento2', type: 'select', value: templateArguments_O},
mese: {name: 'Mese', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 230 ⟶ 209:
argomento: {name: 'Argomento', type: 'select', value: templateArguments_P},
argomento2: {name: 'Argomento2', type: 'select', value: templateArguments_P},
mese: {name: 'Mese', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 251 ⟶ 230:
lingua: {name: 'Lingua', type: 'string'},
argomento: {name: 'Argomento', type: 'select', value: templateArguments_T},
data: {name: 'Data', type: 'string', value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 267 ⟶ 246:
sezione: {name: 'Sezione', type: 'string'},
commento: {name: 'Commento', type: 'string'},
data: {name: 'Data', type: 'string' , value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 278 ⟶ 257:
parameters : {
argomento: {name: 'Argomento', type: 'select', value: templateArguments_W},
data: {name: 'Data', type: 'string', value:'{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 310 ⟶ 289:
argomento2: {name: 'Argomento2', type: 'select', value: templateArguments_Correggere},
commento: {name: 'Commento', type: 'string'},
mese: {name: 'Mese', type: 'string' , value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 331 ⟶ 310:
argomento2: {name: 'Argomento2', type: 'select', value: templateArguments_DaAggiornare},
commento: {name: 'Commento', type: 'string'},
mese: {name: 'Mese', type: 'string' , value: '{{subst:' + 'CURRENTMONTHNAME}}'},
anno: {name: 'Anno', type: 'string' , value: '{{subst:' + 'CURRENTYEAR}}'}
}
},
Riga 352 ⟶ 331:
argomento: {name: 'argomento', type: 'select', value: templateArguments_Controlcopy},
motivo: {name: 'motivo', type: 'string'},
data: {name: 'Data', type: 'string' , value: '{{subst:' + 'CURRENTMONTHNAME}} {{subst' + ':CURRENTYEAR}}'}
}
},
Riga 1 166 ⟶ 1 145:
/* ************************************************************************************************************************************************ */
} // FIN IF
//</source>