Template:Infobox: Difference between revisions

No edit summary
m (Text replacement - "F0F0F0" to "F3F3F3")
 
(10 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 18: Line 18:
|entry=
|entry=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{{title|}}}:
{{{title|}}}{{{colon|:}}}
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}}
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color2|{{{color|#000}}}}}};background:{{{bg2|{{{bg|#F3F3F3}}}}}};border-color:{{{linebg|#999}}}" {{!}}
{{{content}}}
{{{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|}}}
}}
|colspan=
{{#if:{{{content|}}}|
{{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{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.