Difference between revisions of "Template:Infobox"

From TransitWiki
Jump to navigation Jump to search
Line 38: Line 38:
 
<nowiki>|title=</nowiki> <br>
 
<nowiki>|title=</nowiki> <br>
 
<nowiki>|image=</nowiki> <br>
 
<nowiki>|image=</nowiki> <br>
 +
<nowiki>|image_size=</nowiki> <br>
 
<nowiki>|vendor=</nowiki> <br>
 
<nowiki>|vendor=</nowiki> <br>
 
<nowiki>|license=</nowiki> <br>
 
<nowiki>|license=</nowiki> <br>
Line 58: Line 59:
 
|image file name (only the image name is needed, not the <nowiki>[[File:]]</nowiki>)
 
|image file name (only the image name is needed, not the <nowiki>[[File:]]</nowiki>)
 
|none
 
|none
 +
|-
 +
!image_size
 +
|width of image in pixels
 +
|200px
 
|-
 
|-
 
!vendor
 
!vendor

Revision as of 13:04, 13 January 2017


Infobox

Info.png
Vendor Transit Wiki
Website 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. 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