Template:Game infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "0 0 0.75em 1em" to "0 0 0.5em 1em") |
m (Text replacement - "{{!}}-}}" to "}} |-") |
||
(53 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" style="width:300px; color:{{{color|inherit}}}; background:{{{BG|#f0f0f0}}}; border:1px solid #999" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
! class="infoboxheading" colspan=2 style="background:{{{ | |||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! colspan=2 style="background:{{{imageBG|transparent}}} | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|transparent}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{developer|}}}| | {{#if:{{{developer|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Developer(s): | ||
{{{developer | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{developer}}} | |||
}} | |||
|- | |||
{{#if:{{{publisher|}}}| | {{#if:{{{publisher|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Publisher(s): | ||
{{{publisher | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{publisher}}} | |||
}} | |||
|- | |||
{{#if:{{{platform|}}}| | {{#if:{{{platform|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Platform(s): | ||
{{{platform | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{platform}}} | |||
}} | |||
|- | |||
{{#if:{{{releasedate|}}}| | {{#if:{{{releasedate|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Release date(s): | ||
{{{releasedate | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{releasedate}}} | |||
}} | |||
|- | |||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Genre(s): | ||
{{{genre | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{genre}}} | |||
}} | |||
|- | |||
{{#if:{{{modes|}}}| | {{#if:{{{modes|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Mode(s): | ||
{{{modes | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{modes}}} | |||
}} | |||
|- | |||
{{#if:{{{rating|}}}| | {{#if:{{{rating|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{!}} class="infoboxcell" style=" | Rating(s): | ||
{{{rating | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{rating}}} | |||
| colspan=2 | }} | ||
|} | |- | ||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude> | |||
{{Clear}}__NOTOC__ | {{Clear}}__NOTOC__ | ||
==Usage instructions== | ==Usage instructions== | ||
Paste the following code into the top of an article, filling all known fields: | Paste the following code into the top of an article, filling all known fields: | ||
<pre>{{ | <pre> | ||
{{Game infobox | |||
|name= | |name= | ||
|image= | |image= | ||
Line 58: | Line 72: | ||
|modes= | |modes= | ||
|rating= | |rating= | ||
}}</pre> | }} | ||
</pre> | |||
[[Category:Infobox templates | [[Category:Infobox templates]]</noinclude> | ||
</noinclude> |
Latest revision as of 10:16, October 18, 2022
Game infobox | |
---|---|
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Game infobox |name= |image= |developer= |publisher= |platform= |releasedate= |genre= |modes= |rating= }}