Predefinição:SubjectSearch/intro e Predefinição:User: mudanças entre as páginas
< Busca por assunto(Diferenças entre páginas)
Ir para navegação
Ir para pesquisar
imp>Jaider Sem resumo de edição |
imported>Jaideraf Sem resumo de edição |
||
Linha 1: | Linha 1: | ||
<includeonly><!-- {{#if: {{{postalCode|}}} | {{#get_web_data: |
|||
<div style="text-align: center">{{plural: {{#ask: [[Category:Obra]] [[Has as subject the topic::{{#urldecode:{{#urlget:searchString}}}}]] OR [[Category:Obra]] [[Has as subject the chronological period::{{#urldecode:{{#urlget:searchString}}}}]] OR [[Category:Obra]] [[Has as subject the place::{{#urldecode:{{#urlget:searchString}}}}]] |
|||
url=http://viacep.com.br/ws/{{{postalCode|}}}/json/ |
|||
| format=count }} |
|||
|format=JSON |
|||
| {{int:Wikincat-foundResults-withoutNumbers|{{#ask: [[Category:Obra]] [[Has as subject the topic::{{#urldecode:{{#urlget:searchString}}}}]] OR [[Category:Obra]] [[Has as subject the chronological period::{{#urldecode:{{#urlget:searchString}}}}]] OR [[Category:Obra]] [[Has as subject the place::{{#urldecode:{{#urlget:searchString}}}}]] |
|||
|data=logradouro=logradouro,bairro=bairro,localidade=localidade,uf=uf}} |
|||
| format=count }}}}.<br> |
|||
{{#set:Has address={{#external_value:logradouro}}{{#if:{{{houseNumber|}}}|, {{{houseNumber|}}}}}}} |
|||
| {{int:Wikincat-foundResults-withNumbers|{{#ask: [[Category:Obra]] [[Has as subject the topic::{{#urldecode:{{#urlget:searchString}}}}]] OR [[Category:Obra]] [[Has as subject the chronological period::{{#urldecode:{{#urlget:searchString}}}}]] OR [[Category:Obra]] [[Has as subject the place::{{#urldecode:{{#urlget:searchString}}}}]] |
|||
{{#set:neighborhood={{#external_value:bairro}}}} |
|||
| format=count }}}}.<br>}}</div> |
|||
{{#set:Has city={{#external_value:localidade}}}} |
|||
{{#set:state={{#external_value:uf}}}} |
|||
}} Disable: working with javascrip MediaWiki:AddressFromCep.js --> |
|||
<table style="width: 54%;" class="smwtable-clean sortable jquery-tablesorter"> |
|||
<caption>'''{{{userName|}}}'''</caption> |
|||
<tr> |
|||
<td>Nome</td> |
|||
<td>[[userName::{{{userName|}}}]]</td> |
|||
</tr> |
|||
<tr> |
|||
<td>Email</td> |
|||
<td>{{#arraymap:{{{email|}}}|;|x|x{{#set:email=x}} }}</td> |
|||
</tr> |
|||
<tr> |
|||
<td>Rua e número</td> |
|||
<td>{{#ask:[[{{FULLPAGENAME}}]]|?Has address=|mainlabel=-}}{{#if:{{{street|}}}|{{#set:Has address={{{street|}}}{{#if:{{{houseNumber|}}}|, {{{houseNumber|}}}}}}}}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td>Bairro</td> |
|||
<td>{{#ask:[[{{FULLPAGENAME}}]]|?neighborhood=|mainlabel=-}}{{#if:{{{neighborhood|}}}|{{#set:neighborhood={{{neighborhood|}}}}}}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td>Cidade</td> |
|||
<td>{{#ask:[[{{FULLPAGENAME}}]]|?Has city=|mainlabel=-|headers=hide}}, {{#ask:[[{{FULLPAGENAME}}]]|?state|mainlabel=-|headers=hide}}{{#if:{{{Has city|}}}|{{#set:Has city={{{Has city|}}}}}}}{{#if:{{{state|}}}|{{#set:state={{{state|}}}}}}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td>CEP</td> |
|||
<td>[[postalCode::{{{postalCode|}}}]]</td> |
|||
</tr> |
|||
{{#if: {{{phone|}}} | |
|||
<tr> |
|||
<td>Telefone</td> |
|||
<td>{{#arraymap:{{{phone|}}}|;|x|x{{#set:phone=x}}}}</td> |
|||
</tr>}} |
|||
{{#if: {{{Has date of birth|}}} | |
|||
<tr> |
|||
<td>Data de nascimento</td> |
|||
<td>{{#time: d "de" F "de" Y |{{{Has date of birth|}}}}}{{#set:Has date of birth={{{Has date of birth|}}}}}</td> |
|||
</tr>}} |
|||
{{#if: {{{Has gender|}}} | |
|||
<tr> |
|||
<td>Gênero</td> |
|||
<td>[[Has gender::{{{Has gender|}}}]]</td> |
|||
</tr>}} |
|||
<tr> |
|||
<td>Data de registro</td> |
|||
<td>{{#time: d "de" F "de" Y |{{{Has registration date|}}}}}{{#set:Has registration date={{{Has registration date|}}}}}</td> |
|||
</tr> |
|||
<tr> |
|||
<td>Data de expiração</td> |
|||
<td>{{#time: d "de" F "de" Y |{{{Has expiration date|}}}}}{{#set:Has expiration date={{{Has expiration date|}}}}}</td> |
|||
</tr> |
|||
{{#if: {{{Has holding institution|}}} | |
|||
<tr> |
|||
<td>Instituição</td> |
|||
<td>{{ItemRecord/hasHoldingInstitution|{{{Has holding institution|}}}}}{{#set:Has holding institution={{{Has holding institution|}}}}}</td> |
|||
</tr>}} |
|||
{{#if: {{{course|}}} | |
|||
<tr> |
|||
<td>Curso</td> |
|||
<td>[[course::{{{course|}}}]]</td> |
|||
</tr>}} |
|||
{{#if: {{{userNote|}}} | |
|||
<tr> |
|||
<td>Nota</td> |
|||
<td>[[userNote::{{{userNote|}}}]]</td> |
|||
</tr>}} |
|||
</table>{{#if:{{{Has identifier for the user|}}}|{{#set:Has identifier for the user={{{Has identifier for the user|}}}}}}}{{#arraymap:{{{userType|}}}|;|x|{{#set:userType=x}}}}[[Category:User]][[Category:Excluded from XML]]__NOINDEX__</includeonly><noinclude> |
|||
<pre> |
|||
{{User |
|||
|userName= |
|||
|email= |
|||
|postalCode= |
|||
|houseNumber= |
|||
|street= |
|||
|neighborhood= |
|||
|Has city= |
|||
|state= |
|||
|phone= |
|||
|Has date of birth= |
|||
|Has gender= |
|||
|Has registration date= |
|||
|Has expiration date= |
|||
|Has identifier for the user= |
|||
|Has holding institution= |
|||
|course= |
|||
|userType= |
|||
|userNote= |
|||
}} |
|||
</pre> |
|||
</noinclude> |
Edição das 17h58min de 30 de maio de 2021
{{User |userName= |email= |postalCode= |houseNumber= |street= |neighborhood= |Has city= |state= |phone= |Has date of birth= |Has gender= |Has registration date= |Has expiration date= |Has identifier for the user= |Has holding institution= |course= |userType= |userNote= }}