Template:Affiliation infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"") |
m (Text replacement - "colspan="([^"\n]+)" style="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$1" style="$2"") |
||
Line 7: | Line 7: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Government overview}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
Line 64: | Line 64: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section2-title|Societal overview}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{main|}}}| | {{#if:{{{main|}}}| | ||
Line 103: | Line 103: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | {{#if:{{{hidec|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section3-title|Historical overview}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{formed|}}}| | {{#if:{{{formed|}}}| |
Revision as of 17:29, 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=