Ir para o conteúdo

Predefinição:ExibirPaginaAnexo: mudanças entre as edições

De Normas Regulamentadoras
Sem resumo de edição
Etiqueta: Revertido
Sem resumo de edição
Etiqueta: Reversão manual
Linha 4: Linha 4:
<includeonly>
<includeonly>
<!-- TÍTULO DA NORMA-->
<!-- TÍTULO DA NORMA-->
<!-- Cenário 4: Título Fixo Atual da Norma + Anexo Vigente -->
<includeonly>{{#ifeq: {{{norma|}}} | | <!-- Se estiver vazio, não faz nada e evita o erro 1064 --> |
<div style="text-align: center; font-size: 1.6em; font-weight: bold; margin: -10px 0 -5px 0; padding: 0 !important; background: none !important;">
  {{#cargo_query:tables=Normas|fields=CONCAT('NR-',{{{norma}}},' – ',Normas.nome)=t|where=Normas.norma={{{norma}}}|format=raw}}
</div>
<div style="text-align: center; font-size: 1.3em; font-weight: bold; color: #27ae60; margin: 5px 0 -5px 0; padding: 0 !important; background: none !important;">
  {{#cargo_query:tables=PortariasNormas|fields=designacao|where=norma={{{norma}}} AND origem={{{origem|1}}} AND verbo='R' AND sai IS NULL|format=raw}}
</div>
}}</includeonly>
<div style="text-align: center; font-size: 1.6em; font-weight: bold; margin: -10px 0 0 0; padding: 0 !important; background: none !important;">{{#cargo_query:tables=Normas|fields=CONCAT('NR-',{{{norma|}}},' – ',Normas.nome)=t|where=Normas.norma={{{norma|}}}|format=raw}}</div>
<div style="text-align: center; font-size: 1.6em; font-weight: bold; margin: -10px 0 0 0; padding: 0 !important; background: none !important;">{{#cargo_query:tables=Normas|fields=CONCAT('NR-',{{{norma|}}},' – ',Normas.nome)=t|where=Normas.norma={{{norma|}}}|format=raw}}</div>



Edição das 20h50min de 19 de agosto de 2026

Predefinição estrutural para exibição dos Anexos das Normas Regulamentadoras com Sistema Orbital.