Jump to content

Template:Infobox Australian place/doc: Difference between revisions

m Text replacement - "Wikidata" to "Wikidata"
m Text replacement - "[[WP:" to "[[wikipedia:WP:"
Line 1: Line 1:
<includeonly>{{redirect|WP:IAP|text=For the essay, see [[Wikipedia:Ignore all precedent]] ([[WP:IAPD]])}}</includeonly>{{Documentation subpage}}
<includeonly>{{redirect|WP:IAP|text=For the essay, see [[Wikipedia:Ignore all precedent]] ([[wikipedia:WP:IAPD]])}}</includeonly>{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{High-use|1=14430 }}
{{High-use|1=14430 }}
Line 193: Line 193:
| all  
| all  
| Width of image of the locality (in relation to default thumbnail size)
| Width of image of the locality (in relation to default thumbnail size)
| The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale.
| The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[wikipedia:WP:IMGSIZE]] for rationale.
| <!-- Potential sources -->
| <!-- Potential sources -->
| Unformatted number. If not specified, the image width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
| Unformatted number. If not specified, the image width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
Line 221: Line 221:
| all
| all
| Width of the second image of the locality (in relation to default thumbnail size)
| Width of the second image of the locality (in relation to default thumbnail size)
| The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale.
| The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[wikipedia:WP:IMGSIZE]] for rationale.
| <!-- Potential sources -->
| <!-- Potential sources -->
| Unformatted number. If not specified, the image width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
| Unformatted number. If not specified, the image width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
Line 556: Line 556:
| all{{pb}}(recommended for lga)
| all{{pb}}(recommended for lga)
| Width of logo (in relation to default thumbnail size)
| Width of logo (in relation to default thumbnail size)
| The size should not be set to a value that would result in an logo width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale.
| The size should not be set to a value that would result in an logo width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[wikipedia:WP:IMGSIZE]] for rationale.
| <!-- Potential sources -->
| <!-- Potential sources -->
| Unformatted number. If not specified, the logo width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
| Unformatted number. If not specified, the logo width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
Line 809: Line 809:
<section begin=image_upright />
<section begin=image_upright />
=== Calculating "image_upright" ===
=== Calculating "image_upright" ===
The <code>image_upright</code> parameter, and <code>image2_upright</code> and <code>logo_upright</code> where applicable, is/are provided so as to facilitate the use of scalable images in this infobox, in accordance with the instructions at [[WP:IMAGESIZE]], which advises against the use of "px" (for example: <code>thumb|300px</code>), as this forces a fixed image width.
The <code>image_upright</code> parameter, and <code>image2_upright</code> and <code>logo_upright</code> where applicable, is/are provided so as to facilitate the use of scalable images in this infobox, in accordance with the instructions at [[wikipedia:WP:IMAGESIZE]], which advises against the use of "px" (for example: <code>thumb|300px</code>), as this forces a fixed image width.


Scalable images respect the user's base preference, which may have been selected for that user's particular devices. [[Module:InfoboxImage]], which is used in this infobox, accommodates the use of scaling. However, setting the appropriate scale is slightly more complex than setting a raw "px" value. This guide provides a quick conversion table to make the process of setting a scale easier. It is based on a default thumbnail setting of 220px. <!-- This is not a real sentence in any way: (size is default multiplied by upright value then rounded to nearest 10) -->
Scalable images respect the user's base preference, which may have been selected for that user's particular devices. [[Module:InfoboxImage]], which is used in this infobox, accommodates the use of scaling. However, setting the appropriate scale is slightly more complex than setting a raw "px" value. This guide provides a quick conversion table to make the process of setting a scale easier. It is based on a default thumbnail setting of 220px. <!-- This is not a real sentence in any way: (size is default multiplied by upright value then rounded to nearest 10) -->