Difference between revisions of "Template:Work infobox"

From IFWiki
Jump to: navigation, search
(Changed theme)
(Changed template to use mediawiki tables for esier reading)
Line 1: Line 1:
<table style="width:23em; font-size:90%; text-align:left; float:right; margin-left:1em; margin-bottom:1em;background-color: #f3f3f3;" cellpadding="3" cellspacing="0"><tr><th colspan="2" style="font-size:110%; text-align: center;background-color: #b0b0f0;">''{{{title}}}''</th></tr>{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center;background-color: #e3e3e3;">{{{image}}}</td></tr>|}}{{#if:{{{image2|}}}|<tr><td colspan="2" style="text-align:center;background-color: #e3e3e3;">{{{image2}}}</td></tr>|}}{{#if:{{{author|}}}|<tr><th>[[:Category:People|Author(s)]]</th><td>{{{author}}}</td></tr>|}}{{#if:{{{publisher|}}}|<tr><th>[[:Category:Publishers|Publisher(s)]]</th><td>{{{publisher}}}</td></tr>|}}{{#if:{{{released|}}}|<tr><th style="white-space: nowrap;">Release date(s)</th><td>{{{released}}}</td></tr>|}}{{#if:{{{authsystem|}}}|<tr><th>[[Authoring system]]</th><td>{{{authsystem}}}</td></tr>|}}{{#if:{{{platform|}}}|<tr><th>[[Platform|Platform(s)]]</th><td>{{{platform}}}</td></tr>|}}{{#if:{{{language|}}}|<tr><th>[[Language|Language(s)]]</th><td>{{{language}}}</td></tr>|}}{{#if:{{{license|}}}|<tr><th>[[License|License(s)]]</th><td>{{{license}}}</td></tr>|}}{{#if:{{{color|}}}{{{graphics|}}}{{{sound|}}}|<tr><th colspan="2" style="text-align:center;background-color: #ccccff;">'''Multimedia'''</th></tr>|}}{{#if:{{{color|}}}|<tr><th>Color effects</th><td>{{{color}}}</td></tr>|}}{{#if:{{{graphics|}}}|<tr><th>Graphics</th><td>{{{graphics}}}</td></tr>|}}{{#if:{{{sound|}}}|<tr><th>Sound/Music</th><td>{{{sound}}}</td></tr>|}}{{#if:{{{cruelty|}}}|<tr><th colspan="2" style="text-align:center;background-color: #ccccff;">'''Ratings'''</th></tr><tr><th>[[Cruelty scale]]</th><td>{{{{{cruelty}}}}}</td></tr>|}}</table><noinclude>The valid arguments for this template are title, image, image2, author, publisher, released, authsystem, platform, language, license, color, sound, graphics, and cruelty. Only the title argument is required; the rest are optional. For more information, see [[IFWiki:Works_(style_guide)#Game_infobox|IFWiki:Works (style guide)]].
+
{| style="width:23em; font-size:90%; text-align:left; float:right; margin-left:1em; margin-bottom:1em;background-color: #f3f3f3;" cellpadding="3" cellspacing="0"
 +
! colspan="2" style="font-size:110%; text-align: center;background-color: #b0b0f0;" | ''{{{title}}}''
 +
|- {{#if:{{{image|}}}
 +
| colspan="2" style="text-align:center;background-color: #e3e3e3;" | {{{image}}}
 +
|}}
 +
|- {{#if:{{{image2|}}}
 +
| colspan="2" style="text-align:center;background-color: #e3e3e3;" | {{{image2}}}
 +
|}}
 +
|- {{#if:{{{author|}}}
 +
! [[:Category:People|Author(s)]]
 +
| {{{author}}}  
 +
|}}
 +
|- {{#if:{{{publisher|}}}
 +
! [[:Category:Publishers|Publisher(s)]]
 +
| {{{publisher}}}
 +
|}}
 +
|- {{#if:{{{released|}}}
 +
! style="white-space: nowrap;" | Release date(s)
 +
| {{{released}}}
 +
|}}
 +
|- {{#if:{{{authsystem|}}}
 +
! [[Authoring system]]
 +
| {{{authsystem}}}
 +
|}}
 +
|- {{#if:{{{platform|}}}
 +
| [[Platform|Platform(s)]]
 +
| {{{platform}}}
 +
|}}
 +
|- {{#if:{{{language|}}}
 +
! [[Language|Language(s)]]
 +
| {{{language}}}
 +
|}}
 +
|- {{#if:{{{license|}}}
 +
! [[License|License(s)]]
 +
| {{{license}}}
 +
|}}
 +
|- {{#if:{{{color|}}}{{{graphics|}}}{{{sound|}}}
 +
! colspan="2" style="text-align:center;background-color: #ccccff;" | '''Multimedia'''
 +
|}}
 +
|- {{#if:{{{color|}}}
 +
! Color effects
 +
| {{{color}}}
 +
|}}
 +
|- {{#if:{{{graphics|}}}
 +
! Graphics
 +
| {{{graphics}}}
 +
|}}
 +
|- {{#if:{{{sound|}}}
 +
! Sound/Music
 +
| {{{sound}}}
 +
|}}
 +
|- {{#if:{{{cruelty|}}}
 +
! colspan="2" style="text-align:center;background-color: #ccccff;" | '''Ratings'''
 +
|-
 +
! [[Cruelty scale]]
 +
| {{{{{cruelty}}}}}
 +
|}}
 +
|}
 +
 
 +
<noinclude>The valid arguments for this template are title, image, image2, author, publisher, released, authsystem, platform, language, license, color, sound, graphics, and cruelty. Only the title argument is required; the rest are optional. For more information, see [[IFWiki:Works_(style_guide)#Game_infobox|IFWiki:Works (style guide)]].
 
[[Category:Templates|Work infobox]]</noinclude>
 
[[Category:Templates|Work infobox]]</noinclude>

Revision as of 19:52, 20 May 2019

{{{title}}}

The valid arguments for this template are title, image, image2, author, publisher, released, authsystem, platform, language, license, color, sound, graphics, and cruelty. Only the title argument is required; the rest are optional. For more information, see IFWiki:Works (style guide).