Template:Title infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "border-bottom: *1px solid {{{lineBG\|([^\n}]+)}}}; border-top: *1px solid {{{lineBG\|[^\n}]+}}}; " to "border-color:{{{lineBG|$1}}}; ")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:270px; color:{{{color1|inherit}}}; background:{{{BG|#3f3f3f}}};"
{{Infobox|start|bg=#3F3F3F}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{Infobox|section|title={{{section1-title|Political information}}}|bg=#9B9B9B|color=#000|entries=
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{government-title|Government}}}|content={{{government|}}}}}
{{Infobox|entry|title={{{memberof-title|Member of}}}|content={{{memberof|}}}}}
{{Infobox|entry|title={{{duties-title|Duties}}}|content={{{duties|}}}}}
{{Infobox|entry|title={{{term-title|Term length}}}|content={{{term|}}}}}
{{Infobox|entry|title={{{style-title|Style of office}}}|content={{{style|}}}}}
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Historical information}}}|bg=#9B9B9B|color=#000|entries=
{{Infobox|entry|title={{{formation-title|Formation}}}|content={{{formation|}}}}}
{{Infobox|entry|title={{{reorganized-title|Reorganized}}}|content={{{reorganized|}}}}}
{{Infobox|entry|title={{{abolished-title|Abolished}}}|content={{{abolished|}}}}}
{{Infobox|entry|title={{{notable-title|Notable individuals}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
}}
}}
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#9b9b9b}}}" {{!}} {{{section1-title|Political information}}}}}
{{!}}-
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{government|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{government-title|Government}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{government|}}}
{{!}}-}}
{{#if:{{{memberof|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{memberof-title|Member of}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{memberof|}}}
{{!}}-}}
{{#if:{{{duties|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{duties-title|Duties}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{duties|}}}
{{!}}-}}
{{#if:{{{term|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{term-title|Term length}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{term|}}}
{{!}}-}}
{{#if:{{{style|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{style-title|Style of office}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{style|}}}
{{!}}-}}
{{#if:{{{headquarters|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{headquarters-title|Headquarters}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{headquarters|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#9b9b9b}}}" {{!}} {{{section2-title|Historical information}}}}}
{{!}}-
{{#if:{{{formation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{formation-title|Formation}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{formation|}}}
{{!}}-}}
{{#if:{{{reorganized|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{reorganized-title|Reorganized}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{reorganized|}}}
{{!}}-}}
{{#if:{{{abolished|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{abolished-title|Abolished}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{abolished|}}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{notable-title|Notable individuals}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{notable|}}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{misc-title|Miscellaneous}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{misc|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" |&nbsp;
|}<noinclude>{{clear}}


==Usage==
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
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 122: 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]]

Latest revision as of 10:10, June 14, 2024

Title infobox
 

Usage instructions

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=