Difference between revisions of "Template:Documentation"

From ChocolateQuestWiki
Jump to navigation Jump to search
(Created page with "{{documentation header}} {{lua}} This is a skeleton for infoboxes, for use in other infobox templates or standalone. == Usage == {<nowiki/>{infobox | title = box title, de...")
 
Line 15: Line 15:
 
  | footer = optional centered footer that goes across both columns
 
  | footer = optional centered footer that goes across both columns
 
  }}
 
  }}
 
<includeonly>
 
<!-- Template categories/interwiki -->
 
[[Category:Infobox templates|*]]
 
 
[[de:Vorlage:Infobox]]
 
[[es:Plantilla:Infobox]]
 
[[fr:Modèle:Infobox common]]
 
[[ja:テンプレート:Infobox]]
 
[[ko:틀:Infobox]]
 
[[nl:Sjabloon:Infobox]]
 
[[zh:Template:Infobox]]
 
</includeonly>
 
<noinclude>
 
<!-- Documentation categories/interwiki -->
 
[[fr:Modèle:Infobox common/doc]]
 
[[ja:テンプレート:Infobox/doc]]
 
[[ko:틀:Infobox/doc]]
 
[[nl:Sjabloon:Infobox/doc]]
 
[[zh:Template:Infobox/doc]]
 
</noinclude>
 

Revision as of 09:10, 17 June 2021

Template:Documentation header Template:Lua This is a skeleton for infoboxes, for use in other infobox templates or standalone.

Usage

{{infobox
| title = box title, defaults to page's name
| imageN = Images displayed below the title. Supports animation. First image defaults to {{{title}}}.png. Set to "none" to remove.
| defaultimagesize = Set the default size used by the above images. Defaults to 150px.
| imageNsize = Sets the size of the corresponding image, overriding {{{defaultimagesize}}}.
| invimageN = Invimages displayed under the images, using Template:Tl. Set to "----" to add a line break. First invimage defaults to {{{title}}}, set to "none" to remove.
| imagearea = Completely replaces the functionality of the above 4 parameters, leaving a blank canvas below the title to put whatever
| rows = all rows go here using Template:Tl
| footer = optional centered footer that goes across both columns
}}