Difference between revisions of "Template:Infobox game"

From SWG Utopia
Jump to navigation Jump to search
(Created page with "<infobox> <title source="name"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption-image"/> </image> <data source="deve...")
 
Line 1: Line 1:
<infobox>
+
{|style="width:350px;border:#000000 1px solid;background-color:#111111;color:#ffffff;float:right;"
  <title source="name">
+
|style="text-align:center;"|{{{logo|}}}
    <default>{{PAGENAME}}</default>
+
|-
  </title>
+
|style="background-color:#444444;text-align:center;"|{{#if: {{{credo|}}} | {{{credo}}} |}}
  <image source="image">
+
|-
    <caption source="caption-image"/>
+
|style="background-color:{{{color|#FF0000}}};text-align:center;font-weight:bold;font-size:20px;"|{{#if: {{{name|}}} | {{{name}}} |}}
  </image>
+
|-
  <data source="developer">
+
|style="background-color:#444444;text-align:center;"|Basic Information
    <label>'''Developer'''</label>
+
|-
  </data>
+
{{#if: {{{developer|}}} |{{!}}*Developer: {{{developer}}}|}}
  <data source="publisher">
+
|-
    <label>'''Publisher'''</label>
+
{{#if: {{{publisher|}}} |{{!}}*Publisher: {{{publisher}}}|}}
  </data>
+
|}
</infobox>
 
<noinclude>
 
== Usage & preview ==
 
Type in this:
 
 
 
<pre>
 
{{Infobox game
 
|name=
 
|image=
 
|caption=
 
|developer=
 
|publisher=
 
}}
 
 
 
</pre>
 
 
 
to see this:
 
 
 
{{Infobox game
 
|name=This is a test
 
|image=This is a test
 
|caption=This is a test
 
|developer=This is a test
 
|publisher=This is a test
 
}}
 
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
 
</noinclude>
 

Revision as of 13:51, 10 November 2023

Basic Information