Template:Affiliation infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{!}}- {{#if:{{{image|}}}|" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}|")
m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}- {{#if:{{{" to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- {{#if:{{{")
Line 5: Line 5:
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Government overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Government overview}}}}}

Revision as of 12:02, October 6, 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=