Template:Title infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="[^\n"]+" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}}}")
No edit summary
Line 1: Line 1:
{{Infobox|start|bg=#3f3f3f}}
{{Infobox|start|bg=#3F3F3F}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|title|name={{{name|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#9b9b9b}}}" {{!}} {{{section1-title|Political information}}}
{{Infobox|section|title={{{section1-title|Political information}}}|bg=#9B9B9B|color=#000|entries=
}}
|-
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{government-title|Government}}}|content={{{government|}}}}}
{{Infobox|entry|title={{{government-title|Government}}}|content={{{government|}}}}}
Line 13: Line 11:
{{Infobox|entry|title={{{style-title|Style of office}}}|content={{{style|}}}}}
{{Infobox|entry|title={{{style-title|Style of office}}}|content={{{style|}}}}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#9b9b9b}}}" {{!}} {{{section2-title|Historical information}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Historical information}}}|bg=#9B9B9B|color=#000|entries=
{{Infobox|entry|title={{{formation-title|Formation}}}|content={{{formation|}}}}}
{{Infobox|entry|title={{{formation-title|Formation}}}|content={{{formation|}}}}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
Line 22: Line 19:
{{Infobox|entry|title={{{notable-title|Notable individuals}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{notable-title|Notable individuals}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
}}
{{Infobox|end}}<noinclude>{{clear}}
{{Infobox|end}}<noinclude>{{clear}}
==Usage==
==Usage==
This infobox is for political titles. Copy and paste the following into the article and fill in the fields.
This infobox is for political titles. Copy and paste the following into the article and fill in the fields.
Line 46: Line 44:


==Custom parameters==
==Custom parameters==
<pre>
<pre>
|type-title=
|type-title=
Line 59: Line 56:
|abolished-title=
|abolished-title=
|notable-title=
|notable-title=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
</pre>


==Display parameters==
[[Category:Infobox templates]]</noinclude>
The following allows you to hide the section header
*hidea (hides first section header)
*hideb (hides second section header)
 
<pre>
|hidea=
|hideb=
</pre>
 
[[Category:Infobox templates]]

Revision as of 12:39, August 29, 2023

Title infobox
 

Usage

This infobox is for political titles. Copy and paste the following into the article and fill in the fields.

{{Title infobox
|name=
|image=
|type=
|government=
|memberof=
|duties=
|term=
|style=
|headquarters=
|formation=
|reorganized=
|abolished=
|notable=
}}

Custom parameters

|type-title=
|government-title=
|memberof-title=
|duties-title=
|term-title=
|style-title=
|headquarters-title=
|formation-title=
|reorganized-title=
|abolished-title=
|notable-title=
|section1-title=
|section2-title=