Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
Rm small from infobox per MOS:FONTSIZE.
meta>Hike395
add tracking categories for name and photo fallback
Line 6: Line 6:
| abovestyle  = background-color: #e7dcc3;
| abovestyle  = background-color: #e7dcc3;
| aboveclass  = fn org
| aboveclass  = fn org
| above      = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| above      = {{Track fallback|{{{name|}}}|{{#invoke:WikidataIB|getLabel|qid={{{qid|}}}}}<!--
                  -->|Pages using infobox mountain with name fallback|<includeonly>{{PAGENAMEBASE}}</includeonly>}}


| headerstyle = background-color: #e7dcc3;
| headerstyle = background-color: #e7dcc3;
Line 17: Line 18:
| subheader  = {{{other_name|}}}
| subheader  = {{{other_name|}}}


| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{if empty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}|upright={{{photo_upright|1.21}}}|maxsize=300px|alt={{{photo_alt|}}}}}
| image      = {{Track fallback|{{#invoke:InfoboxImage|InfoboxImage<!--
                                    -->|image={{{photo|}}}<!--
                                    -->|size={{if empty|{{{photo_width|}}}|{{{photo_size|}}}|frameless}}<!--
                                    -->|upright={{{photo_upright|1.21}}}|maxsize=300px|alt={{{photo_alt|}}}}}<!--
                              -->|{{wdib|P18|name=photo<!--
                                -->|noicon=true|maxvals=1|qid={{{qid|}}}|suppressfields={{{suppressfields|none}}}<!--
                                -->|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}}}<!--
                              -->|Pages using infobox mountain with photo fallback}}
| caption    = {{{photo_caption|}}}
| caption    = {{{photo_caption|}}}


