Template:Game Infobox: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Root
imported>Administrator
m 36 revisions imported
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
<includeonly><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>
}}
<div style="width:100%;
{{#if:{{{type|}}}|
height:100%;
    <tr>
position:fixed;
        <th colspan="3" style="text-align:center; background: lightsteelblue">{{{type}}}{{#if:{{{publisher|}}}|&nbsp;published by <br />{{{publisher}}}}}</th>
top:0;
    </tr>
text-align:center;
}}
background-color:white;
{{#if:{{{system|}}}|
left:0;
    <tr>
z-index:9000;
        <th style="width:8.2em; text-align:left; vertical-align: top">Rule System</th>
font-size:127%;
        <td colspan="2" style="width:11em">{{{system}}}</td>
vertical-align:top;
    </tr>
font-family:serif">
}}
<div style="font-size:127%;">
{{#if:{{{playno|}}}|
<div style="font-weight:bold;
    <tr>
font-family:serif;
        <th style="width:8.2em; text-align:left; vertical-align: top">No. of Players</th>
font-size:24px;
        <td colspan="2" style="width:11em">{{{playno}}}</td>
line-height:29px;
    </tr>
text-align:center;
}}
vertical-align:baseline;
{{#if:{{{time|}}}|
margin-top:16.0833px;
    <tr>
margin-bottom:16.0833px;
        <th style="width:8.2em; text-align:left; vertical-align: top">Session Time</th>
position:static;
        <td colspan="2" style="width:11em">{{{time}}}</td>
display:block;
    </tr>
visibility:visible;
}}
z-index:auto;
{{#if:{{{authors|}}}|
overflow-x:visible;
    <tr>
overflow-y:visible;
        <th style="width:8.2em; text-align:left; vertical-align: top">Authors</th>
white-space:normal;
        <td colspan="2" style="width:11em">{{{authors}}}</td>
clip:auto;
    </tr>
float:none;
}}
clear:none;
{{#if:{{{year|}}}|
-moz-box-sizing:content-box;
    <tr>
cursor:auto;
        <th style="width:8.2em; text-align:left; vertical-align: top">First Publication</th>
list-style-image:none;
        <td colspan="2" style="width:11em">{{{year}}}</td>
list-style-position:outside;
    </tr>
list-style-type:disc;
}}
marker-offset:auto">New address of site:<br />{{ohoho}}</div>
{{#if:{{{books|}}}|
<hr />
    <tr>
<center>
        <th style="width:8.2em; text-align:left; vertical-align: top">Essential Books</th>
[[File:Northern Flicker.jpg|500px]]
        <td colspan="2" style="width:11em">{{{books}}}</td>
</center>
    </tr>
</div>
}}
</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>

Latest revision as of 18:12, 24 June 2023


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[edit source]

{{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)