Difference between revisions of "Template:Software infobox"

From Worms Knowledge Base

Jump to: navigation, search
(I think it's better to KISS this one (it had a bug so I just removed the "download link needed" feature))
m (whitespace caused generation of empty lines)
Line 3: Line 3:
 
{{#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:'''

Revision as of 06:23, 20 September 2008

  {{{name}}}

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