Template:Infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "F2F3F4" to "F0F0F0")
Tag: Reverted
m (Text replacement - "F0F0F0" to "F2F3F4")
Tags: Manual revert Reverted
Line 7: Line 7:
|media=
|media=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxmedia" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F0F0F0}}};border-color:{{{linebg|#999}}}" {{!}} {{{content}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}} {{{content}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}}-
{{!}}-
}}
}}
Line 18: Line 18:
|entry=
|entry=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F0F0F0}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{{title|}}}{{{colon|:}}}
{{{title|}}}{{{colon|:}}}
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color2|{{{color|#000}}}}}};background:{{{bg2|{{{bg|#F0F0F0}}}}}};border-color:{{{linebg|#999}}}" {{!}}
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color2|{{{color|#000}}}}}};background:{{{bg2|{{{bg|#F2F3F4}}}}}};border-color:{{{linebg|#999}}}" {{!}}
{{{content}}}
{{{content}}}
{{!}}-
{{!}}-
Line 26: Line 26:
|rowspan=
|rowspan=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
! class="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|#F0F0F0}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}};width:{{{width|auto}}}" {{!}} {{{content}}}
! class="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}};width:{{{width|auto}}}" {{!}} {{{content}}}
{{!}}-
{{!}}-
{{{entries|}}}
{{{entries|}}}
Line 32: Line 32:
|colspan=
|colspan=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F0F0F0}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{content}}}
{{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{content}}}
{{!}}-
{{!}}-
}}
}}

Revision as of 09:09, June 2, 2024

This is the infobox builder. See {{armor infobox}} for an example of how to create an infobox with it.