Template:Infobox Game: Difference between revisions

OSRS>Scuzzy Beta
No edit summary
OSRS>Scuzzy Beta
No edit summary
Line 1: Line 1:
<infobox>
<div class="infobox-wrapper" style="float:right; width:33%; display:table;">
  <title source="title">
{| class="wikitable infobox {{parentitle|{{{name}}}}}"
    <default>{{PAGENAME}}</default>
|+ {{PAGENAME}}
  </title>
|-
  <image source="image">
| colspan="2" align="center" | {{#if:{{{image|}}}|{{{image}}}|[{{fullurl:Special:Upload|wpDestFile={{#replace:{{PAGENAME}}| |_}}.png}} Please upload an image!]}}
    <caption source="caption1"/>
|-
  </image>
! {{wp|Video game developer|Developer}}
  <data source="developer">
| {{#if:{{{developer|}}}|{{{developer}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''[[wikipedia:Video game developer|Developer]]'''</label>
|-
  </data>
! {{wp|Video game publisher|Publisher}}
  <data source="publisher">
| {{#if:{{{publisher|}}}|{{{publisher}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''[[wikipedia:Video game publisher|Publisher]]'''</label>
|-
  </data>
! Distributor
  <data source="distributor">
| {{#if:{{{distributor|}}}|{{{distributor}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''Distributor'''</label>
|-
  </data>
! Designers
  <data source="designer">
| {{#if:{{{designers|}}}|{{{designers}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''[[wikipedia:Game designer|Designer(s)]]'''</label>
|-
  </data>
! Engine
  <data source="engine">
| {{#if:{{{engine|}}}|{{{engine}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''[[wikipedia:Game engine|Engine]]'''</label>
|-
  </data>
! Latest version
  <data source="version">
| {{#if:{{{version|}}}|{{{version}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''Latest version'''</label>
|-
  </data>
! Release dates
  <data source="released">
| {{#if:{{{released|}}}|{{{released}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''Release dates'''</label>
|-
  </data>
{{#if:{{{discontinuation|}}}|! width="1%" nowrap="nowrap" {{!}} Discontinued
  <data source="discontinuation">
{{!}} {{{discontinuation}}}
    <label>'''Discontinuation'''</label>
{{!}}-}}
  </data>
! {{wp|Genre}}
  <data source="genre">
| {{#if:{{{genre|}}}|{{{genre}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''[[wikipedia:Video game genres|Genre]]'''</label>
|-
  </data>
! Ratings(s)
  <data source="modes">
| {{#if:{{{ratings|}}}|{{{ratings}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''Mode'''</label>
|-
  </data>
! Platforms
  <data source="ratings">
| {{#if:{{{platforms|}}}|{{{platforms}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''Rating(s)'''</label>
|-
  </data>
! System requirements
  <data source="platforms">
| {{#if:{{{specs|}}}|{{{specs}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''[[wikipedia:Video game#Platforms|Platforms]]'''</label>
|-
  </data>
! Input
  <data source="media">
| {{#if:{{{input|}}}|{{{input}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''Media'''</label>
|-
  </data>
! Website
  <data source="requirements">
| {{#if:{{{website|}}}|{{{website}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
    <label>'''System requirements'''</label>
|}<span class="infobox-bottom-links" style="clear:right; float:right; font-size:xx-small; margin-top:-10px;">[[Template:Infobox minigame|[view]]] &bull; [[Template talk:Infobox minigame|[talk]]]</span></div><noinclude>{{/doc}}</noinclude>
  </data>
  <data source="input">
    <label>'''Input'''</label>
  </data>
  <data source="website">
    <label>'''Website'''</label>
  </data>
</infobox>
<noinclude>
== Usage & preview ==
Type in this:
 
<pre>
{{Infobox Game
|title=
|image=
|caption=
|developer=
|publisher=
|distributor=
|designer=
|engine=
|version=
|released=
|genre=
|modes=
|ratings=
|platforms=
|media=
|requirements=
|input=
|website=
}}
 
</pre>
 
to see this:
 
{{Infobox Game
|title=This is a test
|image=This is a test
|caption=This is a test
|developer=This is a test
|publisher=This is a test
|distributor=This is a test
|designer=This is a test
|engine=This is a test
|version=This is a test
|released=This is a test
|genre=This is a test
|modes=This is a test
|ratings=This is a test
|platforms=This is a test
|media=This is a test
|requirements=This is a test
|input=This is a test
|website=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>