Template:Spartan infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "\| class="infoboxfooter" colspan="2" \| ↵\|}" to "{{Infobox|end}}") |
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}") |
||
Line 10: | Line 10: | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}}} | ||
{{Infobox|entry|title={{{homeworld-title|Birthplace}}}|content={{{homeworld|}}}}} | |||
{{{fullname-title|Full name}}} | {{Infobox|entry|title={{{birth-title|Date of birth}}}|content={{{birth|}}}}} | ||
{{Infobox|entry|title={{{death-title|Date of death}}}|content={{{death|}}}}} | |||
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}} | |||
}} | {{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}} | ||
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}}} | |||
{{ | {{Infobox|entry|title={{{hair-title|Hair color}}}|content={{{hair|}}}}} | ||
{{Infobox|entry|title={{{eyes-title|Eye color}}}|content={{{eyes|}}}}} | |||
{{{homeworld-title|Birthplace}}} | |||
{{ | |||
{{{birth-title|Date of birth}}} | |||
{{ | |||
| | |||
{{{death-title|Date of death}}} | |||
}} | |||
{{{gender-title|Gender}}} | |||
{{ | |||
| | |||
{{{height-title|Height}}} | |||
} | |||
{{ | |||
{{{mass-title|Weight}}} | |||
{{ | |||
| | |||
{{{hair-title|Hair color}}} | |||
{{ | |||
| | |||
{{{eyes-title|Eye color}}} | |||
{{#if:{{{hideb|}}}|| | {{#if:{{{hideb|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8DB87A}}}" {{!}} {{{section2-title|Political and military information}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8DB87A}}}" {{!}} {{{section2-title|Political and military information}}} | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{spartantag-title|Spartan tag}}}|content={{{spartantag|}}}}} | ||
{{Infobox|entry|title={{{branch-title|Branch}}}|content={{{branch|}}}}} | |||
{{{spartantag-title|Spartan tag}}} | {{Infobox|entry|title={{{group-title|Group}}}|content={{{group|}}}}} | ||
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}}} | |||
{{ | |||
{{{branch-title|Branch}}} | |||
{{ | |||
{{{group-title|Group}}} | |||
{{ | |||
{{{rank-title|Rank}}} | |||
{{Infobox|end}}<noinclude>{{clear}} | {{Infobox|end}}<noinclude>{{clear}} | ||
==Usage== | ==Usage== |
Revision as of 12:30, August 29, 2023
Spartan infobox | |
---|---|
Biographical information | |
Political and military information | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Spartan infobox |name= |image= |fullname= |homeworld= |birth= |death= |gender= |height= |mass= |hair= |eyes= |spartantag= |branch= |group= |rank= }}
Custom parameters
The following allows you to alter the title of the sub-sections:
|BG= |imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |section1-title= |section2-title=
Display parameters
The following allows you to hide the section header
- hidea (hides Bio section header)
- hideb (hides Politic/Military section header)
|hidea= |hideb=