Template:Title infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "text-align: *center; " to "")
m (Text replacement - "#999999" to "#999")
Line 3: Line 3:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
}}
}}
{{!}}-
{{!}}-
Line 10: Line 10:
{{!}}-
{{!}}-
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{type-title|Type}}}''':
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type|}}}
{{{type|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{government|}}}|
{{#if:{{{government|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{government-title|Government}}}''':
'''{{{government-title|Government}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{government|}}}
{{{government|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{memberof|}}}|
{{#if:{{{memberof|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{memberof-title|Member of}}}''':
'''{{{memberof-title|Member of}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{memberof|}}}
{{{memberof|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{duties|}}}|
{{#if:{{{duties|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{duties-title|Duties}}}''':
'''{{{duties-title|Duties}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{duties|}}}
{{{duties|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{term|}}}|
{{#if:{{{term|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{term-title|Term length}}}''':
'''{{{term-title|Term length}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{term|}}}
{{{term|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{style|}}}|
{{#if:{{{style|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{style-title|Style of office}}}''':
'''{{{style-title|Style of office}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{style|}}}
{{{style|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{headquarters|}}}|
{{#if:{{{headquarters|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{headquarters-title|Headquarters}}}''':
'''{{{headquarters-title|Headquarters}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{headquarters|}}}
{{{headquarters|}}}
{{!}}-}}
{{!}}-}}
Line 55: Line 55:
{{!}}-
{{!}}-
{{#if:{{{formation|}}}|
{{#if:{{{formation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{formation-title|Formation}}}''':
'''{{{formation-title|Formation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{formation|}}}
{{{formation|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{reorganized|}}}|
{{#if:{{{reorganized|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{reorganized-title|Reorganized}}}''':
'''{{{reorganized-title|Reorganized}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{reorganized|}}}
{{{reorganized|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{abolished|}}}|
{{#if:{{{abolished|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{abolished-title|Abolished}}}''':
'''{{{abolished-title|Abolished}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{abolished|}}}
{{{abolished|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{notable-title|Notable individuals}}}''':
'''{{{notable-title|Notable individuals}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable|}}}
{{{notable|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{misc-title|Miscellaneous}}}''':
'''{{{misc-title|Miscellaneous}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc|}}}
{{{misc|}}}
{{!}}-}}
{{!}}-}}

Revision as of 10:09, September 15, 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=