Predefinição:User: mudanças entre as edições
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=" |
<table style="width: 54%;" class="smwtable-clean sortable jquery-tablesorter"> |
||
<caption |
<caption>'''{{{userName|}}}'''</caption> |
||
<tr> |
<tr> |
||
<td |
<td>Nome</td> |
||
<td> |
<td>{{{userName|}}} {{#set:User name={{{userName|}}}}}</td> |
||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
<td |
<td>Email</td> |
||
<td>{{#arraymap:{{{email|}}}|;|x|x{{#set: |
<td>{{#arraymap:{{{email|}}}|;|x|x}} {{#set:Email={{{email|}}}|+sep=;}}</td> |
||
</tr> |
</tr> |
||
<tr> |
<tr> |
||
<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 |
<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 |
<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 |
<td>CEP</td> |
||
<td> |
<td>{{{postalCode|}}} {{#set:Postal code={{{postalCode|}}}}}</td> |
||
</tr> |
</tr> |
||
{{#if: {{{phone|}}} | |
{{#if: {{{phone|}}} | |
||
<tr> |
<tr> |
||
<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 |
<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 |
<td>Gênero</td> |
||
<td> |
<td>{{{Has gender|}}} {{#set:Has gender={{{Has gender|}}}}}</td> |
||
</tr>}} |
</tr>}} |
||
<tr> |
<tr> |
||
<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 |
<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 |
<td>Instituição</td> |
||
<td> |
<td>{{ItemRecord/hasHoldingInstitution|{{{Has holding institution|}}}}}{{#set:Has holding institution={{{Has holding institution|}}}}}</td> |
||
</tr>}} |
</tr>}} |
||
{{#if: {{{course|}}} | |
{{#if: {{{course|}}} | |
||
<tr> |
<tr> |
||
<td |
<td>Curso</td> |
||
<td> |
<td>{{{course|}}} {{#set:Course={{{course|}}}}}</td> |
||
</tr>}} |
</tr>}} |
||
{{#if: {{{userNote|}}} | |
{{#if: {{{userNote|}}} | |
||
<tr> |
<tr> |
||
<td |
<td>Nota</td> |
||
<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= }}