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

Ir para navegação Ir para pesquisar
replacing RegexFun > RegexFunctions
Sem resumo de edição
(replacing RegexFun > RegexFunctions)
<div id="cardArea">
<div id="card" class="card" style="height: auto; width: 127.0mm; border: 2px solid; padding: 15px; margin: auto;"><p style="margin-top: 0px;"
>{{#regexrreplace:{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#100|?Field data=|mainlabel=-}}}}{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#110|?Field data=|mainlabel=-}}}}{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#111|?Field data=|mainlabel=-}}}}{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#130|?Field data=|mainlabel=-}}}}</p><!-- 240 -->
{{#if:{{Exist|240}}|{{#ifeq: {{Field data string|240|0|1|}} | 1 |&emsp;&emsp;[{{Select|240|a}} {{Select|240|l}}]<br>}}}}&emsp;&emsp;{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#245|?Field data=|mainlabel=-}}}}{{#if:{{Exist|250}}|<nowiki> – </nowiki>{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#250|?Field data=|mainlabel=-}}}}}}{{#if:{{Exist|260}}|<nowiki> – </nowiki>{{Field data trim|{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#260|?Field data=|mainlabel=-}}}}}}
 
{{#if:{{Exist|020}}|<br>{{Print ISBN}}}}
 
<!-- pista - ao regexreplace logo a seguir substitui ".." por ".", caso o valor termine em "." -->
{{#regexreplace:&emsp;&emsp;{{#if:{{Exist|600}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#600
|?Field data
|format=plainlist
|mainlabel=-
|valuesep=§
}}|§|@@@@|{{#tag:ir}} {{Field data trim|@@@@}}.&#32;|}} | {{#if:{{Exist|490}} | {{#ifeq: {{Field data string|490|0|1|is=1}} | yes | {{#tag:ir}} Série.&#32;}}}}}}{{#ifeq: {{Field data string|245|0|1|is=1}} | yes | {{#tag:ir}} Título.}}|/\.\./|.}}
{{#if:{{Exist|080}}{{Exist|082}}|{{#if:{{Exist|082}}|<p style="text-align: right; margin-bottom: 0px;">CDD – {{Select|082|a}}{{#if:{{Select|082|b}}{{Select|090|b}}|<br>{{Select|082|b}}{{Select|090|b}}}}</p>}}
{{#if:{{Exist|080}}|<p style="text-align: right; margin-bottom: 0px;">CDU – {{Select|080|a}}{{#if:{{Select|080|b}}{{Select|090|b}}|<br>{{Select|080|b}}{{Select|090|b}}}}</p>}}}}|/[  ]+([:;])/|<nowiki> </nowiki>$1}} <!-- regex necessária para não produzir non-breaking space antes de pontuações no html -->

Menu de navegação