Dota 2 Wiki
Espacorede (discussão | contribs)
m (Categoria)
Sem resumo de edição
Linha 1: Linha 1:
 
<div id="documentation" style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;">
 
<div id="documentation" style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;">
 
fo.png|40px|link={{NAMESPACE}}:{{PAGENAME}}/doc]] ''This [[:Category:Documentação de predefinições|documentation]] is transcluded from [[{{{1|{{NAMESPACE}}:{{PAGENAME}}/doc}}}]]''.
<div style="float: right;" class="plainlinks">&#91;[[{{{1|{{FULLPAGENAME}}/doc}}}|view]]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}/doc}}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} purge]&#93;
 
</div>
 
<h1 style="margin-top:-0.25em; margin-bottom: 0.25em;">Documentation for ''{{{1|{{PAGENAME}}}}}''</h1><includeonly>
 
{{ #ifexist: {{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}} | {{{{{content|{{NAMESPACE}}:{{PAGENAME}}/doc}}}}} | }}
 
</div></includeonly><includeonly>
 
{{ #ifexist: {{{1|{{NAMESPACE}}:{{PAGENAME}}/doc}}} | <!-- /doc exists -->
 
<div style="clear: both; margin:0.25em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;">
 
::[[Image:Template_info.png|40px|link={{NAMESPACE}}:{{PAGENAME}}/doc]] ''This [[:Category:Documentação de predefinições|documentation]] is transcluded from [[{{{1|{{NAMESPACE}}:{{PAGENAME}}/doc}}}]]''.
 
 
</div> |<!-- no /doc --> }}<!--
 
</div> |<!-- no /doc --> }}<!--
 
-->{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|{{protected|small=1}}|}}</includeonly>__NOEDITSECTION__<noinclude>
 
-->{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|{{protected|small=1}}|}}</includeonly>__NOEDITSECTION__<noinclude>
 
== Usage ==de|<noinclude>}} tags on a template page to display [[:Category:Documentação de predefinições|template documentation]].
== Usage ==
 
* Place {{tl|Template doc}} inside {{code|<noinclude>}} tags on a template page to display [[:Category:Documentação de predefinições|template documentation]].
 
 
* Generally template documentation should only be used on complex templates with multiple parameters. The majority of templates won't need a separate documentation subpage.
 
* Generally template documentation should only be used on complex templates with multiple parameters. The majority of templates won't need a separate documentation subpage.
 
* If you want to have documentation displayed without a subpage, but with the green box, use {{tl|Doc begin}}.
 
* If you want to have documentation displayed without a subpage, but with the green box, use {{tl|Doc begin}}.

Revisão das 21h46min de 29 de janeiro de 2017

fo.png|40px|link=Predefinição:Template doc/doc]] This documentation is transcluded from Predefinição:Template doc/doc.

| }}</includeonly>

== Usage ==de|}} tags on a template page to display template documentation.

  • Generally template documentation should only be used on complex templates with multiple parameters. The majority of templates won't need a separate documentation subpage.
  • If you want to have documentation displayed without a subpage, but with the green box, use {{Doc begin}}.