Difference between revisions of "Template:Software infobox"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m (optimized code) |
m (Added German (linking)) |
||
(9 intermediate revisions by 3 users not shown) | |||
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-- | |
− | --><tr><th colspan="2" style="font-size: larger; text-align: center">{{#if:{{{icon|}}}|[[Image:{{{icon}}}|{{{iconsize|32px}}}]] | + | --><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-- | |
-->{{#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>}}<!-- | ||
− | + | --LABELS-- | |
-->{{#if:{{{developer|}}}|<tr><th style="width: 40%; font-weight: normal;">Developer:</th> | -->{{#if:{{{developer|}}}|<tr><th style="width: 40%; font-weight: normal;">Developer:</th> | ||
<td>{{{developer}}}</td></tr>}}<!-- | <td>{{{developer}}}</td></tr>}}<!-- | ||
Line 11: | Line 11: | ||
-->{{#if:{{{games|}}}|<tr><th style="width: 40%; font-weight: normal;">Supported games:</th> | -->{{#if:{{{games|}}}|<tr><th style="width: 40%; font-weight: normal;">Supported games:</th> | ||
<td>{{{games}}}</td></tr>}}<!-- | <td>{{{games}}}</td></tr>}}<!-- | ||
+ | -->{{#if:{{{waver|}}}|<tr><th style="width: 40%; font-weight: normal;">Supported W:A version:</th> | ||
+ | <td>{{{waver}}}</td></tr>}}<!-- | ||
+ | -->{{#if:{{{waeditions|}}}|<tr><th style="width: 40%; font-weight: normal;">Supported W:A editions:</th> | ||
+ | <td>{{{waeditions}}}</td></tr>}}<!-- | ||
-->{{#if:{{{platforms|}}}|<tr><th style="width: 40%; font-weight: normal;">Platform(s):</th> | -->{{#if:{{{platforms|}}}|<tr><th style="width: 40%; font-weight: normal;">Platform(s):</th> | ||
<td>{{{platforms}}}</td></tr>}}<!-- | <td>{{{platforms}}}</td></tr>}}<!-- | ||
Line 21: | Line 25: | ||
-->{{#if:{{{download|}}}|<tr><th style="width: 40%; font-weight: bold;">Download:</th> | -->{{#if:{{{download|}}}|<tr><th style="width: 40%; font-weight: bold;">Download:</th> | ||
<td>{{{download}}}</td></tr>}}<!-- | <td>{{{download}}}</td></tr>}}<!-- | ||
− | + | --END-- | |
− | --></table></includeonly><noinclude>{{Software_infobox | + | --></table></includeonly><noinclude> |
+ | {{Languages|en|Template:Software_infobox|ru|Template:Software_infobox/ru|fr|Template:Software_infobox/fr|de|Template:Software_infobox/de}} | ||
+ | {{Software_infobox | ||
|icon=Software_Generic3.png | |icon=Software_Generic3.png | ||
|name={{{name}}} | |name={{{name}}} | ||
Line 30: | Line 36: | ||
|version=''{{{version}}}'' | |version=''{{{version}}}'' | ||
|games=''{{{games}}}'' | |games=''{{{games}}}'' | ||
+ | |waver=''{{{waver}}}'' | ||
+ | |waeditions=''{{{waeditions}}}'' | ||
|platforms=''{{{platforms}}}'' | |platforms=''{{{platforms}}}'' | ||
|language=''{{{language}}}'' | |language=''{{{language}}}'' | ||
Line 51: | Line 59: | ||
| version = ''version and date''<br/> | | version = ''version and date''<br/> | ||
| games = ''the games with which the program works''<br/> | | games = ''the games with which the program works''<br/> | ||
+ | | waver = ''whether it is targetted to a specific W:A version''<br/> | ||
+ | | waeditions = ''which W:A editions are supported''<br/> | ||
| platforms = ''the platforms with which the program works (if particularly notable)''<br/> | | platforms = ''the platforms with which the program works (if particularly notable)''<br/> | ||
| language = ''programming language''<br/> | | language = ''programming language''<br/> |
Latest revision as of 21:59, 11 January 2014
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
| waver = whether it is targetted to a specific W:A version
| waeditions = which W:A editions are supported
| 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.