Template:Organization infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "colspan="([^"\n]+)" style="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$1" style="$2"")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(20 intermediate revisions by 2 users not shown)
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=
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{founder-title|Founder}}}|content={{{founder|}}}}}
{{Infobox|entry|title={{{leaders-title|Leaders}}}|content={{{leaders|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Organizational overview}}}|entries=
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{partof-title|Part of}}}|content={{{partof|}}}}}
{{Infobox|entry|title={{{branches-title|Branches}}}|content={{{branches|}}}}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
}}
 
{{Infobox|section|title={{{section3-title|Historical overview}}}|entries=
{{Infobox|entry|title={{{formed-title|Formed}}}|content={{{formed|}}}}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
{{Infobox|entry|title={{{dissolved-title|Dissolved}}}|content={{{dissolved|}}}}}
{{Infobox|entry|title={{{notable-title|Notable events}}}|content={{{notable|}}}}}
}}
}}
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|General overview}}}}}
{{!}}-
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{type-title|Type}}}''':
{{!}} 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|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Organizational overview}}}}}
{{!}}-
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{affiliation-title|Affiliation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{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|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Historical overview}}}}}
{{!}}-
{{#if:{{{formed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{formed-title|Formed}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{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|}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" |  
|}<noinclude>__NOTOC__
{{clear}}


==Usage==
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.
<pre>
<pre>
{{Organization infobox
{{Organization infobox
Line 107: Line 47:
==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following allows you to alter the title of the sub-sections:
<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 11:10, June 14, 2024

Organization infobox
 

Usage instructions

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=