Differenze tra le versioni di "Discussioni aiuto:Template"

Vai alla navigazione Vai alla ricerca
nessun oggetto della modifica
::::Creating a new namespace is too onerous with all the other work we have to do, and many templates already have documentation in their own page: [[Template:Dex|example]], [[Template:ItemInfobox|another example]]. --[[Utente:Lucas992|<span style="color: #E3CED0; background: #424B50;">&nbsp;'''Lucas992'''&nbsp;</span>]] • [[Discussioni utente:Lucas992|<span style="color: #C3C3C3; background: #444444; white-space: nowrap;">&nbsp;Hai bisogno?&nbsp;</span>]] [[Speciale:Contributi/Lucas992|<span class="small-text" style="color: #B69E00; background: #C0C0E1; white-space: nowrap;">&nbsp;O vuoi stalkerarmi?&nbsp;</span>]] 22:19, 1 gen 2020 (CET)
:::::You're right, but if we would want to have a separate namespace for template documentations, it should not be protected, but single documentation pages may be protected if they are prone to vandalism. Yes, adding new namespaces is a server-side problem. --[[Utente:Infernape4All.|<span style="color:#FF4422">Infernape4All.</span>]]<sub>[[Discussioni utente:Infernape4All.|<span style="color:#BB5544">discussioni</span>]]</sub> 09:43, 2 gen 2020 (CET)
::::::I don't think we need a separate namespace for template documentation, they're fine in the page of the template. The only advantage I can see in doing it is that we can protect the template leaving the documentation unprotected, but given the number of users that know how to write a documentation I think the effort is by far not worth it. In case someone wants to edit a documentation it can do it in a sandbox, then ask an administrator to update the page --[[Utente:Ff300|Ff300]] ([[Discussioni utente:Ff300|discussioni]]) 19:26, 2 gen 2020 (CET)
:::::::So, template documentations would be free to edit, and any user can create it. The only needed thing is the "preload" for template documentations:
<pre style="margin-left:12em">
<no<includeonly></includeonly>include>{{Intestazione della documentazione}}</no<includeonly></includeonly>include>
Ecco la descrizione principale di template
==Uso==
<pre>
{{sintassi di utilizzo di template}}
<&zwj;/pre&zwj;>
descrizione dei parametri
==Esempi==
<pre>{{esempio di utilizzo}}<&zwj;/pre&zwj;>
Risultato:
</pre>
:::::::And the template {&zwj;{Intestazione della documentazione}&zwj;}{{tt|*|it means &quot;documentation header&quot;}} will look like this:
{{notifica|type=acqua|type2=acqua|img=DP Archivio Sprite.png|testo=Questa pagina é una documentazione di template {&zwj;{[[Template:{{{1}}}|{{{1}}}]]}&zwj;}.|small=[[Template:Documentazione|Ulteriori informazioni sulla documentazione di template]].}}
:::::::Also, there could be a category for templates with associated documentation. --[[Utente:Infernape4All.|<span style="color:#FF4422">Infernape4All.</span>]]<sub>[[Discussioni utente:Infernape4All.|<span style="color:#BB5544">discussioni</span>]]</sub> 13:15, 4 gen 2020 (CET)
261

contributi

Menu di navigazione