261
contributi
::::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;"> '''Lucas992''' </span>]] • [[Discussioni utente:Lucas992|<span style="color: #C3C3C3; background: #444444; white-space: nowrap;"> Hai bisogno? </span>]] [[Speciale:Contributi/Lucas992|<span class="small-text" style="color: #B69E00; background: #C0C0E1; white-space: nowrap;"> O vuoi stalkerarmi? </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}}
<‍/pre‍>
descrizione dei parametri
==Esempi==
<pre>{{esempio di utilizzo}}<‍/pre‍>
Risultato:
</pre>
:::::::And the template {‍{Intestazione della documentazione}‍}{{tt|*|it means "documentation header"}} will look like this:
{{notifica|type=acqua|type2=acqua|img=DP Archivio Sprite.png|testo=Questa pagina é una documentazione di template {‍{[[Template:{{{1}}}|{{{1}}}]]}‍}.|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)
|
contributi