Predefinição:Descrição do gadget: diferenças entre revisões

[edição não verificada][edição não verificada]
Conteúdo apagado Conteúdo adicionado
m é melhor dar a chance de ler o que outros comentarem a respeito de um gadget antes de comentar algo a mais
Copiado de http://commons.wikimedia.org/w/index.php?title=Template:Gadget-desc&oldid=46088214 (original by Rocket000, Krinkle & DieBuche)
Linha 1:
{{#if:{{{page|}}}|<span class=prefsMoveToSection-{{{page}}}>}}{{#if:{{{name|}}}|''{{{name|}}}'':&#32;}}{{{desc|{{{1}}}}}} <!--
[ [[{{{1|Wikilivros:Diálogos comunitários}}}|Comentários]] ]<noinclude>
-->{{#if:{{{usergroup|}}}|(for {{{usergroup|}}}{{#if:{{{skin|}}}|; {{ucfirst:{{lc:{{{skin}}}}}}} only}})|{{#if:{{{skin|}}}|({{ucfirst:{{lc:{{{skin}}}}}}} only)}}}} <!--
{{Documentação}}
-->{{#switch:{{{status}}}
<!-- ADICIONE CATEGORIAS E INTERWIKIS NA SUBPÁGINA /doc -->
|beta|alpha|testing = (''currently in {{{status}}}'')
|disabled|not working = (''currently {{{status}}}'')
}} <!--
-->{{#if:{{{doc|}}}{{{example|}}}{{{talk|}}}
|<small>&#91;<!--
-->{{#if:{{{doc|}}}|[[{{{doc}}}|documentation]]}}<!--
-->{{#if:{{{example|}}}|{{#if:{{{doc|}}}|&nbsp;/&nbsp;}}[[{{{example}}}|example]]}}<!--
-->{{#if:{{{talk|}}}|{{#if:{{{doc|}}}{{{example|}}}|&nbsp;/&nbsp;}}[[{{{talk}}}|discuss]]}}<!--
-->&#93;</small>
}}{{#if:{{{page|}}}|</span>}}<noinclude>
 
 
----
This is for use on [[Special:Gadgets]] to provide consistently formatted descriptions of gadgets.
 
{| class="wikitable" style="background:#fbfbfb; width:100%; margin-bottom:0"
|-style="background:#a7c1f2; text-align:center; font-weight:bold"
| Parameter name || Description || Required or optional?
|-
| ''parameter #1'' (1) || description of the gadget (start with a capital letter) || required
|-
| name || name of the gadget || optional (some don't have one or is not important)
|-
| talk || talk page where users can discuss the gadget || optional (but recommended)
|-
| usergroup || indicate if a gadget is for a specific usergroup: admins, OTRS-members, etc. || optional
|-
| skin || indicate if a gadget is for a specific skin: monobook, vector, etc. || optional
|-
| status || indicate the status: beta, alpha, testing, disabled, not working || optional (stable/working gadgets don't need this)
|-
| doc || page name where the gadget is documented || optional
|-
| example || page name where there's an example of the gadget || optional
|-
| page || Show the setting on a different page (0:User profile, 1:Appearance etc.) || optional, but helpful to reduce clutter on gadgets page
|}
 
[[Category:Miscellaneous templates|{{PAGENAME}}]]
</noinclude>