Difference between revisions of "Help:Infoboxes"

m
m (+clarity around line order)
 
== Common Parameters ==
=== Misc ===
; <code>|image=</code>: Many infoboxes have has the ability to show an image of the subject by providing the filename, eg <code>|image=lifeform.jpg</code>. This parameter should be on the first line after the opening <code>{{infobox-template</code> as the image is placed at the top of the page. The filename will be passed to {{t|row/image+artist}} and will show the image and provide attribution to the artist.
; <code>|booksimage=</code>: MostMany infoboxes have ahas <code>books</code>the parameterability isto requiredshow andan shouldimage provide links toof the bookssubject orby series whichproviding the subjectfilename, is featurede.g. in<code>|image=Vin.png</code>. TheThis '''Featuredparameter In'''should linebe appears aton the bottomfirst ofline after the opening <code>{{infobox,-template</code>. andThe sofilename thewill linebe shouldpassed beto the{{t|row/image+artist}} lastand beforewill show the closingimage <code>}}</code>and lineprovide attribution to the artist.
; <code>|books=</code>: Most infoboxes have a mandatory <code>books</code> and should provide links to the book or series which the subject is featured in. The '''Featured In''' line appears at the bottom of the infobox, and so the line should be the last before the closing <code>}}</code> line.
 
=== Location & Setting ===
To indicate the setting within which the subject matter is discussed, the following parameters are accepted. At least one of these should be provided, and they should be provided in most-to-least specific order, as they are in the above list.
; <code>|world=</code>: The <code>world</code> parameter should provide the name of the non-Earth planet the subject is located on. This will generate a link to the planet passed and may categorise the article in an appropriate planet category. Many infobox templates offer a <code>raw-world</code> (<small>or <code>world-raw</code> in few cases</small>) variant of this, which can be used to bypass the automatic link generation when it is not applicable.
; <code>|earth=</code>: If the setting is an alternative earthEarth, the <code>earth</code> parameter should be used instead, and should provide the series name (such as <code>|earth=Alcatraz</code> which will create a link to [[Earth (Alcatraz)]] or <code>|earth=Reckoners</code> to link to [[Earth (Reckoners)]]). andFor maya categoriselist theof articlevalid inEarths, ansee appropriate category[[Earth]].
; <code>|universe=</code>: IfUse neither<code>universe</code> alongside with either <code>world</code> or <code>earth</code> areto sufficient,specify thenthe connected universe of the subject - or to indicate that it takes place in a standalone universe. Unlike the other two parameters, <code>universe</code> candoes benot providedgenerate toa describelink on its own, so you should do it manually (e.g. <code>|universe=[[Cosmere]]</code>); if indicating a morenameless genericstandalone settinguniverse, simply put <code><nowiki>|universe=''Standalone''</nowiki></code>.
; <code>|region=</code>: To indicate a more specific area or region the subject is from, provide the <code>region</code> parameter
 
=== Special parameters ===