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

De Wikincat
Ir para navegação Ir para pesquisar
(rmsubfield=2)
m (fixing ..)
 
(13 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
<html><script src="/w/index.php?title=MediaWiki:FileSaver.js&action=raw&ctype=text/javascript"></script><script src="https://unpkg.com/docx@4.7.1/build/index.js"></script><script src="/w/index.php?title=MediaWiki:Html2canvas.js&action=raw&ctype=text/javascript"></script></html><div id="cardCatalog">
<html><script src="/w/index.php?title=MediaWiki:FileSaver.js&action=raw&ctype=text/javascript"></script><script src="https://unpkg.com/docx@4.7.1/build/index.js"></script><script src="/w/index.php?title=MediaWiki:Html2canvas.js&action=raw&ctype=text/javascript"></script></html><div id="backToRecord">< Voltar para: [[{{#urlget:fullpagename}}]]</div>
<div id="cardCatalog">
<div id="cipParagraph" class="center">Dados internacionais de Catalogação na Publicação (CIP)</div>
<div id="cipParagraph" class="center">Dados internacionais de Catalogação na Publicação (CIP)</div>
<br>
<br>
<div id="cardArea">
<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;"
<div id="card" class="card" style="height: auto; width: 127.0mm; border: 2px solid; padding: 15px; margin: auto;"><p style="margin-top: 0px;"
>{{#regex:{{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 -->
>{{#rreplace:{{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|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=-}}}}}}


Linha 22: Linha 23:
{{#if:{{Exist|020}}|<br>{{Print ISBN}}}}
{{#if:{{Exist|020}}|<br>{{Print ISBN}}}}


<!-- pista - a regex logo a seguir substitui ".." por ".", caso o valor termine em "." -->
<!-- pista - o replace logo a seguir substitui ".." por ".", caso o valor termine em "." --><span class="numeralpha-numeral">
{{#regex:&emsp;&emsp;{{#if:{{Exist|600}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#600
{{#rreplace:&emsp;&emsp;{{#if:{{Exist|600}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#600
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 30: Linha 31:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:in}} {{Field data trim|@@@@|subject=yes|rmsubfield=2}}.&#32;|}}}}{{#if:{{Exist|610}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#610
}}|§|@@@@|<span class="increment-numeralpha-numeral">{{Field data trim|@@@@|subject=yes|rmsubfield=2}}.</span>&#32;|}}}}{{#if:{{Exist|610}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#610
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 37: Linha 38:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:in}} {{Field data trim|@@@@|subject=yes|rmsubfield=2}}.&#32;|}}}}{{#if:{{Exist|611}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#611
}}|§|@@@@|<span class="increment-numeralpha-numeral">{{Field data trim|@@@@|subject=yes|rmsubfield=2}}.</span>&#32;|}}}}{{#if:{{Exist|611}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#611
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 44: Linha 45:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:in}} {{Field data trim|@@@@|subject=yes|rmsubfield=2}}.&#32;|}}}}{{#if:{{Exist|650}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#650
}}|§|@@@@|<span class="increment-numeralpha-numeral">{{Field data trim|@@@@|subject=yes|rmsubfield=2}}.</span>&#32;|}}}}{{#if:{{Exist|650}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#650
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 51: Linha 52:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:in}} {{Field data trim|@@@@|subject=yes|rmsubfield=2}}.&#32;|}}}}{{#if:{{Exist|651}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#651
}}|§|@@@@|<span class="increment-numeralpha-numeral">{{Field data trim|@@@@|subject=yes|rmsubfield=2}}.</span>&#32;|}}}}{{#if:{{Exist|651}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#651
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 58: Linha 59:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:in}} {{Field data trim|@@@@|subject=yes|rmsubfield=2}}.&#32;|}}}}{{#if:{{Exist|700}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#700
}}|§|@@@@|<span class="increment-numeralpha-numeral">{{Field data trim|@@@@|subject=yes|rmsubfield=2}}.</span>&#32;|}}}}</span><span class="numeralpha-roman">{{#if:{{Exist|700}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#700
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 65: Linha 66:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:ir}} {{Field data trim|@@@@}}.&#32;|}}}}{{#if:{{Exist|710}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#710
}}|§|@@@@|<span class="increment-numeralpha-roman">{{Field data trim|@@@@}}.</span>&#32;|}}}}{{#if:{{Exist|710}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#710
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 72: Linha 73:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:ir}} {{Field data trim|@@@@}}.&#32;|}}}}{{#if:{{Exist|711}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#711
}}|§|@@@@|<span class="increment-numeralpha-roman">{{Field data trim|@@@@}}.</span>&#32;|}}}}{{#if:{{Exist|711}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#711
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 79: Linha 80:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:ir}} {{Field data trim|@@@@}}.&#32;|}}}}{{#if:{{Exist|730}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#730
}}|§|@@@@|<span class="increment-numeralpha-roman">{{Field data trim|@@@@}}.</span>&#32;|}}}}{{#if:{{Exist|730}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#730
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 86: Linha 87:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:ir}} {{Field data trim|@@@@}}.&#32;|}}}}{{#if:{{Exist|740}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#740
}}|§|@@@@|<span class="increment-numeralpha-roman">{{Field data trim|@@@@}}.</span>&#32;|}}}}{{#if:{{Exist|740}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#740
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 93: Linha 94:
|mainlabel=-
|mainlabel=-
|valuesep=§
|valuesep=§
}}|§|@@@@|{{#tag:ir}} {{Field data trim|@@@@}}.&#32;|}}}}{{#if:{{Exist|830}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#830
}}|§|@@@@|<span class="increment-numeralpha-roman">{{Field data trim|@@@@}}.</span>&#32;|}}}}{{#if:{{Exist|830}}|{{#arraymap:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#830
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 100: Linha 101:
|mainlabel=-
|mainlabel=-
|valuesep=§
|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.}}|/\.\./|.}}
}}|§|@@@@|<span class="increment-numeralpha-roman">{{Field data trim|@@@@}}.</span>&#32;|}} | {{#if:{{Exist|490}} | {{#ifeq: {{Field data string|490|0|1|is=1}} | yes | <span class="increment-numeralpha-roman">Série.</span>&#32;}}}}}}{{#ifeq: {{Field data string|245|0|1|is=1}} | yes | <span class="increment-numeralpha-roman">Título.</span>}}|\.\.|.}}</span> <!-- esta /span fecha a da numeralpha-roman -->
{{#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}}{{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 -->
{{#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 -->
Linha 114: Linha 115:
{| class="wikincatTable"
{| class="wikincatTable"
|-
|-
| <html><button id="by">Informar o nome e o nº do CRB</button></html> || Exemplo: Nome e sobrenome – CRB-XX/XXXX
| <html><button id="catalogCardBy">Informar o nome e o nº do CRB</button></html> || Exemplo: Nome e sobrenome – CRB-XX/XXXX
|-
|-
| <html><button type="button" onclick="Export2Docx()">Exportar como documento .docx</button></html> || '''Opção recomendada'''
| <html><button type="button" onclick="Export2Docx()">Exportar como documento .docx</button></html> || '''Opção recomendada'''
Linha 125: Linha 126:
|}
|}
<html></div>
<html></div>
<script src="/w/index.php?title=MediaWiki:NumerAlpha.js&action=raw&ctype=text/javascript"></script>
<script src="/w/index.php?title=MediaWiki:CardCatalog.js&action=raw&ctype=text/javascript"></script>
<script src="/w/index.php?title=MediaWiki:CardCatalog.js&action=raw&ctype=text/javascript"></script>
<script src="/w/index.php?title=MediaWiki:CardToDocx.js&action=raw&ctype=text/javascript"></script>
<script src="/w/index.php?title=MediaWiki:CardToDocx.js&action=raw&ctype=text/javascript"></script>

Edição atual tal como às 11h42min de 1 de fevereiro de 2023

< Voltar para: [[]]
Dados internacionais de Catalogação na Publicação (CIP)


  



  


Elaborado por Wikincat, 2024.


Exemplo: Nome e sobrenome – CRB-XX/XXXX
Opção recomendada
Experimental: recomenda-se a opção ".docx" acima O documento irá abrir em modo "Layout da Web". Clique em "Layout de Impressão"
Chrome: Destino: Salvar como PDF Para um melhor resultado, acesse Mais definições, Opções, e desmarque "Cabeçalhos e rodapés" Firefox: Impressora: Imprimir para arquivo Para um melhor resultado, acesse Opções, Cabeçalho e rodapé, e deixe todos os menus "--em branco--"
Experimental: recomenda-se que a janela esteja maximizada