m (Protected "Template:Infobox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only CyberAcme staff] (indefinite))) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}} | <includeonly>{{#switch:{{{1}}} | ||
|start= | |start= | ||
{{{!}} class="infobox" style="width: | {{{!}} class="infobox" style="width:300px;background:#555" cellspacing="0" | ||
! class="infoboxheading" colspan="2" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! class="infoboxheading" colspan="2" style="color:#fff" {{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{media|}}}| | {{#if:{{{media|}}}| | ||
{{!}} class="infoboxmedia" colspan="2" {{!}} {{{media}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | {{!}} class="infoboxmedia" colspan="2" style="background:#F2F3F4" {{!}} {{{media}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
|section= | |section= | ||
{{#if:{{{entries|}}}| | {{#if:{{{entries|}}}| | ||
! class="infoboxsubheading" colspan="2" {{!}} {{{title|}}} | ! class="infoboxsubheading" colspan="2" style="color:#fff" {{!}} {{{title|}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
|entry= | |entry= | ||
{{#if:{{{content|}}}| | {{#if:{{{content|}}}| | ||
{{!}} class="infoboxlabel" style=" | {{!}} class="infoboxlabel" style="background:#F2F3F4" {{!}} | ||
{{{title|}}}: | {{{title|}}}: | ||
{{!}} class="infoboxcell" {{!}} | {{!}} class="infoboxcell" style="background:#F2F3F4" {{!}} | ||
{{{content|}}} | {{{content|}}} | ||
}} | }} |
Revision as of 15:57, August 21, 2023
Infobox builder.