Difference between revisions of "Template:Infobox"

From TransitWiki
Jump to navigation Jump to search
Line 36: Line 36:
 
|-
 
|-
 
|<nowiki>{{{infobox</nowiki><br>
 
|<nowiki>{{{infobox</nowiki><br>
<nowiki>|title=</nowiki> ''infobox title''<br>
+
<nowiki>|title=</nowiki> <br>
<nowiki>|image=</nowiki> ''image file name'' (only the image name is needed, not the <nowiki>[[File:]]</nowiki>)<br>
+
<nowiki>|image=</nowiki> <br>
<nowiki>|vendor=</nowiki> ''application vendor''<br>
+
<nowiki>|vendor=</nowiki> <br>
<nowiki>|license=</nowiki> ''application license''<br>
+
<nowiki>|license=</nowiki> <br>
<nowiki>|website= [http://officialappwebsite.com tag for the website]</nowiki> (the square brackets are required for this parameter)<br>
+
<nowiki>|website=</nowiki> <br>
 
<nowiki>}}}</nowiki>
 
<nowiki>}}}</nowiki>
 +
|}
 +
 +
The parameter inputs and defaults are listed in the table below
 +
{|class="wikitable"
 +
|-
 +
!Parameter
 +
!Input
 +
!Default
 +
|-
 +
!title
 +
|infobox title
 +
|none
 +
|-
 +
!image
 +
|image file name (only the image name is needed, not the <nowiki>[[File:]]</nowiki>)
 +
|none
 +
|-
 +
!vendor
 +
|application vendor
 +
|none
 +
|-
 +
!license
 +
|application license
 +
|none
 +
|-
 +
!website
 +
|<nowiki>[http://officialappwebsite.com tag for the website]</nowiki> (the square brackets are required for this parameter)
 +
|none
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 12:56, 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=
|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
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