Template:Title 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}}") |
m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="[^\n"]*background:{{{imageBG\|#(F0F0F0|f0f0f0)}}}[^\n"]+" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}") |
||
Line 2: | Line 2: | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
|- | |- | ||
{{ | {{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}} | ||
{{#if:{{{hidea|}}}|| | {{#if:{{{hidea|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#9b9b9b}}}" {{!}} {{{section1-title|Political information}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#9b9b9b}}}" {{!}} {{{section1-title|Political information}}} |
Revision as of 12:31, August 29, 2023
Title infobox | |
---|---|
Political information | |
Historical information | |
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= |imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |section1-title= |section2-title=
Display parameters
The following allows you to hide the section header
- hidea (hides first section header)
- hideb (hides second section header)
|hidea= |hideb=