Diferenças entre edições de "Predefinição:Documentation"

Da Thinkfn
Linha 1: Linha 1:
<div class="template-documentation"><!--
+
{{
 +
#ifeq: {{{heading|μ}}} | <!-- definido mas vazio -->
 +
  | <!-- nada -->
 +
  | <div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex"><!--
 +
-->{{
 +
    #ifeq: {{{content|μ}}} | μ
 +
      | <span class="editsection plainlinks" id="doc_editlinks"><!--
 +
    -->{{
 +
        #ifexist: {{{1|{{Documentation/docname}}}}}
 +
          | <!-- /doc existe --><!--
 +
        -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} {{edit}}]]
 +
          | <!--**/doc DOESN'T EXIST**--><!--
 +
        -->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} {{create}}]]
 +
        }}</span>
 +
    }} <span style="{{
 +
                    #if: {{{heading-style|}}}
 +
                      | {{{heading-style}}}
 +
                      | {{
 +
                        #ifeq: {{NAMESPACE}} | {{ns:template}}
 +
                          | font-weight: bold; font-size: 125%
 +
                          | font-size: 150%
 +
                        }}
 +
                    }}"><!--
 +
-->{{
 +
    #if: {{{heading|}}}
 +
      | {{{heading}}}
 +
      | Documentação<!--
 +
-->}}</span></div>
 +
}}<!--
  
These are the literal class definitions in common.css:
+
-->{{
+
#switch: {{SUBPAGENAME}}
/* For template documentation */
+
   | dev
.template-documentation {
+
   | tst = <!-- não apresentar links nas páginas de desenvolvimento e testes -->
    clear: both;
+
  | #default=
    margin: 1em 0 0 0;
+
     {{
    border: 1px solid #aaa;
+
    #switch: {{SUBJECTSPACE}}
    background-color: #ecfcf4;
+
      | {{ns:template}}
    padding: 5px;
+
      | {{ns:user}}=
}
+
        {{
 
+
        #ifexist: {{FULLPAGENAME}}/dev
 
+
          | Esta predefinição tem uma versão para desenvolvimento <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /dev }}|action=edit}} {{edit}}])</small> <!--
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**-->
+
        -->{{
  |<!--**NOTHING**-->
+
            #ifexist: {{FULLPAGENAME}}/tst
  |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
+
              | e casos de teste <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /casos de teste }}|action=edit}} {{edit}}])</small><!--
  |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
+
        -->}} para testar alterações.
    |<!--**    /doc EXISTS**   -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
+
          | {{
    |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
+
            #ifexist: {{FULLPAGENAME}}/tst
  }}</span>
+
              | Esta predefinição tem casos de teste <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /tst }}|action=edit}} {{edit}}])</small> para testar alterações.<!--
   }} </div>
+
        -->}}
}}<!--
+
        }}
 
+
    }}
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
+
}}
 
+
{{
-->{{#switch: {{SUBPAGENAME}}
+
#if: {{{content|}}}
  |dev|tst=<!-- Não apresentar links nas páginas de desenvolvimento e testes -->
+
  | {{{content}}}
  |#default=
+
  | {{
     {{#switch: {{SUBJECTSPACE}}
+
    #ifexist: {{{1|{{Documentation/docname}}}}}
    |{{ns:template}}
+
      | {{ {{{1|{{Documentation/docname}}}}} }}
    |{{ns:user}}=
+
    }}
      {{#ifexist: {{FULLPAGENAME}}/dev
+
}}
      | Esta predefinição tem uma versão para desenvolvimento <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /dev }}|action=edit}} edit])</small> <!--
+
        -->{{#ifexist: {{FULLPAGENAME}}/tst
+
        | e casos de teste <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /casos de teste }}|action=edit}} edit])</small>}} para testar alterações.
+
      |{{#ifexist: {{FULLPAGENAME}}/tst
+
        | Esta predefinição tem casos de teste <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /tst }}|action=edit}} edit])</small> para testar alterações.}}
+
}}}}}}
+
</div>
+
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
+
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
</div><noinclude>
+
<noinclude>
 
+
[[Categoria:!Predefinições pra predefinições]]
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
</noinclude>
 
</noinclude>

Revisão das 06h16min de 15 de novembro de 2008

[[{{fullurl: [{{fullurl:Predefinição:Documentation/{{{1}}}|action=edit&preload=Template:Documentation/preload/{{{1}}}}} <desconhecida>]|action=edit&preload=Template:Documentation/preload}} Predefinição:Create]] Documentação