Template:Organization infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}")
Line 10: Line 10:
}}
}}
|-
|-
{{#if:{{{type|}}}|
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{founder-title|Founder}}}|content={{{founder|}}}}}
{{{type-title|Type}}}:
{{Infobox|entry|title={{{leaders-title|Leaders}}}|content={{{leaders|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type}}}
}}
|-
{{#if:{{{founder|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{founder-title|Founder}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{founder}}}
}}
|-
{{#if:{{{leaders|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{leaders-title|Leaders}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{leaders}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Organizational overview}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Organizational overview}}}
}}
}}
|-
|-
{{#if:{{{affiliation|}}}|
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{partof-title|Part of}}}|content={{{partof|}}}}}
{{{affiliation-title|Affiliation}}}:
{{Infobox|entry|title={{{branches-title|Branches}}}|content={{{branches|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
{{{affiliation}}}
}}
|-
{{#if:{{{partof|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{partof-title|Part of}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{partof}}}
}}
|-
{{#if:{{{branches|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{branches-title|Branches}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{branches}}}
}}
|-
{{#if:{{{headquarters|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{headquarters-title|Headquarters}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{headquarters}}}
}}
|-
{{#if:{{{hidec|}}}||
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Historical overview}}}
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Historical overview}}}
}}
}}
|-
|-
{{#if:{{{formed|}}}|
{{Infobox|entry|title={{{formed-title|Formed}}}|content={{{formed|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
{{{formed-title|Formed}}}:
{{Infobox|entry|title={{{dissolved-title|Dissolved}}}|content={{{dissolved|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{notable-title|Notable events}}}|content={{{notable|}}}}}
{{{formed}}}
}}
|-
{{#if:{{{reorganized|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{reorganized-title|Reorganized}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{reorganized}}}
}}
|-
{{#if:{{{dissolved|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{dissolved-title|Dissolved}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{dissolved}}}
}}
|-
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable-title|Notable events}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable}}}
}}
|-
{{Infobox|end}}<noinclude>__NOTOC__
{{Infobox|end}}<noinclude>__NOTOC__
{{clear}}
{{clear}}

Revision as of 12:20, August 29, 2023

Organization infobox
General overview
Organizational overview
Historical overview
 

Usage

Copy and paste the following into the article and fill in the fields.

{{Organization infobox
|name=
|image=
|type=
|founder=
|leaders=
|affiliation=
|partof=
|branches=
|headquarters=
|formed=
|reorganized=
|dissolved=
|notable=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea
  • hideb
  • hidec
|hidea=
|hideb=
|hidec=