Ero sivun ”Malline:Quickbar” versioiden välillä
Poistettu sisältö Lisätty sisältö
imported>(WT-fi) Ppntori (Import from wikitravel.org/fi) |
imported>(WT-fi) Jpatokal p Käyttäjän Ppntori (keskustelu) muokkaukset kumottiin ja sivu palautettiin viimeisimpään käyttäjän Jpatokal tekemään versioon. (Import from wikitravel.org/fi) |
||
Rivi 2: | Rivi 2: | ||
<div style="float: right; margin: 0 0 1em 1em"> |
<div style="float: right; margin: 0 0 1em 1em"> |
||
{| cellpadding="2" cellspacing="0" style="border: 1px solid #9866FF; background-color: #f3f3ff" width="250" |
{| cellpadding="2" cellspacing="0" style="border: 1px solid #9866FF; background-color: #f3f3ff" width="250" |
||
{{if|test={{{ |
{{if|test={{{image|}}}|then={{quickbar topimage|image={{{image|}}}}}}} |
||
{{if|test={{{ |
{{if|test={{{location|}}}|then={{quickbar image|heading=Location|image={{{location|}}}}}}} |
||
{{if|test={{{ |
{{if|test={{{flag|}}}|then={{quickbar image|heading=Flag|image={{{flag|}}}}}}} |
||
|- |
|- |
||
| colspan="2" style="text-align: center; border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; background-color: #ddddff" | ''' |
| colspan="2" style="text-align: center; border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; background-color: #ddddff" | '''Quick Facts''' |
||
{{if|test={{{ |
{{if|test={{{capital|}}}|then={{quickbar item|heading=Capital|value={{{capital|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{government|}}}|then={{quickbar item|heading=Government|value={{{government|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{currency|}}}|then={{quickbar item|heading=Currency|value={{{currency|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{area|}}}|then={{quickbar item|heading=Area|value={{{area|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{population|}}}|then={{quickbar item|heading=Population|value={{{population|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{language|}}}|then={{quickbar item|heading=Language|value={{{language|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{religion|}}}|then={{quickbar item|heading=Religion|value={{{religion|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{electricity|}}}|then={{quickbar item|heading=[[Electrical systems|Electricity]]|value={{{electricity|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{callingcode|}}}|then={{quickbar item|heading=[[List of country calling codes|Calling Code]]|value={{{callingcode|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{tld|}}}|then={{quickbar item|heading=Internet TLD|value={{{tld|}}}}}|else={{quickbar empty}}}} |
||
{{if|test={{{ |
{{if|test={{{timezone|}}}|then={{quickbar item|heading=[[Time zones|Time Zone]]|value={{{timezone|}}}}}|else={{quickbar empty}}}} |
||
|} |
|} |
||
</div> |
</div> |
||
<!-- end quick bar --><noinclude> |
<!-- end quick bar --><noinclude> |
||
Alla käyttöohjeet. Huomaa, että kaikkien kuvien (sijainti, lippu) pitää olla '''alle 250px''' leveitä. |
|||
<pre> |
<pre><nowiki> |
||
{{quickbar |
|||
{{Quickbar |
|||
| |
| image=[[Image:kuva|noframe|250px]] |
||
| |
| flag=[[Image:lippu]] |
||
| |
| location=[[Image:sijainti|noframe|250px]] |
||
| |
| capital=[[Pääkaupunki]] |
||
| |
| government=Valtiomuoto |
||
| |
| currency=Valuutta |
||
| |
| area=Pinta-ala |
||
| |
| population=Väkiluku |
||
| |
| language=[[Kieli1]], [[Kieli2]], Kieli3, ... |
||
| |
| religion=Uskonto |
||
| |
| electricity=Sähkö |
||
| callingcode=Puhelinnumero |
|||
| suuntanumero = Suuntanumero |
|||
| |
| tld=Internet-domaini |
||
| |
| timezone=Aikavyöhyke (UTC) |
||
}} |
|||
⚫ | |||
</nowiki></pre> |
|||
⚫ |
Versio 22. maaliskuuta 2007 kello 18.23
Quick Facts | |
Alla käyttöohjeet. Huomaa, että kaikkien kuvien (sijainti, lippu) pitää olla alle 250px leveitä.
{{quickbar | image=[[Image:kuva|noframe|250px]] | flag=[[Image:lippu]] | location=[[Image:sijainti|noframe|250px]] | capital=[[Pääkaupunki]] | government=Valtiomuoto | currency=Valuutta | area=Pinta-ala | population=Väkiluku | language=[[Kieli1]], [[Kieli2]], Kieli3, ... | religion=Uskonto | electricity=Sähkö | callingcode=Puhelinnumero | tld=Internet-domaini | timezone=Aikavyöhyke (UTC) }}