Template:Title infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}")
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}")
Line 13: Line 13:
{{{type-title|Type}}}:
{{{type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type|}}}
{{{type}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{government|}}}|
{{#if:{{{government|}}}|
Line 19: Line 19:
{{{government-title|Government}}}:
{{{government-title|Government}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{government|}}}
{{{government}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{memberof|}}}|
{{#if:{{{memberof|}}}|
Line 25: Line 25:
{{{memberof-title|Member of}}}:
{{{memberof-title|Member of}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{memberof|}}}
{{{memberof}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{duties|}}}|
{{#if:{{{duties|}}}|
Line 31: Line 31:
{{{duties-title|Duties}}}:
{{{duties-title|Duties}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{duties|}}}
{{{duties}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{term|}}}|
{{#if:{{{term|}}}|
Line 37: Line 37:
{{{term-title|Term length}}}:
{{{term-title|Term length}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{term|}}}
{{{term}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{style|}}}|
{{#if:{{{style|}}}|
Line 43: Line 43:
{{{style-title|Style of office}}}:
{{{style-title|Style of office}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{style|}}}
{{{style}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{headquarters|}}}|
{{#if:{{{headquarters|}}}|
Line 49: Line 49:
{{{headquarters-title|Headquarters}}}:
{{{headquarters-title|Headquarters}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{headquarters|}}}
{{{headquarters}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
Line 58: Line 58:
{{{formation-title|Formation}}}:
{{{formation-title|Formation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{formation|}}}
{{{formation}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{reorganized|}}}|
{{#if:{{{reorganized|}}}|
Line 64: Line 64:
{{{reorganized-title|Reorganized}}}:
{{{reorganized-title|Reorganized}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{reorganized|}}}
{{{reorganized}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{abolished|}}}|
{{#if:{{{abolished|}}}|
Line 70: Line 70:
{{{abolished-title|Abolished}}}:
{{{abolished-title|Abolished}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{abolished|}}}
{{{abolished}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
Line 76: Line 76:
{{{notable-title|Notable individuals}}}:
{{{notable-title|Notable individuals}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable|}}}
{{{notable}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{#if:{{{misc|}}}|
Line 82: Line 82:
{{{misc-title|Miscellaneous}}}:
{{{misc-title|Miscellaneous}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc|}}}
{{{misc}}}
{{!}}-}}
{{!}}-}}
{{!}}-}}
{{!}}-}}

Revision as of 08:31, October 18, 2022

Title infobox
Political information
Historical information
 

Usage

This infobox is for political titles. Copy and paste the following into the article and fill in the fields.

{{Title infobox
|name=
|image=
|type=
|government=
|memberof=
|duties=
|term=
|style=
|headquarters=
|formation=
|reorganized=
|abolished=
|notable=
}}

Custom parameters

|type-title=
|government-title=
|memberof-title=
|duties-title=
|term-title=
|style-title=
|headquarters-title=
|formation-title=
|reorganized-title=
|abolished-title=
|notable-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea (hides first section header)
  • hideb (hides second section header)
|hidea=
|hideb=