Template:Infobox: Difference between revisions

No edit summary
m (Text replacement - "F0F0F0" to "F3F3F3")
 
(8 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|media=
|media=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxmedia" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}} {{{content}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}}" {{!}} {{{content}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}}-
{{!}}-
}}
}}
Line 16: Line 16:
{{{entries}}}
{{{entries}}}
}}
}}
|span=
|entry=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
! class="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}} {{{content}}}
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{{title|}}}{{{colon|:}}}
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color2|{{{color|#000}}}}}};background:{{{bg2|{{{bg|#F3F3F3}}}}}};border-color:{{{linebg|#999}}}" {{!}}
{{{content}}}
{{!}}-
}}
|rowspan=
{{#if:{{{content|}}}|
! class="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}};width:{{{width|auto}}}" {{!}} {{{content}}}
{{!}}-
{{!}}-
{{{entries|}}}
{{{entries|}}}
}}
}}
|entry=
|colspan=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{content}}}
{{{title|}}}:
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}}
{{{content}}}
{{!}}-
{{!}}-
}}
}}

Latest revision as of 09:39, June 2, 2024

This is the infobox builder. See {{character infobox}} for an example of how to create a new infobox.