Line 179: Line 187:
| data36  = {{#if:{{{border4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{border|}}}|2={{{border1|}}}|3={{{border2|}}}|4={{{border3|}}}|5={{{border4|}}}|6={{{border5|}}}|7={{{border6|}}}|8={{{border7|}}}|9={{{border8|}}} }}|{{enum|{{{border|}}}|{{{border1|}}}|{{{border2|}}}|{{{border3|}}} }} }}
| data36  = {{#if:{{{border4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{border|}}}|2={{{border1|}}}|3={{{border2|}}}|4={{{border3|}}}|5={{{border4|}}}|6={{{border5|}}}|7={{{border6|}}}|8={{{border7|}}}|9={{{border8|}}} }}|{{enum|{{{border|}}}|{{{border1|}}}|{{{border2|}}}|{{{border3|}}} }} }}


| label37  = {{#if:{{{subdivision_type|{{{part_type|}}}}}}|{{{subdivision_type|{{{part_type|}}}}}}|Subdivisions}}
| label37  = {{#if:{{{part_type|}}}|{{{part_type}}}|Subdivisions}}
| data37  = {{#if:{{{part4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{subdivision|{{{part|}}}}}}|2={{{part1|}}}|3={{{part2|}}}|4={{{part3|}}}|5={{{part4|}}}|6={{{part5|}}}|7={{{part6|}}}|8={{{part7|}}}|9={{{part8|}}}|10={{{part9|}}}|11={{{part10|}}}|12={{{part11|}}}|13={{{part12|}}}|14={{{part13|}}}|15={{{part14|}}}|16={{{part15|}}}|17={{{part16|}}}|18={{{part17|}}}|19={{{part18|}}}|20={{{part19|}}} }}|{{enum|{{{part|}}}|{{{part1|}}}|{{{part2|}}}|{{{part3|}}} }} }}
| data37  = {{#if:{{{part4|}}}|{{Collapsible list|framestyle=border:none; padding:0;|title=List|1={{{part|}}}|2={{{part1|}}}|3={{{part2|}}}|4={{{part3|}}}|5={{{part4|}}}|6={{{part5|}}}|7={{{part6|}}}|8={{{part7|}}}|9={{{part8|}}}|10={{{part9|}}}|11={{{part10|}}}|12={{{part11|}}}|13={{{part12|}}}|14={{{part13|}}}|15={{{part14|}}}|16={{{part15|}}}|17={{{part16|}}}|18={{{part17|}}}|19={{{part18|}}}|20={{{part19|}}} }}|{{enum|{{{part|}}}|{{{part1|}}}|{{{part2|}}}|{{{part3|}}} }} }}


| label38  = [[Ordnance Survey National Grid|OS grid]]
| label38  = [[Ordnance Survey National Grid|OS grid]]
Line 206: Line 214:


| label46  = [[List of mountain types|Mountain type]]
| label46  = [[List of mountain types|Mountain type]]
| data46  = {{{mountain_type|{{{type|}}}}}}
| data46  = {{{type|}}}


| label47  = [[List of rock types|Type of rock]]
| label47  = [[List of rock types|Type of rock]]
Line 237: Line 245:


| data56  = {{{misc|{{{module|}}}}}}
| data56  = {{{misc|{{{module|}}}}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox mountain with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox mountain]] with unknown parameter "_VALUE_"|ignoreblank=y| access | age | area | area_km2 | area_mi2 | area_note | authority | biome | border | border1 | border2 | border3 | border4 | border5 | border6 | border7 | border8 | child | city | city_type | city1 | city10 | city11 | city12 | city13 | city14 | city15 | city16 | city17 | city18 | city2 | city3 | city4 | city5 | city6 | city7 | city8 | city9 | coordinates | coordinates_note | coordinates_ref | coords | coords_ref | country | country_type | country1 | country10 | country11 | country12 | country13 | country14 | country15 | country16 | country17 | country18 | country2 | country3 | country4 | country5 | country6 | country7 | country8 | country9 | district | district_type | district1 | district10 | district11 | district12 | district13 | district14 | district15 | district16 | district17 | district18 | district2 | district3 | district4 | district5 | district6 | district7 | district8 | district9 | easiest_route | elevation | elevation_ft | elevation_m | elevation_note | elevation_ref | elevation_system | embedded | etymology | first_ascent | formed_by | geology | geology1 | geology2 | geology3 | geology4 | geology5 | grid_ref_Ireland | grid_ref_Ireland_note | grid_ref_UK | grid_ref_UK_note | highest | highest_location | image_map | isolation | isolation_km | isolation_mi | isolation_parent | isolation_ref | label | label_position | language | last_eruption | length | length_km | length_mi | length_note | length_orientation | listing | location | map | map_alt | map_caption | map_image | map_relief | map_size | map_upright | map_width | mapsize | misc | module | name | native_name | native_name_lang | nickname | nocat_wdimage | normal_route | orogeny | other_name | parent | parent_peak | part | part_type | part1 | part10 | part11 | part12 | part13 | part14 | part15 | part16 | part17 | part18 | part19 | part2 | part3 | part4 | part5 | part6 | part7 | part8 | part9 | period | period1 | period2 | period3 | period4 | period5 | photo | photo_alt | photo_caption | photo_size | photo_upright | photo_width | prominence | prominence_ft | prominence_m | prominence_ref | pronunciation | range | range_coordinates | range_coordinates_note | range_coords | region | region_type | region1 | region10 | region11 | region12 | region13 | region14 | region15 | region16 | region17 | region18 | region19 | region2 | region20 | region21 | region22 | region23 | region3 | region4 | region5 | region6 | region7 | region8 | region9 | relief | rock | settlement | settlement_type | settlement1 | settlement10 | settlement11 | settlement12 | settlement13 | settlement14 | settlement15 | settlement16 | settlement17 | settlement18 | settlement2 | settlement3 | settlement4 | settlement5 | settlement6 | settlement7 | settlement8 | settlement9 | state | state_type | state1 | state10 | state11 | state12 | state13 | state14 | state15 | state16 | state17 | state18 | state2 | state3 | state4 | state5 | state6 | state7 | state8 | state9 | topo | topo_maker | topo_map | translation | type | volcanic_arc | volcanic_arc/belt | volcanic_belt | volcanic_field | volume | volume_km3 | volume_mi3 | volume_note | width | width_km | width_mi | width_note | width_orientation
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox mountain with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox mountain]] with unknown parameter "_VALUE_"|ignoreblank=y| access | age | area | area_km2 | area_mi2 | area_note | authority | biome | border | border1 | border2 | border3 | border4 | border5 | border6 | border7 | border8 | child | city | city_type | city1 | city10 | city11 | city12 | city13 | city14 | city15 | city16 | city17 | city18 | city2 | city3 | city4 | city5 | city6 | city7 | city8 | city9 | coordinates | coordinates_note | coordinates_ref | coords | coords_ref | country | country_type | country1 | country10 | country11 | country12 | country13 | country14 | country15 | country16 | country17 | country18 | country2 | country3 | country4 | country5 | country6 | country7 | country8 | country9 | district | district_type | district1 | district10 | district11 | district12 | district13 | district14 | district15 | district16 | district17 | district18 | district2 | district3 | district4 | district5 | district6 | district7 | district8 | district9 | easiest_route | elevation | elevation_ft | elevation_m | elevation_note | elevation_ref | elevation_system | embedded | etymology | fetchwikidata | first_ascent | formed_by | geology | geology1 | geology2 | geology3 | geology4 | geology5 | grid_ref_Ireland | grid_ref_Ireland_note | grid_ref_UK | grid_ref_UK_note | highest | highest_location | image_map | isolation | isolation_km | isolation_mi | isolation_parent | isolation_ref | label | label_position | language | last_eruption | length | length_km | length_mi | length_note | length_orientation | listing | location | map | map_alt | map_caption | map_image | map_relief | map_size | map_upright | map_width | mapsize | misc | module | name | native_name | native_name_lang | nickname | nocat_wdimage | normal_route | orogeny | other_name | parent | parent_peak | part | part_type | part1 | part10 | part11 | part12 | part13 | part14 | part15 | part16 | part17 | part18 | part19 | part2 | part3 | part4 | part5 | part6 | part7 | part8 | part9 | period | period1 | period2 | period3 | period4 | period5 | photo | photo_alt | photo_caption | photo_size | photo_upright | photo_width | prominence | prominence_ft | prominence_m | prominence_ref | pronunciation | qid | range | range_coordinates | range_coordinates_note | range_coords | region | region_type | region1 | region10 | region11 | region12 | region13 | region14 | region15 | region16 | region17 | region18 | region19 | region2 | region20 | region21 | region22 | region23 | region3 | region4 | region5 | region6 | region7 | region8 | region9 | relief | rock | settlement | settlement_type | settlement1 | settlement10 | settlement11 | settlement12 | settlement13 | settlement14 | settlement15 | settlement16 | settlement17 | settlement18 | settlement2 | settlement3 | settlement4 | settlement5 | settlement6 | settlement7 | settlement8 | settlement9 | sourcedonly | state | state_type | state1 | state10 | state11 | state12 | state13 | state14 | state15 | state16 | state17 | state18 | state2 | state3 | state4 | state5 | state6 | state7 | state8 | state9 | suppressfields | topo | topo_maker | topo_map | translation | type | volcanic_arc | volcanic_arc/belt | volcanic_belt | volcanic_field | volume | volume_km3 | volume_mi3 | volume_note | width | width_km | width_mi | width_note | width_orientation
}}{{main other|{{#if:{{{region|}}}|{{#ifeq:{{#invoke:string|replace|{{{region}}}|^[A-Z0-9/\-]*$|MATCH|plain=false}}|MATCH|[[Category:Pages using infobox mountain with unknown parameters|ρ]]
}}{{main other|{{#if:{{{region|}}}|{{#ifeq:{{#invoke:string|replace|{{{region}}}|^[A-Z0-9/\-]*$|MATCH|plain=false}}|MATCH|[[Category:Pages using infobox mountain with unknown parameters|ρ]]
}}}}
}}}}

Revision as of 15:50, 21 April 2020

Template:Track fallback
Template:Track fallback
ElevationP2044
ProminenceP2660
IsolationP2659