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...")
 
 
(7 intermediate revisions by the same user not shown)
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|#b22222}}};text-align:center;face-name:Lara;font-variant:small-caps;font-weight:bold;font-size:20px;"|{{#if: {{{name|}}} | {{{name}}} |}}
  </image>
+
|-
  <data source="developer">
+
|style="background-color:#444444;font-name:Lara;text-align:center;"|<font face="Lara" style="font-variant: small-caps">Basic Information</font>
    <label>'''Developer'''</label>
+
|-
  </data>
+
{{#if: {{{developer|}}} |{{!}}*Developer: {{{developer}}}|}}
  <data source="publisher">
+
|-
    <label>'''Publisher'''</label>
+
{{#if: {{{publisher|}}} |{{!}}*Publisher: {{{publisher}}}|}}
  </data>
+
|}
</infobox>
 
 
<noinclude>
 
<noinclude>
== Usage & preview ==
+
The Game Infobox
Type in this:
 
  
 +
Data:
 
<pre>
 
<pre>
 
{{Infobox game
 
{{Infobox game
|name=
+
|logo          = Crest/shield/logo/patch for game: [[image:image.png|350px]]
|image=
+
|credo          = Do they have a Credo/Motto attached to their Crest?
|caption=
+
|color          = Government Color (#b22222 == Fire Brick Red).
|developer=
+
|name          = Name of this box
|publisher=
+
|developer           = Developer's Name.
 +
|publisher           = Publisher's Name.
 
}}
 
}}
 
 
</pre>
 
</pre>
  
to see this:
+
Example Use:
 +
{{Infobox game
 +
|logo          = [[Image:|350px]]
 +
|credo          =
 +
|color          = #b22222
 +
|name          = Name of this box
 +
|developer          = Developer's Name.
 +
|publisher          = Publisher's Name.
 +
}}
  
 +
<pre>
 
{{Infobox game
 
{{Infobox game
|name=This is a test
+
|logo          = [[Image:|350px]]
|image=This is a test
+
|credo          =  
|caption=This is a test
+
|color          = #b22222
|developer=This is a test
+
|name          = Name of this box
|publisher=This is a test
+
|developer           = Developer's Name.
 +
|publisher           = Publisher's Name.
 
}}
 
}}
 +
</pre>
  
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:26, 10 November 2023

Basic Information

The Game Infobox

Data:

{{Infobox game
 |logo           = Crest/shield/logo/patch for game: [[image:image.png|350px]]
 |credo          = Do they have a Credo/Motto attached to their Crest?
 |color          = Government Color (#b22222 == Fire Brick Red).
 |name           = Name of this box
 |developer           = Developer's Name.
 |publisher           = Publisher's Name.
}}

Example Use:

[[Image:|350px]]
Name of this box
Basic Information
*Developer: Developer's Name.
*Publisher: Publisher's Name.


{{Infobox game
 |logo           = [[Image:|350px]]
 |credo          = 
 |color          = #b22222
 |name           = Name of this box
 |developer           = Developer's Name.
 |publisher           = Publisher's Name.
}}