Template:Title infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}")
m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}")
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:270px; color:{{{color1|inherit}}}; background:{{{BG|#3f3f3f}}};"
{| class="infobox" cellspacing="0" style="width:270px; color:{{{color1|inherit}}}; background:{{{BG|#3f3f3f}}};"
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{{name|{{PAGENAME}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|

Revision as of 20:10, April 23, 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=