Difference between revisions of "Template:Software infobox"

From Worms Knowledge Base

Jump to: navigation, search
(attempt #2)
(changed to Wikipedia style... let's see if it'll help)
Line 1: Line 1:
{| class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;"
+
<includeonly>{| class="infobox" cellspacing="2" style="width: 21em; font-size: 90%; text-align: left;"
 
! colspan="2" style="font-size: larger; text-align: center" | {{#if:{{{icon|}}}|[[Image:{{{icon}}}|32px]]}}&nbsp;&nbsp;{{{name}}}
 
! colspan="2" style="font-size: larger; text-align: center" | {{#if:{{{icon|}}}|[[Image:{{{icon}}}|32px]]}}&nbsp;&nbsp;{{{name}}}
 +
|-
 
{{#if:{{{screenshot|}}}|
 
{{#if:{{{screenshot|}}}|
 +
{{!}}colspan="2" style="text-align: center;"{{!}}[[Image:{{{screenshot}}}|250px|{{{name}}}]]
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="text-align: center;"{{!}}[[Image:{{{screenshot}}}|250px|{{{name}}}]]}}
+
}}
{{#if:{{{developer|}}}|{{!}}-
+
{{#if:{{{developer|}}}|
 
{{!}} style="width: 40%;" {{!}}Developer:
 
{{!}} style="width: 40%;" {{!}}Developer:
{{!}}{{{developer}}}}}
+
{{!}}{{{developer}}}
{{#if:{{{version|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{version|}}}|
 
{{!}}Latest version:
 
{{!}}Latest version:
{{!}}{{{version}}}}}
+
{{!}}{{{version}}}
{{#if:{{{games|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{games|}}}|
 
{{!}}Supported games:
 
{{!}}Supported games:
{{!}}{{{games}}}}}
+
{{!}}{{{games}}}
{{#if:{{{platforms|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{platforms|}}}|
 
{{!}}Platform(s):
 
{{!}}Platform(s):
{{!}}{{{platforms}}}}}
+
{{!}}{{{platforms}}}
{{#if:{{{language|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{language|}}}|
 
{{!}}Language:
 
{{!}}Language:
{{!}}{{{language}}}}}
+
{{!}}{{{language}}}
{{#if:{{{license|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{license|}}}|
 
{{!}}License:
 
{{!}}License:
{{!}}{{{license}}}}}
+
{{!}}{{{license}}}
{{#if:{{{website|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{website|}}}|
 
{{!}}Website:
 
{{!}}Website:
{{!}}{{{website}}}}}
+
{{!}}{{{website}}}
{{#if:{{{download|}}}|{{!}}-
+
{{!}}-
 +
}}
 +
{{#if:{{{download|}}}|
 
{{!}}'''Download:'''
 
{{!}}'''Download:'''
{{!}}{{{download}}}}}
+
{{!}}{{{download}}}
|}<noinclude>
+
{{!}}-
 +
}}
 +
|}</includeonly><noinclude>
  
 
== Usage ==
 
== Usage ==

Revision as of 07:01, 20 September 2008


Usage

{{Software_infobox
| icon = file.png
| name = name of program
| screenshot = file.png
| 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
  • If a download isn't provided, "download link needed" will display, unless a website link has been provided
Personal tools