User:Vadim/Sandbox

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(test thumb)
Line 1: Line 1:
-
==test thumb==
+
{{tInfobox country
-
{{thumb test|LipsiAnchorage.jpg|Anchorage under the church}}
+
|41|54.00|N|012|29.00|E
-
{{thumb test|Sali, Dugi Otok 160929-140745-DSC03379.jpg|''Sali'', Dugi Otok}}
+
| name=Italy
-
 
+
| image=EU-Italy.svg
-
==test1==
+
| imagetext=Location of Italy (''dark green'') in Europe
-
 
+
| flag=Flag_of_Italy.svg
-
{{hgallery|
+
| capital=Rome
-
  {{himage|Chios_Olimpi1.jpg|Olimpi}}
+
| language=Italian
-
  {{himage|LipsiAnchorage.jpg|Anchorage under the church}}
+
| currency=Euro €
-
  {{himage|Chios_NeaMoni1.jpg|The Monastery}}
+
| code= +39
-
  {{himage|Chios_NeaMoni3.jpg|Mosaic}}
+
| timezone=CET (UTC+1)
-
  {{himage|Chios_NeaMoni4.jpg|The Yard}}
+
| dsttimezone=CEST (UTC+2)
-
  {{himage|Chios_NeaMoni2.jpg|Another Mosaic}}
+
| notes=
 +
| news=
}}
}}
-
==test2==
+
{{tInfobox country
-
x{{?|test={{filepath:Black and white compass.svg|nowiki}}| here | not here }}y
+
|41|54.00|N|012|29.00|E|
-
 
+
| image=Italymap.gif
-
 
+
| flag=Italyflag.gif
-
x{{commons|Centuri chapelle Sainte-Trinité à Orche.jpg|Centuri chapelle}}x
+
| capital=Rome
-
 
+
| language=Italian
-
 
+
| currency=Euro €
-
z{{#Widget:commons image|file=Black and white compass.svg}}z
+
| timezone=CET (UTC+1)
-
 
+
| dsttimezone=CEST (UTC+2)
-
z{{#Widget:commons image|file=Toulon.jpg|width=200px}}z
+
| code= +39
-
x{{#Widget:commons image|file=Centuri chapelle Sainte-Trinité à Orche.jpg|thumb=true|caption=Centuri chapelle}}x
+
| notes= Some notes
-
y{{#Widget:commons image|file=Centuri chapelle Sainte-Trinité à Orche.jpg|thumb=true}}y
+
| news= Some news
-
 
+
-
{{Gallery link|37|40.7|N|26|54.6|E|zoom=15|}}
+
-
 
+
-
{{Gallery link|lat=37.718590|lon=26.817627|zoom=10|}}
+
-
 
+
-
{{wikipedia|some page|some text}}
+
-
 
+
-
{{infobox |41|14.74|N|09|11.93|E|
+
-
|name=test
+
-
|lat=-10.123456789|lon=-2.987654321
+
-
| panoramio=http://www.panoramio.com/map/#lt=41.241287&ln=9.197445&z=2&k=1&a=1&tab=1
+
-
| chartlet=http://mapserver.mytopo.com/homepage/index.cfm?lat=41.245667&lon=9.198833&scale=24000&zoom=50&type=1
+
-
| image=SantaTeresa.jpg
+
-
| imagetext=The port of Santa Teresa
+
}}
}}
-
{{poi |41|14.633|N|009|08.904|E|
+
This template was designed to create an ''infobox'' that is specific to an article about a [[Template:Country|country]] or an [[Template:Island Country|island country]]:
-
|lat=-10.123456789|lon=-2.987654321
+
<pre><nowiki>{{infobox country
-
| type= anchorage
+
|||N|||E
-
| name= Cala Spinosa
+
| zoom=  
-
| text= A narrow bay W of Baia di Santa Reparata, good holding on sandy patches.
+
| chartlet=  
-
}}
+
| image=
-
<nowiki>{{#</nowiki>widget:Deg2Dmh|lat=-10.123456789}}
+
| imagewidth=
-
 
+
| flag=
-
{{#widget:Deg2Dmh|lat=-10.123456789}}
+
| capital=  
-
 
+
| language=
-
<nowiki>{{#</nowiki>widget:Deg2Dmh|lon=-2.987654321}}
+
| currency=
-
 
+
| timezone=
-
{{#widget:Deg2Dmh|lon=-2.987654321}}
+
| dsttimezone=
-
 
+
| code=
-
<nowiki>{{#</nowiki>widget:Deg2Dmh|lat=-10.123456789|lon=-2.987654321}}
+
| notes=
-
 
+
| news=
-
{{#widget:Deg2Dmh|lat=-10.123456789|lon=-2.987654321}}
+
}}</nowiki></pre>
-
 
+
-
<nowiki>{{#</nowiki>widget:Dmh2Deg|d=12|m=34.6|h=W}}
+
-
 
+
-
{{#widget:Dmh2Deg|d=12|m=34.6|h=W}}
+
-
 
+
-
<nowiki>{{</nowiki>Dmh2DegC|c=-1.1|12|34.6|W}}
+
-
 
+
-
{{Dmh2DegC|c=-1.1|12|34.6|W}}
+
-
<nowiki>{{</nowiki>Dmh2DegC|12|34.6|W}}
+
Example:
 +
<pre><nowiki>{{infobox country
 +
|41|54.00|N|012|29.00|E
 +
| inage= Italymap.gif
 +
| inagewidth= 330px
 +
| flag= Italyflag.gif
 +
| capital= Rome
 +
| language= Italian
 +
| currency= Euro €
 +
| timezone= CET (UTC + 1)
 +
| dsttimezone= CEST (UTC + 2 summer)
 +
| code= +39
 +
| notes= Some notes
 +
| news= Some news
 +
}}</nowiki></pre>
-
{{Dmh2DegC|12|34.6|W}}
+
This expands to a table shown at the beginning of this section. As with the previous example the title of table is automatically created from this page title hence it renders here to something that is not quite useful.

Revision as of 15:59, 13 March 2017

Italy
41°54.00′N, 012°29.00′E Chart icon.png
EU-Italy.svg
Magnify-clip.png
Location of Italy (dark green) in Europe
Flag_of_Italy.svg
Magnify-clip.png
Flag
Capital Rome
Language Italian
Currency Euro €
Time zone CET (UTC+1) , DST: CEST (UTC+2)
Calling code +39
Vadim/Sandbox
41°54.00′N, 012°29.00′E Chart icon.png
Italymap.gif
Magnify-clip.png
Map
Italyflag.gif
Magnify-clip.png
Flag
Capital Rome
Language Italian
Currency Euro €
Time zone CET (UTC+1) , DST: CEST (UTC+2)
Calling code +39
Some notes
Small info.png Latest News
Some news

This template was designed to create an infobox that is specific to an article about a country or an island country:

{{infobox country 
|||N|||E
| zoom= 
| chartlet= 
| image=
| imagewidth=
| flag=
| capital= 
| language=
| currency=
| timezone=
| dsttimezone=
| code=
| notes=
| news=
}}

Example:

{{infobox country 
|41|54.00|N|012|29.00|E
| inage= Italymap.gif
| inagewidth= 330px
| flag= Italyflag.gif
| capital= Rome 
| language= Italian
| currency= Euro €
| timezone= CET (UTC + 1)
| dsttimezone= CEST (UTC + 2 summer)
| code= +39
| notes= Some notes
| news= Some news
}}

This expands to a table shown at the beginning of this section. As with the previous example the title of table is automatically created from this page title hence it renders here to something that is not quite useful.

Personal tools
advertisement
Friends of Cruisers Wiki