Difference between revisions of "Template:Infobox"

From TransitWiki
Jump to navigation Jump to search
Line 18: Line 18:
  
 
<noinclude>
 
<noinclude>
{{{infobox
+
{|style="float:right; margin-left: 10px; border-spacing: 2px; border: 1px solid darkgray; background: #f9f9f9; padding: 5px; width: 5%; text-align:left"
|title= Infobox
+
|+
|image= Info.png
+
=== Infobox ===
|vendor= Transit Wiki
+
|-
|website= [http://www.transitwiki.org/TransitWiki/index.php/Template:Infobox Template:Infobox]
+
|colspan="2" style="padding-bottom:20px"|[[File:Info.pgn|center|200px]]
}}}
+
|-
 +
!style="vertical-align: top; padding-right:20px;"|Vendor
 +
|Transit Wiki
 +
|-
 +
!style="vertical-align: top; padding-right:20px"|Website
 +
|[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 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.
 
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 12:29, 13 January 2017


Infobox

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= 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)
}}}