Difference between revisions of "Template:Infobox"

From TransitWiki
Jump to navigation Jump to search
Line 25: Line 25:
 
}}}
 
}}}
 
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 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. Note that 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.
  
 
{|class="wikitable"
 
{|class="wikitable"
Line 31: Line 31:
 
|<nowiki>{{{infobox</nowiki><br>
 
|<nowiki>{{{infobox</nowiki><br>
 
<nowiki>|title=</nowiki> ''infobox title''<br>
 
<nowiki>|title=</nowiki> ''infobox title''<br>
<nowiki>|image=</nowiki> ''image file name'' (note that you only need to include the image name, not the <nowiki>[[File:]]</nowiki>)<br>
+
<nowiki>|image=</nowiki> ''image file name'' (only the image name is needed, not the <nowiki>[[File:]]</nowiki>)<br>
 
<nowiki>|vendor=</nowiki> ''application vendor''<br>
 
<nowiki>|vendor=</nowiki> ''application vendor''<br>
 
<nowiki>|license=</nowiki> ''application license''<br>
 
<nowiki>|license=</nowiki> ''application license''<br>
<nowiki>|website= [http://officialappwebsite.com tag for the website]</nowiki> (note that the square brackets are required for this parameter)<br>
+
<nowiki>|website= [http://officialappwebsite.com tag for the website]</nowiki> (the square brackets are required for this parameter)<br>
 
<nowiki>}}}</nowiki>
 
<nowiki>}}}</nowiki>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 12:26, 13 January 2017


title= 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= infobox title
|image= image file name (only the image name is needed, not the [[File:]])
|vendor= application vendor
|license= application license
|website= [http://officialappwebsite.com tag for the website] (the square brackets are required for this parameter)
}}}