Şablon:Selected location
{{{text}}} |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
This template is used to configure the articles found in the Selected person or Selected location section found on most Wikipedia Portal main pages. Use it on the article pages that are linked to the Selected place sub-page, e.g. Portal:Foo/Selected place/1. For the quickest and easiest way to create the Portal:Foo/Selected bar sub-page and related article links, use the {{Numbered subpages}}
template.
Template layout
bıvurne{{Selected location | image = | size = | side = | caption = | name = | founded = | coord = | text = <!--- Required ---> | link = <!--- Required ---> | archive = }}
Usage
bıvurneIt is unnecessary to include braces, quotation marks or other wiki-markup in the template. The |text= field does allow the use of wiki-markup at the contributor's discretion.
- image - Places an image relating to the subject of the article on the left side of the section.
- size - Sets the image size, if left out or left blank it will default to 250px.
- side - Sets the location of the image, it will default to left. The other allowable values are center and right
- caption- Creates a caption for the image.
- name - Adds the name of the person at the top left corner of the article, automatically bolded
- founded- Adds the location's founding date, format is at contributor's discretion. Requires the name field.
- coord - Adds the place's geographic co-ordinates, use the
{{Coord}}
template to format. - text - A brief summary of the subject.
- link - Sets the link in the Read more... that points to the full article.
- archive - Using this field with a value of no will remove the More selected locations... link in the lower left corner. Use this field if you are using the |footer= parameter in the
{{Random box-header subpage}}
template on the main portal page.
Examples
bıvurneLong form
bıvurneThe long form of this template places the place's name immediately to the left of the picture and gives you the option of adding founding dates and geographic co-ordinates. If the |name= field is not included, the template will not include the |founded= field.
{{Selected location | image = FraminghamMATownHall 2007-03-25.jpg | size = | caption = The memorial Building, Framingham's town hall. | name = Framingham, Massachusetts | founded = 1650 | coord = {{coord|42.299795|-71.426627}} | text = '''Framingham''' is a town in [[Middlesex County, Massachusetts|Middlesex County]]... | link = Framingham, Massachusetts }}
Will yield this:
Framingham, Massachusetts |
Because the |name= field formats the subject's name so that it is in bold text, it is suggested that you do not put the subjects name in bold in the text of the article.
Short form
bıvurne{{Selected location | image = FraminghamMATownHall 2007-03-25.jpg | size = | caption = The memorial Building, Framingham's town hall. | text = '''Framingham''' is a town in [[Middlesex County, Massachusetts|Middlesex County]]... | link = Framingham, Massachusetts }}
Will yield this:
Framingham is a town in Middlesex County, Massachusetts, United States. As of the 2000 census, the population was 66,910, making it the most populous town in New England. There have been several proposals to change the town's charter to make Framingham a city, but none have succeeded. |
See also
bıvurne- Main portal creation templates -
{{Box portal skeleton}}
- used to create portal main pages{{Random portal component}}
- used on the portal main page to randomly display articles from the portal sub-pages{{Random portal component with nominate}}
- used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.{{Random subpage}}
- used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.{{Subpage}}
{{Numbered subpages}}
- used to create article links on portal sub-pages with 50 links.{{25 Numbered subpages}}
- As above, but with 25 links.{{75 Numbered subpages}}
- As above, but with 75 links.
{{Random box-header subpage}}
- Main portal page formatting templates -
{{Boxheader}}
{{Box-header}}
{{Box-header1}}
{{Box-header2}}
{{Boxfooter}}
{{Box-footer}}
{{Box-footer2}}
{{Box-Header II}}
{{Box-header-blank}}
{{Box-header-groovy}}
{{Box-header-health}}
{{Box-header-round}}
{{Box-header-square}}
{{Box-header-watch}}
{{Box-header-plain}}
- Templates that configure links -
{{Browsebar}}
{{Portals}}
{{Related portals}}
{{Wikimedia for portals}}
- These templates are used to format the articles on the sub-pages -
{{Selected article}}
{{Selected biography}}
{{Selected business}}
{{Selected DYK}}
{{Selected ingredient}}
{{Selected location}}
{{Selected quote}}
{{Selected picture}}
{{Selected product}}
{{Selected publication}}
{{Selected recipe}}
- Related templates