Template:Infobox: Difference between revisions

No edit summary
No edit summary
Line 16: Line 16:
{{{entries}}}
{{{entries}}}
}}
}}
|span=
|entry=
{{#if:{{{content|}}}|
{{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}}
{{{title|}}}:
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}}
{{{content}}}
{{!}}-
}}
|rowspan=
{{#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="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}} {{{content}}}
Line 22: Line 30:
{{{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|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}} {{{content}}}
{{{title|}}}:
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}}
{{{content}}}
{{!}}-
{{!}}-
}}
}}

Revision as of 18:04, August 28, 2023

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