Difference between revisions of "Template:Function"

From Uzebox Wiki
Jump to: navigation, search
Line 1: Line 1:
<table style="font-size:90%; text-align:left; border:1px solid #aaa; padding:1px; margin-bottom: 0.5em; margin-left: 1em; clear: right; color: black; border-collapse:collapse;background-color: #f9f9f9;" cellpadding="1px" border="1">
+
<table style="font-size:90%; text-align:left; border:1px solid #aaa; padding:1px; margin-bottom: 0.5em; margin-left: 1em; clear: right; color: black; border-collapse:collapse;background-color: #f9f9f9;" width="98%" cellpadding="1px" border="1">
 
<tr><th colspan="2" style="font-size:110%; text-align: left; border:none;">''{{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}''
 
<tr><th colspan="2" style="font-size:110%; text-align: left; border:none;">''{{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}''
 
</th></tr>
 
</th></tr>
{{#if:{{{image|}}}|
+
 
<tr><th colspan="2" style="text-align: center; padding:2px;">
+
 
[[{{{image|}}}|320px]]<br/>{{{caption|}}}</th></tr> | [[Category:Game articles with no screenshots]] }}
+
{{#if:{{{prototype|}}}|
{{#if:{{{genres|}}}|
+
<tr><th style="border:none;">Prototype</th><td style="border:none;">{{{prototype|}}}</td><tr>
<tr><th style="border:none;">[[:Category:Games by genre|Genres]]</th><td style="border:none;">{{{genres|}}}</td></tr>|
+
}}
{{#if:{{{genre|}}}|
+
 
<tr><th style="border:none;">[[:Category:Games by genre|Genre]]</th><td style="border:none;">{{{genre|}}}</td></tr>
+
{{#if:{{{description|}}}|
}}}}{{#if:{{{developers|}}}|
+
<tr><th style="border:none;">Description</th><td style="border:none;">{{{description|}}}</td><tr>
<tr><th style="border:none;">[[:Category:Developers|Developers]]</th><td style="border:none;">{{{developers|}}}</td></tr>|
+
}}
{{#if:{{{developer|}}}|
+
 
<tr><th style="border:none;">[[:Category:Developers|Developer]]</th><td style="border:none;">{{{developer|}}}</td></tr>
+
{{#if:{{{parameters|}}}|
}}}}{{#if:{{{code licenses|}}}|
+
<tr><th style="border:none;">Parameters</th><td style="border:none;">{{{parameters|}}}</td><tr>
<tr><th style="border:none;">[[Free source code license|Code licenses]]</th><td style="border:none;">{{{code licenses|}}}</td></tr> | {{ #if: {{{code license|}}} | <tr><th style="border:none;">[[Free source code license|Code license]]</th><td style="border:none;">{{{code license|}}}</td></tr> | [[Category:Games with unknown source code license]] }} }}
+
}}
{{ #if: {{{media licenses|}}} | <tr><th style="border:none;">[[Free media license|Media licenses]]</th><td style="border:none;">{{{media licenses|}}}</td></tr> | {{ #if: {{{media license|}}} | <tr><th style="border:none;">[[Free media license|Media license]]</th><td style="border:none;">{{{media license|}}}</td></tr> | [[Category:Games with unknown media license]] }} }}
+
 
{{#if:{{{engines|}}}|
+
{{#if:{{{returns|}}}|
<tr><th style="border:none;">[[Engines]]</th><td style="border:none;">{{{engines|}}}</td></tr> | {{ #if: {{{engine|}}} | <tr><th style="border:none;">[[Engines|Engine]]</th><td style="border:none;">{{{engine|}}}</td></tr>
+
<tr><th style="border:none;">Returns</th><td style="border:none;">{{{returns|}}}</td><tr>
}}}}
+
}}
 +
 
 
{{#if:{{{video modes|}}}|
 
{{#if:{{{video modes|}}}|
<tr><th style="border:none;">[[Video Modes]]</th><td style="border:none;">{{{video modes|}}}</td></tr> | {{ #if: {{{video mode|}}} | <tr><th style="border:none;">[[Video Modes|Video Mode]]</th><td style="border:none;">{{{video mode|}}}</td></tr>
+
<tr><th style="border:none;">Video Modes</th><td style="border:none;">{{{video modes|}}}</td><tr>
}}}}
+
}}
{{#if:{{{latest release|}}}|
+
 
<tr><th style="border:none;">Latest release</th><td style="border:none;">{{{latest release|}}}</td><tr>
+
{{#if:{{{status|}}}|
}}{{#if:{{{release date|}}}|
+
<tr><th style="border:none;">Status</th><td style="border:none;">{{{status|}}}</td><tr>
<tr><th style="border:none;">Release date</th><td style="border:none;">{{{release date|}}}</td><tr>
+
}}
}}{{#if:{{{languages|}}}|
+
 
<tr><th style="border:none;">[[:Category:Games by language|Languages]]</th><td style="border:none;">{{{languages|}}}</td></tr>|
 
{{#if:{{{language|}}}|
 
<tr><th style="border:none;">[[:Category:Games by language|Language]]</th><td style="border:none;">{{{language|}}}</td></tr>
 
}}}}{{#if:{{{libraries|}}}|
 
<tr><th style="border:none;">[[:Category:Libraries|Libraries]]</th><td style="border:none;">{{{libraries|}}}</td></tr>|
 
{{#if:{{{library|}}}|
 
<tr><th style="border:none;">[[:Category:Libraries|Library]]</th><td style="border:none;">{{{library|}}}</td></tr>
 
}}}}
 
 
</table>
 
</table>

Revision as of 19:34, 27 February 2009

Function