Template:Infobox: Difference between revisions
From Destinypedia, the Destiny wiki
(Created page with "<includeonly>{{#switch:{{{1}}} |start= {{{!}} class="infobox" style="width:{{{width|300px}}};color:{{{color|#fff}}};background:{{{bg|#555}}}" cellspacing="0" |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|#F2F3F4}}};...") |
m (Text replacement - "F0F0F0" to "F3F3F3") |
||
(7 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|# | {{!}} 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|# | {{!}} class="infoboxlabel" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};width:{{{width|auto}}}" {{!}} | ||
{{{title|}}}{{{colon|:}}} | {{{title|}}}{{{colon|:}}} | ||
{{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color2|{{{color|#000}}}}}};background:{{{bg2|{{{bg|# | {{!}} class="infoboxcell" colspan="{{{colspan|1}}}" style="color:{{{color2|{{{color|#000}}}}}};background:{{{bg2|{{{bg|#F3F3F3}}}}}};border-color:{{{linebg|#999}}}" {{!}} | ||
{{{content}}} | {{{content}}} | ||
{{!}}- | {{!}}- | ||
Line 26: | Line 26: | ||
|rowspan= | |rowspan= | ||
{{#if:{{{content|}}}| | {{#if:{{{content|}}}| | ||
! class="infoboxspan" rowspan="{{{rowspan|3}}}" style="color:{{{color|#000}}};background:{{{bg|# | ! 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|}}} | ||
Line 32: | Line 32: | ||
|colspan= | |colspan= | ||
{{#if:{{{content|}}}| | {{#if:{{{content|}}}| | ||
{{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|# | {{!}} class="infoboxspan" colspan="{{{colspan|2}}}" style="color:{{{color|#000}}};background:{{{bg|#F3F3F3}}};border-color:{{{linebg|#999}}};text-align:{{{align|left}}}" {{!}} {{{content}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 39: | Line 39: | ||
{{!}}} | {{!}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
This is the infobox builder. See {{tem| | This is the infobox builder. See {{tem|armor 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:38, June 2, 2024
This is the infobox builder. See {{armor infobox}} for an example of how to create an infobox with it.