Template:Infobox: Difference between revisions

No edit summary
m (Text replacement - "F0F0F0" to "F3F3F3")
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
<includeonly>{{#switch:{{{1}}}
|start=
|start=
{{{!}} class="infobox" style="width:{{{width|300px}}}" cellspacing="0"
{{{!}} class="infobox" style="width:{{{width|300px}}};color:{{{color|#fff}}};background:{{{bg|#555}}}" cellspacing="0"
! class="infoboxheading" colspan="2" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|title=
! class="infoboxheading" colspan="{{{colspan|2}}}" style="color:{{{color|inherit}}};background:{{{bg|none}}}" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}}
{{!}}-
{{!}}-
|media=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxmedia" colspan="2" {{!}} {{{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}}}}}
{{!}}-
}}
}}
{{!}}-
|section=
|section=
{{#if:{{{entries|}}}|
{{#if:{{{entries|}}}|
! class="infoboxsubheading" colspan="2" {{!}} {{{title|}}}
! class="infoboxsubheading" colspan="{{{colspan|2}}}" style="color:{{{color|inherit}}};background:{{{bg|none}}}" {{!}} {{{title|}}}
{{!}}-
{{{entries}}}
}}
}}
|entry=
{{#if:{{{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}}}
{{!}}-
{{!}}-
|entry=
}}
|rowspan=
{{#if:{{{content|}}}|
{{#if:{{{content|}}}|
{{!}} class="infoboxlabel" style="width:100px" {{!}}
! class="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}};width:{{{width|auto}}}" {{!}} {{{content}}}
{{{title|}}}:
{{!}}-
{{!}} class="infoboxcell" {{!}}
{{{entries|}}}
{{{content|}}}
}}
}}
|colspan=
{{#if:{{{content|}}}|
{{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{content}}}
{{!}}-
{{!}}-
}}
|end=
|end=
{{!}} class="infoboxfooter" colspan="2" {{!}} &nbsp;
{{!}} class="infoboxfooter" colspan="{{{colspan|2}}}" {{!}} &nbsp;
{{!}}}
{{!}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Infobox builder.
This is the infobox builder. See {{tem|character infobox}} for an example of how to create a new infobox.


[[Category:Infobox templates|*]]</noinclude>
[[Category:Infobox templates|*]]</noinclude>

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.