Template:Infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
m (Text replacement - "F0F0F0" to "F3F3F3") |
||
(18 intermediate revisions by 2 users not shown) | |||
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" | ||
! class="infoboxheading" colspan="2" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}} | |title= | ||
! class="infoboxheading" colspan="{{{colspan|2}}}" style="color:{{{color|inherit}}};background:{{{bg|none}}}" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}} | |||
{{!}}- | |||
|media= | |||
{{#if:{{{content|}}}| | |||
{{!}} 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}}} | |||
{{!}}- | |||
}} | |||
|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|}}} | ||
}} | }} | ||
| | |colspan= | ||
{{#if:{{{content|}}}| | {{#if:{{{content|}}}| | ||
{{!}} class=" | {{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{content}}} | ||
{{{content | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
|end= | |end= | ||
{{!}} class="infoboxfooter" colspan="2" {{!}} | {{!}} class="infoboxfooter" colspan="{{{colspan|2}}}" {{!}} | ||
{{!}}} | {{!}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
This is | This is the infobox builder. See {{tem|affiliation infobox}} for an example of how to create an infobox with it. | ||
[[Category:Parent templates]]</noinclude> | [[Category:Parent templates]]</noinclude> |
Latest revision as of 09:37, June 2, 2024
This is the infobox builder. See {{affiliation infobox}} for an example of how to create an infobox with it.