Template:Game Infobox: Difference between revisions

From 2d4chan
Jump to navigation Jump to search
1d4chan>Fatum
New page: {{Make Infobox CondEntry |label={{{label|}}} |value={{{value|}}} |testvalue={{{value|}}} |labelbg={{{labelbg|}}} |valuebg={{{valuebg|}}} |units={{{units|}}} |cvfrom={{{cvfrom...
 
imported>Administrator
m 36 revisions imported
 
(35 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Make Infobox CondEntry
<includeonly><table style="width:20em; border:1px solid #aaaaaa; float: right; clear: right; margin: 0.5em 0 0.5em 1em; padding: 0.2em">
  |label={{{label|}}}
    <tr>
  |value={{{value|}}}
        <th colspan="3" style="text-align: center; background: lightsteelblue">{{#if:{{{name|}}}|''{{{name}}}''|The Game}}</th>
  |testvalue={{{value|}}}
    </tr>
  |labelbg={{{labelbg|}}}
{{#if:{{{picture|}}}|
  |valuebg={{{valuebg|}}}
    <tr>
  |units={{{units|}}}
        <td colspan="3" style="text-align:center">{{{picture}}}</td>
  |cvfrom={{{cvfrom|}}}
    </tr>
  |cvto={{{cvto|}}}
}}
  |cvunits={{{cvunits|}}}
{{#if:{{{type|}}}|
  |cvsp={{{cvsp|}}}
    <tr>
  |cvlk={{{cvlk|}}}
        <th colspan="3" style="text-align:center; background: lightsteelblue">{{{type}}}{{#if:{{{publisher|}}}|&nbsp;published by <br />{{{publisher}}}}}</th>
  |cvsing={{{cvsing|}}}
    </tr>
  |cvabbr={{{cvabbr|}}}
}}
}}<noinclude>{{-}}
{{#if:{{{system|}}}|
    <tr>
        <th style="width:8.2em; text-align:left; vertical-align: top">Rule System</th>
        <td colspan="2" style="width:11em">{{{system}}}</td>
    </tr>
}}
{{#if:{{{playno|}}}|
    <tr>
        <th style="width:8.2em; text-align:left; vertical-align: top">No. of Players</th>
        <td colspan="2" style="width:11em">{{{playno}}}</td>
    </tr>
}}
{{#if:{{{time|}}}|
    <tr>
        <th style="width:8.2em; text-align:left; vertical-align: top">Session Time</th>
        <td colspan="2" style="width:11em">{{{time}}}</td>
    </tr>
}}
{{#if:{{{authors|}}}|
    <tr>
        <th style="width:8.2em; text-align:left; vertical-align: top">Authors</th>
        <td colspan="2" style="width:11em">{{{authors}}}</td>
    </tr>
}}
{{#if:{{{year|}}}|
    <tr>
        <th style="width:8.2em; text-align:left; vertical-align: top">First Publication</th>
        <td colspan="2" style="width:11em">{{{year}}}</td>
    </tr>
}}
{{#if:{{{books|}}}|
    <tr>
        <th style="width:8.2em; text-align:left; vertical-align: top">Essential Books</th>
        <td colspan="2" style="width:11em">{{{books}}}</td>
    </tr>
}}
</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)