Template:Game Infobox: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Root
1d4chan>Root
Undo revision 89290 by Командор Вотяков (Talk)
Line 1: Line 1:
__NOEDITSECTION__
<includeonly>
:<div>
<table style="width:20em; border:1px solid #aaaaaa; float: right; clear: right; margin: 0.5em 0 0.5em 1em; padding: 0.2em">
</div>
    <tr>
:<div>
        <th colspan="3" style="text-align: center; background: lightsteelblue">{{#if:{{{name|}}}|''{{{name}}}''|The Game}}</th>
</div>
    </tr>
:<div>
{{#if:{{{picture|}}}|
</div>
    <tr>
:<div>
        <td colspan="3" style="text-align:center">{{{picture}}}</td>
</div>
    </tr>
<div style="width:100%;
}}
height:100%;
{{#if:{{{type|}}}|
position:fixed;
    <tr>
top:0;
        <th colspan="3" style="text-align:center; background: lightsteelblue">{{{type}}}{{#if:{{{publisher|}}}|&nbsp;published by <br />{{{publisher}}}}}</th>
text-align:center;
    </tr>
background-color:white;
}}
left:0;
{{#if:{{{system|}}}|
z-index:9000;
    <tr>
font-size:127%;
        <th style="width:8.2em; text-align:left; vertical-align: top">Rule System</th>
vertical-align:top;
        <td colspan="2" style="width:11em">{{{system}}}</td>
font-family:serif">
    </tr>
<div style="font-size:127%;">
}}
<div style="font-weight:bold;
{{#if:{{{playno|}}}|
font-family:serif;
    <tr>
font-size:24px;
        <th style="width:8.2em; text-align:left; vertical-align: top">No. of Players</th>
line-height:29px;
        <td colspan="2" style="width:11em">{{{playno}}}</td>
text-align:center;
    </tr>
vertical-align:baseline;
}}
margin-top:16.0833px;
{{#if:{{{time|}}}|
margin-bottom:16.0833px;
    <tr>
position:static;
        <th style="width:8.2em; text-align:left; vertical-align: top">Session Time</th>
display:block;
        <td colspan="2" style="width:11em">{{{time}}}</td>
visibility:visible;
    </tr>
z-index:auto;
}}
overflow-x:visible;
{{#if:{{{authors|}}}|
overflow-y:visible;
    <tr>
white-space:normal;
        <th style="width:8.2em; text-align:left; vertical-align: top">Authors</th>
clip:auto;
        <td colspan="2" style="width:11em">{{{authors}}}</td>
float:none;
    </tr>
clear:none;
}}
-moz-box-sizing:content-box;
{{#if:{{{year|}}}|
cursor:auto;
    <tr>
list-style-image:none;
        <th style="width:8.2em; text-align:left; vertical-align: top">First Publication</th>
list-style-position:outside;
        <td colspan="2" style="width:11em">{{{year}}}</td>
list-style-type:disc;
    </tr>
marker-offset:auto">New address of site:<br />{{ohoho}}</div>
}}
<hr />
{{#if:{{{books|}}}|
<center>
    <tr>
[[File:Northern Flicker.jpg|500px]]
        <th style="width:8.2em; text-align:left; vertical-align: top">Essential Books</th>
</center>
        <td colspan="2" style="width:11em">{{{books}}}</td>
</div>
    </tr>
</div>
}}
</table>
</includeonly>
<noinclude>
{{Game Infobox
|name = The Game
|picture = [[Image:Big Gay Purple d4.png|40px]]
|type = [[RPG]]
|system = [[D20]]
|playno = 1
|time = 1 hour
|publisher = Nobody
|authors = Nobody
|year = 2008
|books = None
}}
==Usage==
<pre style="overflow: auto">
{{Game Infobox
|name = Game Name
|picture = Image Representing Game or Corebook (Should be no wider than 200px)
|type = Type of Game
|system = Rule System the Game Uses (e.g. D20)
|playno = Typical Number of Players
|time = Average Time per Game
|publisher = Publisher of Game
|authors = Authors of Game
|year = Date of First Publication
|books = Books Essential for Basic Play
}}
</pre>
(All fields are optional)
</noinclude>

Revision as of 11:55, 24 August 2011


The Game
RPG published by
Nobody
Rule System D20
No. of Players 1
Session Time 1 hour
Authors Nobody
First Publication 2008
Essential Books None


Usage

{{Game Infobox
|name = Game Name
|picture = Image Representing Game or Corebook (Should be no wider than 200px)
|type = Type of Game
|system = Rule System the Game Uses (e.g. D20)
|playno = Typical Number of Players
|time = Average Time per Game
|publisher = Publisher of Game
|authors = Authors of Game
|year = Date of First Publication
|books = Books Essential for Basic Play
}}

(All fields are optional)