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
Copiado de http://commons.wikimedia.org/w/index.php?title=Template:Gadget-desc&oldid=46088214 (original by Rocket000, Krinkle & DieBuche)
Tradução e movimentação da documentação para subpágina /doc
Linha 1:
{{#if:{{{pagepágina|}}}|<span class=prefsMoveToSection-{{{pagepágina}}}>}}{{#if:{{{namenome|}}}|''{{{namenome|}}}'':&#32;}}{{{desc|{{{1}}}}}} <!--
-->{{#if:{{{usergroupgrupo|}}}|(forpara {{{usergroupgrupo|}}}{{#if:{{{skin|}}}|; somente {{ucfirst:{{lc:{{{skin}}}}}}} only}})|{{#if:{{{skin|}}}|(somente {{ucfirst:{{lc:{{{skin}}}}}}} only)}}}} <!--
-->{{#switch:{{{status}}}
|beta|alphaalfa|testingteste = (''currentlyatualmente inem {{{status}}}'')
|disableddesabilitado|notnão workingfunciona = (''currently {{{status}}} no momento'')
}} <!--
-->{{#if:{{{doc|}}}{{{example|}}}{{{talk|}}}
|<small>&#91;<!--
-->{{#if:{{{doc|}}}|[[{{{doc}}}|documentationdocumentação]]}}<!--
-->{{#if:{{{exampleexemplo|}}}|{{#if:{{{doc|}}}|&nbsp;/&nbsp;}}[[{{{exampleexemplo}}}|exampleexemplo]]}}<!--
-->{{#if:{{{talkdiscussão|}}}|{{#if:{{{doc|}}}{{{exampleexemplo|}}}|&nbsp;/&nbsp;}}[[{{{talkdiscussão}}}|discusscomentários]]}}<!--
-->&#93;</small>
}}{{#if:{{{pagepágina|}}}|</span>}}<noinclude>
{{Documentação}}
 
<!-- ADICIONE CATEGORIAS E INTERWIKIS NA SUBPÁGINA /doc -->
 
----
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>