Template:Affiliation infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "line-height:10px"" to "line-height:8px"")
m (Text replacement - "font-size:90%; " to "")
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Government overview}}}}}
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Government overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
Line 65: Line 65:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section2-title|Societal overview}}}}}
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section2-title|Societal overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{main|}}}|
{{#if:{{{main|}}}|
Line 104: Line 104:
{{!}}-}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section3-title|Historical overview}}}}}
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section3-title|Historical overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{formed|}}}|
{{#if:{{{formed|}}}|

Revision as of 11:02, September 15, 2022

Affiliation infobox
Government overview
Societal overview
Historical overview
 

About

  • User-friendly in terms of basic appearance modification.

Usage

Paste the following code into the top of an article, filling all known fields:

{{Affiliation infobox
|name=
|image=
|type=
|founder=
|documents=
|head=
|executive=
|legislative=
|judicial=
|branch=
|main=
|anthem=
|language=
|script=
|religion=
|techlevel=
|notable=
|formed=
|reorganized=
|fragmented=
|amalgamated=
|dissolved=
|affiliation=
}}

Custom parameters

The following are custom parameters that allows you to alter the content in the box.

|type-title=
|founder-title=
|documents-title=
|head-title=
|executive-title=
|legislative-title=
|judicial-title=
|branch-title=
|main-title=
|anthem-title=
|language-title=
|script-title=
|religion-title=
|techlevel-title=
|notable-title=
|formed-title=
|dissolved-title=
|affiliation-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=
|section3-title=

Display parameters

The following allows you to hide the section header

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