Predefinição:Território: mudanças entre as edições

Criou página com '<noinclude> This is the 'Território' template. It is used like this: <pre> {{Território |image= |imgdesc= }} </pre> Category:Info templates == Template preview == </...'
 
Desfeita a edição 17967 de Patrícia Ferreira (Discussão)
Etiqueta: Desfazer
 
(12 revisões intermediárias pela mesma usuária não estão sendo mostradas)
Linha 1: Linha 1:
<noinclude>
<noinclude>  
This is the 'Território' template.
this is the 'Território' template.
 
It is used like this:
<pre>
<pre>
{{Território
{{Território
  |image=
  |image=
  |imgdesc=
  |legenda=
|categoria=
|População=
|Area=
|Located in=
|Average rainy days=
|Has coordinates=
}}
}}
</pre>
</pre>
[[Category:Info templates]]
[[Categoria:Testes]]


== Template preview ==
== Template preview ==
</noinclude><onlyinclude>
</noinclude><onlyinclude>
{| class="smworgtable-v2" style="position: relative; float: right; clear: right; width: 260px;"
{| class="smworgtable-v2" style="position: relative; float: right; clear: right; width: 260px;"
! colspan="2" style="padding-top: 2px; " |  {{PAGENAME}} <span style="position: relative; top:-2px; float: right;">[[File:SMW-Info-button.png|14px|link=Special:Browse/{{FULLPAGENAME}}]]</span>
! colspan="2" style="padding-top: 2px; " |  {{PAGENAME}} <span style="position: relative; top:-2px; float: right;">[[File:image4.jpg|14px|link=Special:Browse/{{FULLPAGENAME}}]]</span>
|- <!-- *** IMAGE *** -->
|- <!-- *** IMAGE *** -->
{{#if: {{{image|}}} |{{Tablesection |Label=[[File:{{{image|}}}|280px|center|{{{imgdesc|}}}]] |Textcolor=#ddd |Color=#fff }}{{#set: Has image=File:{{{image|}}} }} }}
{{#if: {{{image|}}} |{{Tablesection |Label=[[File:{{{image|}}}|280px|center|{{{legenda|}}}]] |Textcolor=#ddd |Color=#fff }}{{#set: Has image=File:{{{image|}}} }} }}
|-
|-
{{#ifeq: {{{imgdesc|}}} | | |{{Tablerow |Label=Image shows: |Value={{{imgdesc|}}} }} }}
{{#ifeq: {{{legenda|}}} | | |{{Tablerow |Label=Mostrar Imagem: |Value={{{legenda|}}} }} }}
|- <!-- *** SLIDESHOW *** -->
|- <!-- *** SLIDESHOW *** -->
{{#if: {{{collection|}}} |{{Tablesection |Label={{#ask: [[has image collection::{{{collection|}}}]] |?Has description |widths=220 |heights=220 |format=gallery |widget=slideshow |class=demo-center |navigation=auto |autocaptions=no }} |Color=#fff |Textcolor=#aaa }} }}
{{#if: {{{categoria|}}} |{{Tablesection |Label={{#ask: [[has image categoria::{{{categoria|}}}]] |?Has description |widths=220 |heights=220 |format=gallery |widget=slideshow |class=demo-center |navigation=auto |autocaptions=no }} |Color=#fff |Textcolor=#aaa }} }}
|- <!-- *** SUMMARY *** -->
|- <!-- *** SUMMARY *** -->
{{Tablesection |Label=Summary |Color=#dcf0f7 |Textcolor=#0c2c52 }}   
{{Tablesection |Label=Summary |Color=#dcf0f7 |Textcolor=#0c2c52 }}   
|-
|-
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Population}} | | |{{Tablerow |Label=Population: |Value={{#show: {{FULLPAGENAME}} |?Population }} }} }}
{{#ifeq: {{#show: {{FULLPAGENAME}} |?População}} | | |{{Tablerow |Label=População: |Value={{#show: {{FULLPAGENAME}} |?População }} }} }}
|-
|-
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Area}} | | |{{Tablerow |Label=Area: |Value={{#show: {{FULLPAGENAME}}|?Area }} }} }}
{{#ifeq: {{#show: {{FULLPAGENAME}} |?Area}} | | |{{Tablerow |Label=Area: |Value={{#show: {{FULLPAGENAME}}|?Area }} }} }}
Linha 40: Linha 44:
{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label={{#display_map: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |width=260 |height=260 |service=leaflet }} |Color=#fff }} }}
{{#if: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |{{Tablesection |Label={{#display_map: {{#show: {{FULLPAGENAME}} |?Has coordinates }} |width=260 |height=260 |service=leaflet }} |Color=#fff }} }}
|}
|}
<includeonly>{{DISPLAYTITLE:{{{title|}}} }}[[Category:Território]]</includeonly>
<includeonly>{{DISPLAYTITLE:{{{title|}}} }}[[Categoria:Territórios]]</includeonly>
</onlyinclude>
</onlyinclude>