Difference between revisions of "Template:Infobox fictional location/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>Arkhandar
m (→‎Usage: Improved editing WP:ACCESSIBILITY.)
Line 44: Line 44:
 
<pre>
 
<pre>
 
{{Infobox fictional location
 
{{Infobox fictional location
| name         =
+
| name =
| image       =
+
| image =
| image_size   =
+
| image_size =
| alt         =
+
| alt =
| caption     =
+
| caption =
| source       =
+
| source =
| alt_name     =
+
| alt_name =
| first       =
+
| first =
| last         =
+
| last =
| creator     =
+
| creator =
| genre       =
+
| genre =
| type         =
+
| type =
| located_in   =
+
| located_in =
| ruler       =
+
| ruler =
| locations   =
+
| locations =
 
| ethnic_group =
 
| ethnic_group =
| races       =
+
| races =
| characters   =
+
| characters =
| population   =
+
| population =
| blank_label =
+
| blank_label =
| blank_data   =
+
| blank_data =
 
| blank_label1 =
 
| blank_label1 =
| blank_data1 =
+
| blank_data1 =
 
| blank_label2 =
 
| blank_label2 =
| blank_data2 =
+
| blank_data2 =
 
| blank_label3 =
 
| blank_label3 =
| blank_data3 =
+
| blank_data3 =
 
| blank_label4 =
 
| blank_label4 =
| blank_data4 =
+
| blank_data4 =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 01:13, 4 July 2020

This infobox is for fictional locations.

Usage

  1. 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.

Supporting template