Difference between revisions of "Template:Infobox wargame"
Jump to navigation
Jump to search
imported>GraemeLeggett (didn't work) |
imported>GraemeLeggett (overhaul code) |
||
| Line 1: | Line 1: | ||
{| class="infobox" style="font-size:95%;width:24em;" | {| class="infobox" style="font-size:95%;width:24em;" | ||
|- | |- | ||
| − | ! colspan="2" style="background: | + | ! colspan="2" style="background:#ddd;font-size:larger;text-align:center;" | {{{title|{{{subject_name|{{PAGENAME}}}}}}}}{{#if:{{{subtitle|}}}|<br /><small>{{{subtitle}}}</small>|}} |
| − | |||
| − | |||
|- | |- | ||
| + | | colspan="2" style="text-align: center; border-bottom: 1px solid #aaa;" |{{{image_link}}}{{#if:{{{image_caption|}}}|{{#if:{{{image_link|}}}|<br>|}}{{{image_caption}}}|}} | ||
| + | |- | ||
| + | {{#if:{{{manufacturer|}}}|<tr><th>Manufacturer</th><td nowrap>{{{manufacturer}}}</td></tr>|}} | ||
{{#if:{{{designer|}}}|<tr><th>Designer</th><td nowrap>{{{designer}}}</td></tr>|}} | {{#if:{{{designer|}}}|<tr><th>Designer</th><td nowrap>{{{designer}}}</td></tr>|}} | ||
| − | <tr><th> | + | {{#if:{{{illustrator|}}}|<tr><th>Illustrator</th><td nowrap>{{{illustrator}}}</td></tr>|}} |
{{#if:{{{publisher|}}}|<tr><th>Publisher</th><td nowrap>{{{publisher}}}</td></tr>|}} | {{#if:{{{publisher|}}}|<tr><th>Publisher</th><td nowrap>{{{publisher}}}</td></tr>|}} | ||
| − | {{#if:{{{ | + | {{#if:{{{years|}}}|<tr><th>Years active</th><td nowrap>{{{years}}}</td></tr>|}} |
| − | {{#if:{{{ | + | ! Players |
| + | | {{{players}}} | ||
| + | {{#if:{{{ages|}}}|<tr><th>Age range</th><td>{{{ages}}}</td></tr>|}} | ||
| + | |- | ||
| + | ! Setup time | ||
| + | | {{{setup_time}}} | ||
| + | |- | ||
| + | ! Playing time | ||
| + | | {{{playing_time}}} | ||
| + | |- | ||
| + | ! Random chance | ||
| + | | {{{random_chance}}} | ||
|- | |- | ||
| + | ! Skills required | ||
| + | | {{{skills}}} | ||
| + | |- | ||
| colspan="2" style="text-align: left; font-size: smaller; border-top: 1px solid #aaa;" | {{{footnotes|}}} | | colspan="2" style="text-align: left; font-size: smaller; border-top: 1px solid #aaa;" | {{{footnotes|}}} | ||
| − | + | {{#if:{{{bggid|{{{bggxrefs|}}}}}}|<tr><th style="font-size: 75%; white-space: nowrap" align="center" colspan="2">|}}{{#if:{{{bggid|}}}|'''[http://www.boardgamegeek.com/game/{{{bggid}}} BoardGameGeek entry]'''|}}{{#if:{{{bggxrefs|}}}|[[#template_boardgamegeek|{{#if:{{{bggid|}}}|<small> (more...)</small>|'''BoardGameGeek references'''|}}]]|}}{{#if:{{{bggid|{{{bggxrefs|}}}}}}|</th></tr>|}} | |
| − | |} | + | |}<noinclude> |
| − | |||
| − | <noinclude> | ||
{{-}} | {{-}} | ||
| Line 35: | Line 48: | ||
| publisher = | | publisher = | ||
| illustrator = | | illustrator = | ||
| − | | years = | + | | years = <!---years active---!> |
| players = | | players = | ||
| − | | ages = | + | | ages = <!---age range---!> |
| setup_time = | | setup_time = | ||
| playing_time = | | playing_time = | ||
| Line 45: | Line 58: | ||
| skills = | | skills = | ||
| bggid= <!---boardgame geek entry---!> | | bggid= <!---boardgame geek entry---!> | ||
| + | |bggxrefs = <!---boardgame geek cross references for supplements etc---!> | ||
| footnotes = | | footnotes = | ||
| web = | | web = | ||
Revision as of 15:31, 12 January 2007
| Infobox wargame | |
|---|---|
| {{{image_link}}} | |
| Players | {{{players}}} |
| Setup time | {{{setup_time}}} |
| Playing time | {{{playing_time}}} |
| Random chance | {{{random_chance}}} |
| Skills required | {{{skills}}} |
| 40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
{{ Infobox Wargame
| title =
| subtitle =
| image = <!---just the image name---!>
| image_caption= <!---as appropiate---!>
| designer =
| manufacturer =
| publisher =
| illustrator =
| years = <!---years active---!>
| players =
| ages = <!---age range---!>
| setup_time =
| playing_time =
| complexity =
| strategy =
| random_chance =
| skills =
| bggid= <!---boardgame geek entry---!>
|bggxrefs = <!---boardgame geek cross references for supplements etc---!>
| footnotes =
| web =
}}
|