Template:Affiliation infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - ":'''" to "''':")
m (Text replacement - "infoboximage" to "infoboxmedia")
Line 4: Line 4:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" class="infoboximage" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
{{!}}-

Revision as of 15:50, 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=