Jump to content

Template:Infobox valley: Difference between revisions

From the Vrienden Universe, a fictional wiki
Created page with "{| class="infobox" style="width:22em; font-size:88%; line-height:1.5em;" |- ! colspan="2" style="text-align:center; font-size:125%; font-weight:bold; padding:0.35em;" | {{{name|{{PAGENAME}}}}} {{#if:{{{other_name|}}}| {{!}}- {{!}} colspan="2" style="text-align:center; font-style:italic;" {{!}} {{{other_name}}} }} |- ! colspan="2" style="text-align:center; background:#e6e6e6;" | Valley {{#if:{{{type|}}}| {{!}}- ! style="text-align:left; width:40%;" {{!}} Type {{!}} {{{typ..."
 
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:22em; font-size:88%; line-height:1.5em;"
{{Infobox
|-
| name = Infobox valley
! colspan="2" style="text-align:center; font-size:125%; font-weight:bold; padding:0.35em;" | {{{name|{{PAGENAME}}}}}
| child = {{{embed|}}}
{{#if:{{{other_name|}}}|
| templatestyles = Infobox valley/styles.css
{{!}}-
| bodyclass = ib-valley
{{!}} colspan="2" style="text-align:center; font-style:italic;" {{!}} {{{other_name}}}
| abovestyle = background-color: #CEDEFF; color: #202122;
}}
| headerstyle = background-color: #CEDEFF; color: #202122;
|-
| autoheaders = y
! colspan="2" style="text-align:center; background:#e6e6e6;" | Valley
 
{{#if:{{{type|}}}|
| above = {{{name|{{PAGENAME}}}}}{{#if:{{{other_name|}}}|<br /><div class="nickname ib-valley-other-name">{{{other_name}}}</div>}}
{{!}}-
| subheader = {{#if:{{{type|}}}|<div class="category">{{{type}}}</div>}}
! style="text-align:left; width:40%;" {{!}} Type
 
{{!}} {{{type}}}
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|250px}}|alt={{{image_alt|}}}]]}}
}}
| caption = {{{image_caption|}}}
{{#if:{{{location|}}}|
| image2 = {{#if:{{{map|}}}|[[File:{{{map}}}|{{#if:{{{map_size|}}}|{{{map_size}}}|250px}}|alt={{{map_alt|}}}]]}}
{{!}}-
| caption2 = {{{map_caption|}}}
! style="text-align:left;" {{!}} Location
 
{{!}} {{{location}}}
| label1 = Native name
}}
| data1 = {{{native_name|}}}
{{#if:{{{country|}}}|
| label2 = Etymology
{{!}}-
| data2 = {{{etymology|}}}
! style="text-align:left;" {{!}} Country
| label3 = Named for
{{!}} {{{country}}}
| data3 = {{{named_for|}}}
}}
 
{{#if:{{{region|}}}|
| header10 = Location
{{!}}-
| label11 = Location
! style="text-align:left;" {{!}} Region
| data11 = {{{location|}}}
{{!}} {{{region}}}
| label12 = Country
}}
| data12 = {{{country|}}}
{{#if:{{{coordinates|}}}|
| label13 = Canton
{{!}}-
| data13 = {{{canton|}}}
! style="text-align:left;" {{!}} Coordinates
| label14 = Region
{{!}} {{{coordinates}}}
| data14 = {{{region|}}}
}}
| label15 = District
{{#if:{{{known_for|}}}|
| data15 = {{{district|}}}
{{!}}-
| label16 = Municipality
! style="text-align:left;" {{!}} Known for
| data16 = {{{municipality|}}}
{{!}} {{{known_for}}}
| label17 = Mountain range
}}
| data17 = {{{range|}}}
{{#if:{{{major_site|}}}|
| label18 = Coordinates
{{!}}-
| data18 = {{{coordinates|}}}
! style="text-align:left;" {{!}} Major site
 
{{!}} {{{major_site}}}
| header30 = Physical characteristics
}}
| label31 = Elevation
{{#if:{{{connected_organization|}}}|
| data31 = {{{elevation|}}}
{{!}}-
| label32 = Length
! style="text-align:left;" {{!}} Connected organization
| data32 = {{{length|}}}
{{!}} {{{connected_organization}}}
| label33 = Width
}}
| data33 = {{{width|}}}
{{#if:{{{connected_family|}}}|
| label34 = Depth
{{!}}-
| data34 = {{{depth|}}}
! style="text-align:left;" {{!}} Connected family
| label35 = Area
{{!}} {{{connected_family}}}
| data35 = {{{area|}}}
}}
| label36 = Orientation
{{#if:{{{footnotes|}}}|
| data36 = {{{orientation|}}}
{{!}}-
| label37 = River
{{!}} colspan="2" style="font-size:90%;" {{!}} {{{footnotes}}}
| data37 = {{{river|}}}
 
| header50 = Features
| label51 = Known for
| data51 = {{{known_for|}}}
| label52 = Major site
| data52 = {{{major_site|}}}
| label53 = Traversed by
| data53 = {{{traversed|}}}
| label54 = Access
| data54 = {{{access|}}}
| label55 = Status
| data55 = {{{status|}}}
 
| header70 = Associations
| label71 = Connected organization
| data71 = {{{connected_organization|}}}
| label72 = Connected family
| data72 = {{{connected_family|}}}
| label73 = Controlled by
| data73 = {{{controlled_by|}}}
| label74 = Related sites
| data74 = {{{related_sites|}}}
 
| label90 = {{{custom_label1|}}}
| data90 = {{{custom_data1|}}}
| label91 = {{{custom_label2|}}}
| data91 = {{{custom_data2|}}}
| label92 = {{{custom_label3|}}}
| data92 = {{{custom_data3|}}}
| label93 = {{{custom_label4|}}}
| data93 = {{{custom_data4|}}}
 
| below = {{{footnotes|}}}
}}
}}
|}
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Line 65: Line 97:
| name =
| name =
| other_name =
| other_name =
| native_name =
| type =
| type =
| image =
| image_size =
| image_alt =
| image_caption =
| map =
| map_size =
| map_alt =
| map_caption =
| etymology =
| named_for =
| location =
| location =
| country =
| country =
| canton =
| region =
| region =
| district =
| municipality =
| range =
| coordinates =
| coordinates =
| elevation =
| length =
| width =
| depth =
| area =
| orientation =
| river =
| known_for =
| known_for =
| major_site =
| major_site =
| traversed =
| access =
| status =
| connected_organization =
| connected_organization =
| connected_family =
| connected_family =
| controlled_by =
| related_sites =
| custom_label1 =
| custom_data1 =
| custom_label2 =
| custom_data2 =
| custom_label3 =
| custom_data3 =
| custom_label4 =
| custom_data4 =
| footnotes =
| footnotes =
}}
}}
Line 87: Line 154:
| country = [[Switzerland]]
| country = [[Switzerland]]
| region = [[Uri Alps]]
| region = [[Uri Alps]]
| range = [[Uri Alps]]
| coordinates = 46.6824° N, 8.4387° E
| coordinates = 46.6824° N, 8.4387° E
| known_for = Founding place of [[Glöbbery]]
| known_for = Founding place of [[Glöbbery]]
Line 92: Line 160:
| connected_organization = [[Glöbbery]]
| connected_organization = [[Glöbbery]]
| connected_family = [[Glöbbelhart family]]
| connected_family = [[Glöbbelhart family]]
| related_sites = [[Festung Glöbbelhart]]; [[Death Train]]
}}
}}
</pre>
</pre>

