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

De Wikincat
Ir para navegação Ir para pesquisar
m (uma edição)
(replacing old syntax)
 
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
<includeonly>{{#if: {{{postalCode|}}} | {{#get_web_data:
<includeonly><!-- {{#if: {{{postalCode|}}} | {{#get_web_data:
url=http://viacep.com.br/ws/{{{postalCode|}}}/json/
url=http://viacep.com.br/ws/{{{postalCode|}}}/json/
|format=JSON
|format=JSON
Linha 7: Linha 7:
{{#set:Has city={{#external_value:localidade}}}}
{{#set:Has city={{#external_value:localidade}}}}
{{#set:state={{#external_value:uf}}}}
{{#set:state={{#external_value:uf}}}}
}} Disable: working with javascrip MediaWiki:AddressFromCep.js -->
}}
<table style="width: 54%;" class="tabela">
<table style="width: 54%;" class="smwtable-clean sortable jquery-tablesorter">
<caption class="caption highlighted">{{{userName|}}}</caption>
<caption>'''{{{userName|}}}'''</caption>
<tr>
<tr>
<td class="cell">Nome</td>
<td>Nome</td>
<td>[[userName::{{{userName|}}}]]</td>
<td>{{{userName|}}} {{#set:User name={{{userName|}}}}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="cell">Email</td>
<td>Email</td>
<td>{{#arraymap:{{{email|}}}|;|x|x{{#set:email=x}} }}</td>
<td>{{#arraymap:{{{email|}}}|;|x|x}} {{#set:Email={{{email|}}}|+sep=;}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="cell">Rua e número</td>
<td>Rua e número</td>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?Has address=|mainlabel=-}}{{#if:{{{street|}}}|{{#set:Has address={{{street|}}}{{#if:{{{houseNumber|}}}|, {{{houseNumber|}}}}}}}}}</td>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?Has address=|mainlabel=-}}{{#if:{{{street|}}}|{{#set:Has address={{{street|}}}{{#if:{{{houseNumber|}}}|, {{{houseNumber|}}}}}}}}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="cell">Bairro</td>
<td>Bairro</td>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?neighborhood=|mainlabel=-}}{{#if:{{{neighborhood|}}}|{{#set:neighborhood={{{neighborhood|}}}}}}}</td>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?neighborhood=|mainlabel=-}}{{#if:{{{neighborhood|}}}|{{#set:neighborhood={{{neighborhood|}}}}}}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="cell">Cidade</td>
<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>
<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>
<tr>
<tr>
<td class="cell">CEP</td>
<td>CEP</td>
<td>[[postalCode::{{{postalCode|}}}]]</td>
<td>{{{postalCode|}}} {{#set:Postal code={{{postalCode|}}}}}</td>
</tr>
</tr>
{{#if: {{{phone|}}} |
{{#if: {{{phone|}}} |
<tr>
<tr>
<td class="cell">Telefone</td>
<td>Telefone</td>
<td>{{#arraymap:{{{phone|}}}|;|x|x{{#set:phone=x}}}}</td>
<td>{{#arraymap:{{{phone|}}}|;|x|x{{#set:phone=x}}}}</td>
</tr>}}
</tr>}}
{{#if: {{{Has date of birth|}}} |
{{#if: {{{Has date of birth|}}} |
<tr>
<tr>
<td class="cell">Data de nascimento</td>
<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>
<td>{{#time: d "de" F "de" Y |{{{Has date of birth|}}}}}{{#set:Has date of birth={{{Has date of birth|}}}}}</td>
</tr>}}
</tr>}}
{{#if: {{{Has gender|}}} |
{{#if: {{{Has gender|}}} |
<tr>
<tr>
<td class="cell">Gênero</td>
<td>Gênero</td>
<td>[[Has gender::{{{Has gender|}}}]]</td>
<td>{{{Has gender|}}} {{#set:Has gender={{{Has gender|}}}}}</td>
</tr>}}
</tr>}}
<tr>
<tr>
<td class="cell">Data de registro</td>
<td>Data de registro</td>
<td>{{#time: d "de" F "de" Y |{{{Has registration date|}}}}}{{#set:Has registration date={{{Has registration date|}}}}}</td>
<td>{{#time: d "de" F "de" Y |{{{Has registration date|}}}}}{{#set:Has registration date={{{Has registration date|}}}}}</td>
</tr>
</tr>
<tr>
<tr>
<td class="cell">Data de expiração</td>
<td>Data de expiração</td>
<td>{{#time: d "de" F "de" Y |{{{Has expiration date|}}}}}{{#set:Has expiration date={{{Has expiration date|}}}}}</td>
<td>{{#time: d "de" F "de" Y |{{{Has expiration date|}}}}}{{#set:Has expiration date={{{Has expiration date|}}}}}</td>
</tr>
</tr>
{{#if: {{{Has holding institution|}}} |
{{#if: {{{Has holding institution|}}} |
<tr>
<tr>
<td class="cell">Instituição</td>
<td>Instituição</td>
<td>[[Has holding institution::{{{Has holding institution|}}}]]</td>
<td>{{ItemRecord/hasHoldingInstitution|{{{Has holding institution|}}}}}{{#set:Has holding institution={{{Has holding institution|}}}}}</td>
</tr>}}
</tr>}}
{{#if: {{{course|}}} |
{{#if: {{{course|}}} |
<tr>
<tr>
<td class="cell">Curso</td>
<td>Curso</td>
<td>[[course::{{{course|}}}]]</td>
<td>{{{course|}}} {{#set:Course={{{course|}}}}}</td>
</tr>}}
</tr>}}
{{#if: {{{userNote|}}} |
{{#if: {{{userNote|}}} |
<tr>
<tr>
<td class="cell">Nota</td>
<td>Nota</td>
<td>[[userNote::{{{userNote|}}}]]</td>
<td>{{{userNote|}}} {{#set:User note={{{userNote|}}}}}</td>
</tr>}}
</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>
</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>

Edição atual tal como às 10h43min de 5 de setembro de 2024

{{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=
}}