Mudanças entre as edições de "Predefinição:Ombox/core"

De Sala Virtual Brusque
Ir para navegaçãoIr para pesquisar
 
(6 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 13: Linha 13:
 
<tr>
 
<tr>
 
{{#ifeq:{{{imagem|}}}|nenhuma|
 
{{#ifeq:{{{imagem|}}}|nenhuma|
<!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
+
<!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;">
 
| <td class="mbox-image" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
 
| <td class="mbox-image" style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
 
   {{#if:{{{imagem|}}}
 
   {{#if:{{{imagem|}}}
Linha 19: Linha 19:
 
   | [[Ficheiro:{{#switch:{{{tipo|}}}
 
   | [[Ficheiro:{{#switch:{{{tipo|}}}
 
     | speedy    |eliminação rápida
 
     | speedy    |eliminação rápida
     | delete    |eliminação        = Ambox warning pn.svg
+
     | delete    |eliminação        = Ambox warning pn.png
     | content    |conteúdo          = Ambox important.svg
+
     | content    |conteúdo          = Ambox important.png
     | style      |estilo            = Broom icon.svg
+
     | style      |estilo            = Broom icon.png
     | move      |mover            = Merge-split-transwiki default 2.svg
+
     | move      |mover            = Merge-split-transwiki default 2.png
     | protection |proteção          = Emblem-readonly.svg
+
     | protection |proteção          = Emblem-readonly.png
 
     | notice    |notícia          <!-- notice = default -->
 
     | notice    |notícia          <!-- notice = default -->
     | #default  = Information icon.svg
+
     | #default  = Information icon.png
 
     }} | {{#switch:{{{peq|}}}|sim|yes=30x30px|40x40px}} ]]
 
     }} | {{#switch:{{{peq|}}}|sim|yes=30x30px|40x40px}} ]]
 
   }}</td>
 
   }}</td>
 
}}
 
}}
<td class="mbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{texto}}} </td>
+
<td class="mbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{texto}}}
 
{{#if:{{{imagem_direita|}}}
 
{{#if:{{{imagem_direita|}}}
 
| {{#switch:{{{imagem_direita|}}}|nenhuma|none= <!-- No image. -->
 
| {{#switch:{{{imagem_direita|}}}|nenhuma|none= <!-- No image. -->
   | <td class="mbox-imageright"> {{{imagem_direita}}} </td>
+
   | <td class="mbox-imageright"> {{{imagem_direita}}}  
 
   }}
 
   }}
 
}}
 
}}
</tr>
+
<!-- Detect and report usage with faulty "type" parameter:
</table><!-- Detect and report usage with faulty "type" parameter:
 
 
-->{{#switch:{{{tipo|}}}
 
-->{{#switch:{{{tipo|}}}
 
|  <!-- No type fed, is also valid input -->
 
|  <!-- No type fed, is also valid input -->
Linha 47: Linha 46:
 
| notice    |notícia  =    <!-- Do nothing, valid "type" -->
 
| notice    |notícia  =    <!-- Do nothing, valid "type" -->
 
| #default  = <div style="text-align: center;">Esta caixa usa o parâmetro "tipo={{{tipo|}}}" de forma errada.</div><a class="autolink" href="/wiki/Category:Wikipedia message box parameter needs fixing">[[Category:Wikipedia message box parameter needs fixing|<a class="autolink" href="/wiki/Template:main other">{{main other|Main:}}</a>{{FULLPAGENAME}}]]</a><!-- Sort on namespace -->
 
| #default  = <div style="text-align: center;">Esta caixa usa o parâmetro "tipo={{{tipo|}}}" de forma errada.</div><a class="autolink" href="/wiki/Category:Wikipedia message box parameter needs fixing">[[Category:Wikipedia message box parameter needs fixing|<a class="autolink" href="/wiki/Template:main other">{{main other|Main:}}</a>{{FULLPAGENAME}}]]</a><!-- Sort on namespace -->
}}
+
}}<noinclude>
 +
{{documentação}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Edição atual tal como às 11h43min de 14 de maio de 2012