Differenze tra le versioni di "Discussioni utente:En-Cu-Kou/Report"

→‎Template?: nuova sezione
(→‎Template?: nuova sezione)
The database has some shortened names of moves (Att. Rapido, Sottomiss., Teletraspor., …). I haven't seen these on the Wiki at all, but I'm sure they're ripped from some games. Were they used in previous generations or something? I think Pokémon Central should mention that, and make redirects. --[[Utente:En-Cu-Kou|[⁄⁄⁄] En‐Cu‐Kou]] 14:28, 3 set 2011 (CEST)
:Yes, the shortened names are from the games. however, only Movimento Sismico (Mov. Sismico) and Ombra Notturna (Ombra Nott.) have redirects and I personally don't know why.--[[User:Qwilava|Qwilava]] <nowiki>[</nowiki>[[Discussioni utente:Qwilava|rispondimi]]] 14:38, 3 set 2011 (CEST)
 
== Template? ==
 
Wow, all the pretty colors!
 
Maybe it would be better to do this with a template? Then I wouldn't have to do any translating in the script, and it would be easier for other-language wikis to use it.<br>
I was thinking about something like this at [[Template:dbreport]]:
 
<pre><nowiki>
[[{{{2}}}]] <tt>{{{3}}}</tt>: {{ #switch:{{{1}}}
|head=:Controllo del riporto di {{{site}}}
:Revisione {{{wiki revision}}}
 
Questo riporto segna gli:
* Errori ed omissioni nello script del check
* Errori nel database
* Errori nel wiki
È compito degli umani decidere quali sono gli errori.
|diff=Parametro del template '''{{{4}}}''': valore giusto <span style="color: green">{{{5}}}</span>, valore errato <span style="color: red">{{{6}}}</span>
|extr=Parametro del template sconosciuto: '''{{{4}}}'''=<span style="color: red">{{{5}}}</span>
|miss=Parametro del template mancante: '''{{{4}}}'''=<span style="color: green">{{{5}}}</span>
|dupl=Parametro del template duplicato: '''{{{4}}}'''
|nopage=Pagina assente
|total=:{{{num}}} errori trovati
|ignored=:{{{num}}} errori aspettati ignorati
|???
}}
</nowiki></pre>
 
And the list would then look like this. Hopefully still easy enough for people to find and remove lines:
 
<pre><nowiki>
* {{dbreport|diff| Aerasoio (mossa) | infobox | target | adjacentfoes | foes }}
* {{dbreport|extr| Aeroattacco (mossa) | infobox | mtxd | yes }}
* {{dbreport|dupl| Aeroattacco (mossa) | infobox | na | no }}
* {{dbreport|extr| Affannoseme (mossa) | infobox | 1 | }}
* {{dbreport|miss| Affannoseme (mossa) | infobox | appeal | 2 }}
</nowiki></pre>
 
I don't have a way to test it so there's probably a bug in there. Would it possible to get template editing permissions so I can get it to work?
 
Also, there's no need to edit the whole list to use the template; the script needs to be able to do that automatically :)
--[[Utente:En-Cu-Kou|&#91;⁄⁄⁄&#93; En‐Cu‐Kou]] 16:12, 4 set 2011 (CEST)
31

contributi