Difference between revisions of "Template:Software infobox"

From Worms Knowledge Base

Jump to: navigation, search
m
m (Added German (linking))
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| 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;"><!--
! colspan="2" style="font-size: larger; text-align: center" | {{#if:{{{icon|}}}|[[Image:{{{icon}}}|{{{iconsize|32px}}}]]&nbsp;}} {{{name}}}
+
--TITLE--
|-
+
--><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><!--
{{#if:{{{screenshot|}}}|
+
--SCREENSHOT--
{{!}}colspan="2" style="text-align: center;"{{!}}[[Image:{{{screenshot}}}|250px|{{{name}}}]]
+
-->{{#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>
 +
<td>{{{developer}}}</td></tr>}}<!--
 +
-->{{#if:{{{version|}}}|<tr><th style="width: 40%; font-weight: normal;">Latest version:</th>
 +
<td>{{{version}}}</td></tr>}}<!--
 +
-->{{#if:{{{games|}}}|<tr><th style="width: 40%; font-weight: normal;">Supported games:</th>
 +
<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>
 +
<td>{{{platforms}}}</td></tr>}}<!--
 +
-->{{#if:{{{language|}}}|<tr><th style="width: 40%; font-weight: normal;">Language:</th>
 +
<td>{{{language}}}</td></tr>}}<!--
 +
-->{{#if:{{{license|}}}|<tr><th style="width: 40%; font-weight: normal;">License:</th>
 +
<td>{{{license}}}</td></tr>}}<!--
 +
-->{{#if:{{{website|}}}|<tr><th style="width: 40%; font-weight: normal;">Website:</th>
 +
<td>{{{website}}}}}<!--
 +
-->{{#if:{{{download|}}}|<tr><th style="width: 40%; font-weight: bold;">Download:</th>
 +
<td>{{{download}}}</td></tr>}}<!--
 +
--END--
 +
--></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
 +
|name={{{name}}}
 +
|screenshot=Insert-screenshot-here.png
 +
|caption={{{caption}}}
 +
|developer=''{{{developer}}}''
 +
|version=''{{{version}}}''
 +
|games=''{{{games}}}''
 +
|waver=''{{{waver}}}''
 +
|waeditions=''{{{waeditions}}}''
 +
|platforms=''{{{platforms}}}''
 +
|language=''{{{language}}}''
 +
|license=''{{{license}}}''
 +
|website=''{{{website}}}''
 +
|download=''{{{download}}}''
 
}}
 
}}
{{#if:{{{developer|}}}|
+
__NOEDITSECTION__
{{!}} style="width: 40%;" {{!}}Developer:
+
{{!}}{{{developer}}}
+
{{!}}-
+
}}
+
{{#if:{{{version|}}}|
+
{{!}}Latest version:
+
{{!}}{{{version}}}
+
{{!}}-
+
}}
+
{{#if:{{{games|}}}|
+
{{!}}Supported games:
+
{{!}}{{{games}}}
+
{{!}}-
+
}}
+
{{#if:{{{platforms|}}}|
+
{{!}}Platform(s):
+
{{!}}{{{platforms}}}
+
{{!}}-
+
}}
+
{{#if:{{{language|}}}|
+
{{!}}Language:
+
{{!}}{{{language}}}
+
{{!}}-
+
}}
+
{{#if:{{{license|}}}|
+
{{!}}License:
+
{{!}}{{{license}}}
+
{{!}}-
+
}}
+
{{#if:{{{website|}}}|
+
{{!}}Website:
+
{{!}}{{{website}}}
+
{{!}}-
+
}}
+
{{#if:{{{download|}}}|
+
{{!}}'''Download:'''
+
{{!}}{{{download}}}
+
{{!}}-
+
}}
+
|}</includeonly><noinclude>{{Software_infobox|icon=Software_Generic3.png|name=name|screenshot=Insert-screenshot-here.png|developer=developer|version=version|games=games|platforms=platforms|language=language|license=license|website=website|download=download}}
+
 
== Usage ==
 
== Usage ==
 +
<nowiki>{{</nowiki>Software_infobox<br/>
 +
| icon = ''file.png''<br/>
 +
| iconsize = ''size of the icon (default: 32px)''
 +
 +
| name = ''name of program (default: <nowiki>{{PAGENAME}}</nowiki>)''
 +
 +
| screenshot = ''file.png''<br/>
 +
| screensize = size of the screenshot (default: 250px width)<br/>
 +
| caption = ''caption text of the screenshot (default: "{{{name}}} screenshot")''
  
<nowiki>{{Software_infobox</nowiki><br>
+
| developer = ''developer(s) with wikilinks''<br/>
| icon = ''file.png''<br>
+
| version = ''version and date''<br/>
| iconsize = ''32px''<br>
+
| games = ''the games with which the program works''<br/>
| name = ''name of program''<br>
+
| waver = ''whether it is targetted to a specific W:A version''<br/>
| screenshot = ''file.png''<br>
+
| waeditions = ''which W:A editions are supported''<br/>
| developer = ''developer(s) with wikilinks''<br>
+
| platforms = ''the platforms with which the program works (if particularly notable)''<br/>
| version = ''version and date''<br>
+
| language = ''programming language''<br/>
| games = ''the games with which the program works''<br>
+
| license = ''source license''<br/>
| platforms = ''the platforms with which the program works (if particularly notable)''<br>
+
| website = ''website for the program''<br/>
| language = ''programming language''<br>
+
| download = ''download link''<br/>
| license = ''source license''<br>
+
| website = ''website for the program''<br>
+
| download = ''download link''<br>
+
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
  
* If a parameter is not used, the table row for it will not be included
+
* If a parameter is not used, the table row for it will not be included.
 
</noinclude>
 
</noinclude>

Latest revision as of 21:59, 11 January 2014

In other languages: English (en) • русский (ru) • français (fr) • Deutsch (de) • +/-
icon {{{name}}}
{{{caption}}}
{{{caption}}}
Developer: {{{developer}}}
Latest version: {{{version}}}
Supported games: {{{games}}}
Supported W:A version: {{{waver}}}
Supported W:A editions: {{{waeditions}}}
Platform(s): {{{platforms}}}
Language: {{{language}}}
License: {{{license}}}
Website: {{{website}}}
Download: {{{download}}}

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.
Personal tools