Difference between revisions of "Template:Infobox wargame"

From blackwiki
Jump to navigation Jump to search
imported>GraemeLeggett
(→‎Usage: update)
imported>GraemeLeggett
(try borrowing code from Infobox Aircraft)
Line 3: Line 3:
 
! colspan="2" style="background:palegreen;font-size:larger;text-align:center;" | {{{title|{{{subject_name|{{PAGENAME}}}}}}}}{{#if:{{{subtitle|}}}|<br /><small>{{{subtitle}}}</small>|}}
 
! colspan="2" style="background:palegreen;font-size:larger;text-align:center;" | {{{title|{{{subject_name|{{PAGENAME}}}}}}}}{{#if:{{{subtitle|}}}|<br /><small>{{{subtitle}}}</small>|}}
 
|-
 
|-
| colspan="2" style="text-align: center; font-size: smaller; border-bottom: 1px solid #aaa;" |{{#if:{{{image|}}}|[[Image:{{{image}}}|200px]]{{#if:{{{image_caption|}}}|{{#if:{{{image_link|}}}|<br>|}}{{{image_caption}}}|}}|}}{{#if:{{{image_link|}}}|{{{image_link}}}{{#if:{{{image_caption|}}}|{{#if:{{{image_link|}}}|<br>|}}{{{image_caption}}}|}}|}}
+
{{#if:{{{image|<noinclude>-</noinclude>}}}|
 +
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="border: 1px solid #AAAAAA;">[[{{{image}}}|250px]]</div>
 +
{{!}}-
 +
}}
 +
{{#if:{{{caption|<noinclude>-</noinclude>}}}|
 +
{{!}} colspan="2" style="border-bottom: 1px solid #aaa;" {{!}} {{{caption}}}
 +
{{!}}-
 
|-
 
|-
 
{{#if:{{{designer|}}}|<tr><th>Designer</th><td nowrap>{{{designer}}}</td></tr>|}}
 
{{#if:{{{designer|}}}|<tr><th>Designer</th><td nowrap>{{{designer}}}</td></tr>|}}

Revision as of 15:07, 12 January 2007

{{#if:-|



Infobox wargame
[[{{{image}}}|250px]]
{{{caption}}}
Manufacturer{{{manufacturer}}}


Usage

{{ Infobox Wargame
| title =
| subtitle =
| image =  <!---just the image name---!>
| image_caption= <!---as appropiate---!>
| designer =
| manufacturer =
| publisher =
| illustrator =
| years =
| players =
| ages =
| setup_time =
| playing_time =
| complexity =
| strategy =
| random_chance =
| skills =
| bggid= <!---boardgame geek entry---!>
| footnotes =
| web =
}}

mk:Шаблон:Инфокутија-игра