Template:Spartan infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}") |
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}") |
||
Line 13: | Line 13: | ||
{{{fullname-title|Full name}}}: | {{{fullname-title|Full name}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{fullname | {{{fullname}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{homeworld|}}}| | {{#if:{{{homeworld|}}}| | ||
Line 19: | Line 19: | ||
{{{homeworld-title|Birthplace}}}: | {{{homeworld-title|Birthplace}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{homeworld | {{{homeworld}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{birth|}}}| | {{#if:{{{birth|}}}| | ||
Line 25: | Line 25: | ||
{{{birth-title|Date of birth}}}: | {{{birth-title|Date of birth}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{birth | {{{birth}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{death|}}}| | {{#if:{{{death|}}}| | ||
Line 31: | Line 31: | ||
{{{death-title|Date of death}}}: | {{{death-title|Date of death}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{death | {{{death}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
Line 37: | Line 37: | ||
{{{gender-title|Gender}}}: | {{{gender-title|Gender}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{gender | {{{gender}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
Line 43: | Line 43: | ||
{{{height-title|Height}}}: | {{{height-title|Height}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{height | {{{height}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{mass|}}}| | {{#if:{{{mass|}}}| | ||
Line 49: | Line 49: | ||
{{{mass-title|Weight}}}: | {{{mass-title|Weight}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{mass | {{{mass}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hair|}}}| | {{#if:{{{hair|}}}| | ||
Line 55: | Line 55: | ||
{{{hair-title|Hair color}}}: | {{{hair-title|Hair color}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{hair | {{{hair}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{eyes|}}}| | {{#if:{{{eyes|}}}| | ||
Line 61: | Line 61: | ||
{{{eyes-title|Eye color}}}: | {{{eyes-title|Eye color}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{eyes | {{{eyes}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
Line 70: | Line 70: | ||
{{{spartantag-title|Spartan tag}}}: | {{{spartantag-title|Spartan tag}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{spartantag | {{{spartantag}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{branch|}}}| | {{#if:{{{branch|}}}| | ||
Line 76: | Line 76: | ||
{{{branch-title|Branch}}}: | {{{branch-title|Branch}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{branch | {{{branch}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{group|}}}| | {{#if:{{{group|}}}| | ||
Line 82: | Line 82: | ||
{{{group-title|Group}}}: | {{{group-title|Group}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{group | {{{group}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{rank|}}}| | {{#if:{{{rank|}}}| | ||
Line 88: | Line 88: | ||
{{{rank-title|Rank}}}: | {{{rank-title|Rank}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{rank | {{{rank}}} | ||
{{!}}-}} | {{!}}-}} | ||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | |
Revision as of 08:26, October 18, 2022
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=