Difference between revisions of "Template:Software infobox"
From Worms Knowledge Base
m |
Explorer09 (Talk | contribs) m (vertical align on {{{title}}}) |
||
Line 1: | Line 1: | ||
<includeonly><table class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;"><!-- | <includeonly><table class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;"><!-- | ||
--TITLE-- | --TITLE-- | ||
− | --><tr><th colspan="2" style="font-size: larger; text-align: center">{{#if:{{{icon|}}}|[[Image:{{{icon}}}|{{{iconsize|32px}}}|alt=icon]]<span style="margin-right: 0.25em;"> </span>}}{{{name|{{PAGENAME}}}}}</th></tr><!-- | + | --><tr><th colspan="2" style="font-size: larger; text-align: center; vertical-align: middle;">{{#if:{{{icon|}}}|[[Image:{{{icon}}}|{{{iconsize|32px}}}|alt=icon]]<span style="margin-right: 0.25em;"> </span>}}{{{name|{{PAGENAME}}}}}</th></tr><!-- |
--SCREENSHOT-- | --SCREENSHOT-- | ||
-->{{#if:{{{screenshot|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot}}}|{{{screensize|250px}}}|{{{caption|{{{name|{{PAGENAME}}}}} screenshot}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!-- | -->{{#if:{{{screenshot|}}}|<tr><td colspan="2" style="text-align: center;">[[Image:{{{screenshot}}}|{{{screensize|250px}}}|{{{caption|{{{name|{{PAGENAME}}}}} screenshot}}}]]{{#if:{{{caption|}}}|<br/>{{{caption}}}}}</td></tr>}}<!-- |
Revision as of 13:56, 17 August 2011
Usage
{{Software_infobox
| icon = file.png
| iconsize = size of the icon (default: 32px)
| name = name of program (default: {{PAGENAME}})
| screenshot = file.png
| screensize = size of the screenshot (default: 250px width)
| caption = caption text of the screenshot (default: "{{{name}}} screenshot")
| developer = developer(s) with wikilinks
| version = version and date
| games = the games with which the program works
| platforms = the platforms with which the program works (if particularly notable)
| language = programming language
| license = source license
| website = website for the program
| download = download link
}}
- If a parameter is not used, the table row for it will not be included.