Template:Organization infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}")
No edit summary
 
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#5D8AA8}}}; color:{{{color|inherit}}}" cellspacing="0"
{{Infobox|start|bg=#5D8AA8}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#B2C7D1}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#B2C7D1}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|General overview}}}|entries=
}}
|-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|General overview}}}
}}
|-
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{founder-title|Founder}}}|content={{{founder|}}}}}
{{Infobox|entry|title={{{founder-title|Founder}}}|content={{{founder|}}}}}
{{Infobox|entry|title={{{leaders-title|Leaders}}}|content={{{leaders|}}}}}
{{Infobox|entry|title={{{leaders-title|Leaders}}}|content={{{leaders|}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Organizational overview}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Organizational overview}}}|entries=
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{partof-title|Part of}}}|content={{{partof|}}}}}
{{Infobox|entry|title={{{partof-title|Part of}}}|content={{{partof|}}}}}
{{Infobox|entry|title={{{branches-title|Branches}}}|content={{{branches|}}}}}
{{Infobox|entry|title={{{branches-title|Branches}}}|content={{{branches|}}}}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Historical overview}}}
}}
}}
|-
 
{{Infobox|section|title={{{section3-title|Historical overview}}}|entries=
{{Infobox|entry|title={{{formed-title|Formed}}}|content={{{formed|}}}}}
{{Infobox|entry|title={{{formed-title|Formed}}}|content={{{formed|}}}}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
{{Infobox|entry|title={{{dissolved-title|Dissolved}}}|content={{{dissolved|}}}}}
{{Infobox|entry|title={{{dissolved-title|Dissolved}}}|content={{{dissolved|}}}}}
{{Infobox|entry|title={{{notable-title|Notable events}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{notable-title|Notable events}}}|content={{{notable|}}}}}
{{Infobox|end}}<noinclude>__NOTOC__
}}
{{clear}}
 
{{Infobox|end}}<noinclude>{{clear}}


==Usage==
==Usage==
Line 57: Line 50:


<pre>
<pre>
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea
*hideb
*hidec
<pre>
|hidea=
|hideb=
|hidec=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 13:22, August 29, 2023

Organization infobox
 

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:

|section1-title=
|section2-title=