Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
{{#if: {{{title|}}}|=== {{{title}}} ===|}} | {{#if: {{{title|}}}|=== {{{title}}} ===|}} | ||
|- | |- | ||
− | |{{#if: {{{image|}}}|colspan="2" style="padding-bottom:20px"|}}|{{#if: {{{image|}}}|[[File:{{{image}}}|center|200px]]|}} | + | |{{#if: {{{image|}}}|colspan="2" style="padding-bottom:20px"|}}|{{#if: {{{image|}}}|[[File:{{{image}}}|center|{{#if: {{{image_size|}}}|{{{image_size}}}|200px}}]]|}} |
|- | |- | ||
!style="vertical-align: top; padding-right:20px;"|{{#if: {{{vendor|}}}|Vendor|}} | !style="vertical-align: top; padding-right:20px;"|{{#if: {{{vendor|}}}|Vendor|}} |
Revision as of 13:02, 13 January 2017
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= |
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 |