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

De Wikincat
Ir para navegação Ir para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 13: Linha 13:
|searchlabel=… mais resultados
|searchlabel=… mais resultados
|sep=@@@@
|sep=@@@@
}}|@@@@|@Control field data@|{{#regex:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|<controlfield tag="$2">$3</controlfield>}}|}}{{#replace:{{#replace:{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
}}|@@@@|@Control field data@|{{#regex:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|{{#tag:controlfield|$3|tag=$2}}}}|}}{{#replace:{{#replace:{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
|?Field data
|?Field data
|format=plainlist
|format=plainlist
Linha 37: Linha 37:
<?xml version="1.0" encoding="UTF-8"?><br />
<?xml version="1.0" encoding="UTF-8"?><br />
<record xmlns="<nowiki>http://www.loc.gov/MARC21/slim</nowiki>"><br />
<record xmlns="<nowiki>http://www.loc.gov/MARC21/slim</nowiki>"><br />
  {{#regex:{{#rreplace:<leader>{{#replace:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#000
  {{#regex:{{#regex:{{#tag:leader|{{#replace:{{#show:{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}#000
|?Leader#
|?Leader#
|format=plainlist
|format=plainlist
Linha 43: Linha 43:
|headers=hide
|headers=hide
|mainlabel=-
|mainlabel=-
}}|#|&#32;}}</leader><br />
}}|#|&#32;}}}}<br />
{{#arraymap:{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Control field data::+]]
{{#arraymap:{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Control field data::+]]
|?Control field data
|?Control field data
Linha 52: Linha 52:
|searchlabel=… mais resultados
|searchlabel=… mais resultados
|sep=@@@@
|sep=@@@@
}}|@@@@|@Control field data@|{{#regex:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|  <controlfield tag="$2">$3</controlfield>}}|<br />}}<br />
}}|@@@@|@Control field data@|{{#regex:@Control field data@|/(.*)#(\d{3})\s\((.*)\)/|  {{#tag:controlfield|$3|tag=$2}}}}|<br />}}<br />
{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
{{#ask:[[-Has subobject::{{{1|{{#urldecode:{{#urlget:fullpagename|{{FULLPAGENAME}}}}}}}}}]][[Field data::+]]
|?Field data
|?Field data
Linha 63: Linha 63:
|template=Marcxml/PrettyFieldBreaker
|template=Marcxml/PrettyFieldBreaker
}}
}}
</record>|/="(\d{1,3})"/|="{{#tag:b|$1}}"}}|/="([a-z])"/|="<b style="color:blue;">$1</b>"}}{{DISPLAYTITLE:MARCXML}}</noinclude>
</record>|/="(\d{1,3})"/|="{{#tag:b|$1}}"}}|/="([a-z])"/|="{{#tag:b|$1|style=color:blue;}}"}}{{DISPLAYTITLE:MARCXML}}</noinclude>

Edição das 10h14min de 6 de janeiro de 2023

> Exportar registro


<?xml version="1.0" encoding="UTF-8"?>
<record xmlns="http://www.loc.gov/MARC21/slim">
  {{#regex:{{#regex:<leader></leader>

</record>|/="(\d{1,3})"/|="$1"}}|/="([a-z])"/|="$1"}}