Revision as of 17:35, 7 June 2026

Infobox valley

Usage

{{Infobox valley
| name =
| other_name =
| native_name =
| type =
| image =
| image_size =
| image_alt =
| image_caption =
| map =
| map_size =
| map_alt =
| map_caption =
| etymology =
| named_for =
| location =
| country =
| canton =
| region =
| district =
| municipality =
| range =
| coordinates =
| elevation =
| length =
| width =
| depth =
| area =
| orientation =
| river =
| known_for =
| major_site =
| traversed =
| access =
| status =
| connected_organization =
| connected_family =
| controlled_by =
| related_sites =
| custom_label1 =
| custom_data1 =
| custom_label2 =
| custom_data2 =
| custom_label3 =
| custom_data3 =
| custom_label4 =
| custom_data4 =
| footnotes =
}}

Example

{{Infobox valley
| name = Glöbbelharttal
| type = Alpine valley
| location = [[Uri Alps]], [[Switzerland]]
| country = [[Switzerland]]
| region = [[Uri Alps]]
| range = [[Uri Alps]]
| coordinates = 46.6824° N, 8.4387° E
| known_for = Founding place of [[Glöbbery]]
| major_site = [[Festung Glöbbelhart]]
| connected_organization = [[Glöbbery]]
| connected_family = [[Glöbbelhart family]]
| related_sites = [[Festung Glöbbelhart]]; [[Death Train]]
}}