Mudanças entre as edições de "Predefinição: New section"

De WikiAjuda
Ir para: navegação, pesquisa
 
(29 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
 
<includeonly><!--
 
<includeonly><!--
 
--><div class="newsection {{#switch: {{{style|}}}
 
--><div class="newsection {{#switch: {{{style|}}}
   |Info=alert alert-info
+
   |Inserir Informação destacada=alert alert-info
   |Danger=alert alert-danger
+
   |Inserir aviso=alert alert-danger
   |Warning=alert alert-warning
+
   |Inserir atenção=alert alert-warning
   |Jumbo=jumbotron
+
   |Inserir texto grande=jumbotron
 +
  |Seção passos simples=steps-secction
 
   |#default=
 
   |#default=
 
}}">
 
}}">
 
{{#switch: {{{style|}}}
 
{{#switch: {{{style|}}}
         |Blockquote ={{#if: {{{before image|}}} |
+
         |Inserir citação ={{#if: {{{before image|}}} |
 +
<p></p>
 
<blockquote>
 
<blockquote>
 
{{{before image|}}}
 
{{{before image|}}}
 
<p><cite>{{{header|}}}</cite></p>
 
<p><cite>{{{header|}}}</cite></p>
 
</blockquote>
 
</blockquote>
 +
<p></p>
 
}}
 
}}
   |#default= {{#if: {{{header|}}} |
+
   |#default= {{#if: {{{header|}}} | {{#switch: {{{style|}}}
== {{{header|}}} ==
+
  |Inserir Informação destacada
<div class="">
+
  |Inserir aviso
 +
  |Inserir atenção
 +
  |Inserir texto grande = <div class="h2">{{{header|}}}</div>
 +
  |Seção sem numeração = {{#ifeq: {{{nivel|}}}
 +
    |Sim
 +
    |<h3 class="nocounter">{{{header|}}}</h3>
 +
    |<h2 class="nocounter">{{{header|}}}</h2>
 +
  }}
 +
  |#default={{#ifeq: {{{nivel|}}}|Sim|<h3>{{{header|}}}</h3>|<h2>{{{header|}}}</h2>}}
 +
}}
 +
<div class="{{#ifeq:{{{style|}}}|Seção passos simples|steps-numbered-wrapper}}">
 
}}<!--
 
}}<!--
  
 
-->{{#if: {{{before image|}}} |
 
-->{{#if: {{{before image|}}} |
 +
{{#ifeq:{{{style|}}}
 +
  |Seção passos simples
 +
  |{{#vardefine: counter|0}}{{#arraymap: {{{before image|}}}
 +
    |\n
 +
    |@
 +
    |
 +
<div class="steps-item">{{#vardefine: counter|{{#expr: {{#var: counter}} + 1}}}}
 +
<div class="steps-item-number" aria-label="Passo {{#var: counter}}">{{#var: counter}}</div>
 +
<div class="steps-item-text">@</div>
 +
</div>
 +
    |
 +
  }}
 +
  |
 
<div>
 
<div>
{{{before image|}}}</div>
+
{{{before image|}}}
 +
</div>
 +
}}
 
}}
 
}}
 
}}<!--
 
}}<!--
  
 
-->{{#if: {{{file|}}} |
 
-->{{#if: {{{file|}}} |
<div class="image col-sm-12">[[File:{{{file|}}}|link={{filepath:{{{file|}}}}}|{{{image description|{{PAGENAME}}}}}]]
+
<div style="margin:1em 0">[[File:{{{file|}}}|{{{image description|{{PAGENAME}}}}}]]
 
{{#if: {{{image description|}}} |
 
{{#if: {{{image description|}}} |
 
<p>{{{image description|}}}</p>
 
<p>{{{image description|}}}</p>
Linha 33: Linha 61:
  
 
-->{{#if: {{{after image|}}} |
 
-->{{#if: {{{after image|}}} |
<div>{{{after image|}}}</div>
+
<p>{{{after image|}}}</p>
 
}}<!--
 
}}<!--
  
 
-->{{#switch: {{{style|}}}
 
-->{{#switch: {{{style|}}}
   |Blockquote=
+
   |Inserir citação=
   |#default={{#if: {{{header|}}} |</div>}}
+
   |#default={{#if: {{{header|}}} |</div><p></p>}}
}}<div class="visualClear"></div></div></includeonly><noinclude>{{template}}
+
}}<div class="visualClear"></div>
 
+
</div></includeonly><noinclude>
 +
{{template}}
 
</noinclude>
 
</noinclude>

Edição atual tal como às 12h31min de 13 de junho de 2020