Template:Affiliation infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}- {{#if:{{{" to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- {{#if:{{{") |
m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}") |
||
Line 3: | Line 3: | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border- | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |- |
Revision as of 13:54, 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=