Difference between revisions of "Template:Infobox"

From TransitWiki
Jump to navigation Jump to search
Line 30: Line 30:
 
|[http://www.transitwiki.org/TransitWiki/index.php/Template:Infobox Template:Infobox]
 
|[http://www.transitwiki.org/TransitWiki/index.php/Template:Infobox Template:Infobox]
 
|}
 
|}
This template is used to display and info box on the top right hand side of a page like the example on this page.
+
This template is used to display an infobox on the top right hand side of a page like the example on this page.
 
To use this template in a page, copy and paste the text below, substituting the appropriate parameter values. It is not necessary to include all parameters. Also beware that parameters are case sensitive. All parameters are lowercase for this template. Parameters can be added in any order but will always appear in this order.
 
To use this template in a page, copy and paste the text below, substituting the appropriate parameter values. It is not necessary to include all parameters. Also beware that parameters are case sensitive. All parameters are lowercase for this template. Parameters can be added in any order but will always appear in this order.
  

Revision as of 02:55, 29 January 2017


Infobox

Info.png
Vendor Transit Wiki
Website Template:Infobox

This template is used to display an infobox on the top right hand side of a page like the example on this page. To use this template in a page, copy and paste the text below, substituting the appropriate parameter values. It is not necessary to include all parameters. Also beware that parameters are case sensitive. All parameters are lowercase for this template. Parameters can be added in any order but will always appear in this order.

{{infobox

|title=
|image=
|image_size=
|vendor=
|license=
|website=
}}

The parameter inputs and defaults are listed in the table below

Parameter Input Default
title infobox title none
image image file name (only the image name is needed, not the [[File:]]) none
image_size width of image in pixels 200px
vendor application vendor none
license application license none
website [http://officialappwebsite.com tag for the website] (the square brackets are required for this parameter) none