Predefinição:Field: mudanças entre as edições
Conteúdo deletado Conteúdo adicionado
replacing RegexFun > RegexFunctions |
mSem resumo de edição |
||
(10 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 102:
</templatedata></noinclude><includeonly>
| <!-- faz a exibição do campo colocando negrito nos 3 primeiros números --> {{#switch: {{NAMESPACE}}
| Autoridade = {{#
| {{#
}}
| style="text-align: center; font-weight: bold;" | <!--
| style="text-align: center; font-weight: bold;" | <!--
| <!-- faz a exibição dos subcampos: a primeira regex
{{#rmatch:{{{data|}}}{{{authorityData100|}}}{{{authorityData110|}}}{{{authorityData111|}}}{{{authorityData130|}}}{{{authorityData150|}}}{{{authorityData151|}}}|/(\$[a-z0-8])\s*/|{{#rreplace:{{#rreplace:{{#rreplace:{{#rreplace:{{#rreplace:{{{data|}}}{{{authorityData100|}}}{{{authorityData110|}}}{{{authorityData111|}}}{{{authorityData130|}}}{{{authorityData150|}}}{{{authorityData151|}}}|/\$([a-z0-8])\s*/|${{#tag:b|$1|style=color:blue;}}}}|/(\$<b\s.*?[a-z0-8].*?<\/b>)/|<br>$1}}|/(^<br>)/|}}|/(\n)/| }}|/(\$[A-Z ])(.*)/|{{#tag:b|$1|style=color:red;}}$2}}|{{#tag:b|{{{data|}}}{{{authorityData100|}}}{{{authorityData110|}}}{{{authorityData111|}}}{{{authorityData130|}}}{{{authorityData150|}}}{{{authorityData151|}}}|style=color:red;}}}}
|-<nowiki/>
<div style="display: none">
Linha 135 ⟶ 136:
==== UnBeautify ====
Torna a string apta para exportação (ISO 2709, MARCXML, etc.)
{{#
Exemplo:
$a Ferreira, Jaider A. $q (Jaider Andrade), $d 1990-
Linha 147 ⟶ 148:
|Field data={{{ind1|#}}}{{{ind2|#}}}{{#rreplace:{{{data|}}}{{{authorityData100|}}}{{{authorityData110|}}}{{{authorityData111|}}}{{{authorityData130|}}}{{{authorityData150|}}}{{{authorityData151|}}}|/\s?\$0 (A{{!}}\(BN\))\d*/|}}
|@sortkey={{{tag|}}}
<!--
}}</div></includeonly>
|