Difference between revisions of "Template:Infobox fictional location/doc"
imported>TerraCyprus (geography is a science concerned with places and processes, this infobox is to be used on articles about specific places) |
imported>IceWelder m |
||
Line 2: | Line 2: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
− | This infobox is for fictional locations. | + | This infobox is for fictional locations. |
== Usage == | == Usage == | ||
Line 13: | Line 13: | ||
| alt | | alt | ||
| caption | | caption | ||
− | | image2 | + | | image2 |
− | | image2_size | + | | image2_size |
− | | alt2 | + | | alt2 |
− | | caption2 | + | | caption2 |
| source | | source | ||
| alt_name | | alt_name | ||
Line 81: | Line 81: | ||
! style="background: #C6C9FF; text-align: left;" | Parameter | ! style="background: #C6C9FF; text-align: left;" | Parameter | ||
! style="background: #C6C9FF; text-align: left;" | Explanation | ! style="background: #C6C9FF; text-align: left;" | Explanation | ||
− | |- | + | |- |
| '''name''' | | '''name''' | ||
| Location name for display in header bar; defaults to PAGENAME, which may be preferred to keep header a reasonable size. | | Location name for display in header bar; defaults to PAGENAME, which may be preferred to keep header a reasonable size. | ||
− | |- | + | |- |
| '''colour''' | | '''colour''' | ||
| To set a background color for title and header bars other than the default (#dedee2). | | To set a background color for title and header bars other than the default (#dedee2). | ||
|- | |- | ||
− | | '''image''' | + | | '''image''' |
| Primary image to illustrate the location. Do not use a link ( <nowiki>[[ ]]</nowiki> ) or the "Image:" prefix; image is automatically linked and resized to a standardized 250px. | | Primary image to illustrate the location. Do not use a link ( <nowiki>[[ ]]</nowiki> ) or the "Image:" prefix; image is automatically linked and resized to a standardized 250px. | ||
− | |- | + | |- |
| '''image_size''' | | '''image_size''' | ||
| Allows alternate sizing for images smaller than 250px. | | Allows alternate sizing for images smaller than 250px. | ||
Line 97: | Line 97: | ||
| See [[Wikipedia:Alternative text for images]]. | | See [[Wikipedia:Alternative text for images]]. | ||
|- | |- | ||
− | | '''caption''' | + | | '''caption''' |
| A caption explaining the image. | | A caption explaining the image. | ||
|- | |- | ||
| '''source''' | | '''source''' | ||
| Applicable name of book, comic, TV series, film etc. from which the location is taken, for display in bar under main image and caption. | | Applicable name of book, comic, TV series, film etc. from which the location is taken, for display in bar under main image and caption. | ||
− | |- | + | |- |
| '''creator''' | | '''creator''' | ||
| Name of the person who created the location. | | Name of the person who created the location. | ||
− | |- | + | |- |
| '''genre''' | | '''genre''' | ||
| Genre of the source material, like [[Novel]], [[Comic book]], [[Soap opera]], or [[Horror film]]. | | Genre of the source material, like [[Novel]], [[Comic book]], [[Soap opera]], or [[Horror film]]. | ||
− | |- | + | |- |
| '''type''' | | '''type''' | ||
| Type of location, like [[City]] or [[Castle]]. | | Type of location, like [[City]] or [[Castle]]. | ||
− | |- | + | |- |
| '''located_in''' | | '''located_in''' | ||
| '''Small''' list of notable fictional locations in which this location exists. Can be political or geographical. | | '''Small''' list of notable fictional locations in which this location exists. Can be political or geographical. | ||
− | |- | + | |- |
| '''locations''' | | '''locations''' | ||
| '''Small''' list of notable fictional locations ''within'' this location; for example, notable buildings in a city. | | '''Small''' list of notable fictional locations ''within'' this location; for example, notable buildings in a city. | ||
|- | |- | ||
− | | '''characters''' | + | | '''characters''' |
| '''Small''' list of notable characters who may live or work in this location. | | '''Small''' list of notable characters who may live or work in this location. | ||
|- | |- | ||
Line 289: | Line 289: | ||
"child", | "child", | ||
"embed" | "embed" | ||
− | ] | + | ], |
+ | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 07:38, 10 November 2020
![]() | This is a documentation subpage for Template:Infobox fictional location. It contains usage information, categories and other content that is not part of the original template page. |
This infobox is for fictional locations.
Usage
- redirect Template:Parameter names example
{{Infobox fictional location | name = | image = | image_size = | alt = | caption = | source = | alt_name = | first = | last = | creator = | genre = | type = | located_in = | ruler = | locations = | ethnic_group = | races = | characters = | population = | blank_label = | blank_data = | blank_label1 = | blank_data1 = | blank_label2 = | blank_data2 = | blank_label3 = | blank_data3 = | blank_label4 = | blank_data4 = }}
Parameters
Parameter | Explanation |
---|---|
name | Location name for display in header bar; defaults to PAGENAME, which may be preferred to keep header a reasonable size. |
colour | To set a background color for title and header bars other than the default (#dedee2). |
image | Primary image to illustrate the location. Do not use a link ( [[ ]] ) or the "Image:" prefix; image is automatically linked and resized to a standardized 250px. |
image_size | Allows alternate sizing for images smaller than 250px. |
alt | See Wikipedia:Alternative text for images. |
caption | A caption explaining the image. |
source | Applicable name of book, comic, TV series, film etc. from which the location is taken, for display in bar under main image and caption. |
creator | Name of the person who created the location. |
genre | Genre of the source material, like Novel, Comic book, Soap opera, or Horror film. |
type | Type of location, like City or Castle. |
located_in | Small list of notable fictional locations in which this location exists. Can be political or geographical. |
locations | Small list of notable fictional locations within this location; for example, notable buildings in a city. |
characters | Small list of notable characters who may live or work in this location. |
first | Applicable name of book, comic, TV series, film etc. where this place made its first appearance. |
last | Last appearance. |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of location | String | required |
First appearance | first | Work in which the location first appears (use wikilink if applicable)
| Unknown | optional |
Created by | creator | Original creator (e.g., writer) of the fictional location
| Unknown | suggested |
Image | image | Primary image to illustrate the location. Do not use a link ( [[ ]] ) or the "Image:" or "File:" prefix. Image is automatically linked and resized to a standardized 250px.
| Unknown | optional |
Image caption | caption | no description
| Unknown | optional |
Other name(s) | alt_name altname | Alternative names that the location is known by. Use {{plainlist|}} or {{bulleted list|}} if more than one. | Unknown | optional |
Last appearance | last | Work in which the location last appears (use wikilink if applicable) | Unknown | optional |
Image size | image_size imagesize | Allows alternate sizing for images smaller than 250px
| Unknown | optional |
Type | type | Type of location
| Unknown | suggested |
Genre | genre | The genre in which the location best fits
| Unknown | optional |
Located in | located_in | The (real or fictional) place where this location is located. For example, Wakanda (Marvel Comics) is located in Africa (real), whereas The Shire (Lord of the Rings) is located in Middle Earth (fictional). | Unknown | optional |
Notable characters | characters | Notable characters from this location
| Unknown | optional |
Locales | locations | Notable places within the location | Unknown | optional |
Infobox color | colour | To set a background color for title and header bars other than the default (#dedee2).
| Unknown | optional |
Source | source | no description | Unknown | optional |
Alt | alt | no description | Unknown | optional |
Alt2 | alt2 | no description | Unknown | optional |
Image2 | image2 | no description | Unknown | optional |
Image2size | image2size | no description | Unknown | optional |
Image2_size | image2_size | no description | Unknown | optional |
Caption2 | caption2 | no description | Unknown | optional |
Noinfo | noinfo | no description | Unknown | optional |
Ruler | ruler | no description | Unknown | optional |
Ethnic_group | ethnic_group | no description | Unknown | optional |
Race | race | no description | Unknown | optional |
Population | population | no description | Unknown | optional |
Ethnic_groups | ethnic_groups | no description | Unknown | optional |
People | people | no description | Unknown | optional |
Races | races | no description | Unknown | optional |
Data21 | data21 | no description | Unknown | optional |
Data22 | data22 | no description | Unknown | optional |
Data23 | data23 | no description | Unknown | optional |
Data24 | data24 | no description | Unknown | optional |
Data25 | data25 | no description | Unknown | optional |
Info-hdr | info-hdr | no description | Unknown | optional |
Blank_label | blank_label | no description | Unknown | optional |
Blank_data | blank_data | no description | Unknown | optional |
Blank_label1 | blank_label1 | no description | Unknown | optional |
Blank_data1 | blank_data1 | no description | Unknown | optional |
Blank_label2 | blank_label2 | no description | Unknown | optional |
Blank_data2 | blank_data2 | no description | Unknown | optional |
Blank_label3 | blank_label3 | no description | Unknown | optional |
Blank_data3 | blank_data3 | no description | Unknown | optional |
Blank_label4 | blank_label4 | no description | Unknown | optional |
Blank_data4 | blank_data4 | no description | Unknown | optional |
Child | child | no description | Unknown | optional |
Embed | embed | no description | Unknown | optional |
Supporting template