Template:Infobox: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
|start=
|start=
{{{!}} class="infobox" style="width:{{{width|300px}}};color:{{{color|#fff}}};background:{{{bg|#555}}}" cellspacing="0"
{{{!}} class="infobox" style="width:{{{width|300px}}};color:{{{color|#fff}}};background:{{{bg|#555}}}" cellspacing="0"
|title=
! class="infoboxheading" colspan="2" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}}
! class="infoboxheading" colspan="2" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}}
{{!}}-
{{!}}-
{{#if:{{{media|}}}|
|media=
{{!}} class="infoboxmedia" colspan="2" style="color:{{{mediacolor|#000}}};background:{{{mediabg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}} {{{media}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{#if:{{{content|}}}|
{{!}} class="infoboxmedia" colspan="2" style="color:{{{color|#000}}};background:{{{bg|#F2F3F4}}};border-color:{{{linebg|#999}}}" {{!}} {{{content}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
{{!}}-

Revision as of 00:27, August 28, 2023

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