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. 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.
  
{|class"wikitables"
+
{|class"wikitable"
 
|-
 
|-
|\o{infobox
+
|<nowiki>{{{infobox</nowiki><br>
\p title= ''infobox title''
+
<nowiki>|title=</nowiki> ''infobox title''<br>
\p image= ''image name'' (note that you only need to include the image name, not the [[File:]]
+
<nowiki>|image=</nowiki> ''image file name'' (note that you only need to include the image name, not the <nowiki>[[File:]]</nowiki>)<br>
\p vendor= ''application vendor''
+
<nowiki>|vendor=</nowiki> ''application vendor''<br>
\p license= ''application license''
+
<nowiki>|license=</nowiki> ''application license''<br>
\p website= [''http://officialappwebsite.com tag for the website''] (note that the square brackets are required for this parameter)
+
<nowiki>|website= [http://officialappwebsite.com tag for the website]</nowiki> (note that the square brackets are required for this parameter)<br>
\c}
+
<nowiki>}}}</nowiki>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 12:23, 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. 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.

{{{infobox

|title= infobox title
|image= image file name (note that you only need to include the image name, not the [[File:]])
|vendor= application vendor
|license= application license
|website= [http://officialappwebsite.com tag for the website] (note that the square brackets are required for this parameter)
}}}