|
|
(21 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {| class="infobox" style="width:300px; background:{{{BG|#406B2E}}}; color:{{{color1|inherit}}}" cellspacing="0" | | {{Infobox|start|bg=#406B2E}} |
| ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| | {{Infobox|title|name={{{name|}}}}} |
| {{!}}- | | {{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}} |
| {{#if:{{{image|}}}| | | |
| {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | | {{Infobox|section|title={{{section1-title|Biographical information}}}|bg=#8DB87A|color=#000|entries= |
| | {{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}}} |
| | {{Infobox|entry|title={{{homeworld-title|Birthplace}}}|content={{{homeworld|}}}}} |
| | {{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|}}}}} |
| }} | | }} |
| {{!}}-
| | |
| {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | | {{Infobox|section|title={{{section2-title|Political and military information}}}|bg=#8DB87A|color=#000|entries= |
| ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8DB87A}}}" {{!}} {{{section1-title|Biographical information}}}}}
| | {{Infobox|entry|title={{{spartantag-title|Spartan tag}}}|content={{{spartantag|}}}}} |
| {{!}}-
| | {{Infobox|entry|title={{{branch-title|Branch}}}|content={{{branch|}}}}} |
| {{#if:{{{fullname|}}}|
| | {{Infobox|entry|title={{{group-title|Group}}}|content={{{group|}}}}} |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
| | {{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}}} |
| '''{{{fullname-title|Full name}}}''':
| | }} |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| | |
| {{{fullname|}}}
| | {{Infobox|end}}<noinclude>{{clear}} |
| {{!}}-}}
| | ==Usage instructions== |
| {{#if:{{{homeworld|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{homeworld-title|Birthplace}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{homeworld|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{birth|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{birth-title|Date of birth}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{birth|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{death|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{death-title|Date of death}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{death|}}} | |
| {{!}}-}}
| |
| {{#if:{{{gender|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{gender-title|Gender}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{gender|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{height|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{height-title|Height}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{height|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{mass|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{mass-title|Weight}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{mass|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{hair|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{hair-title|Hair color}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{hair|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{eyes|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{eyes-title|Eye color}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{eyes|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{hideb|}}}|{{!}}-|{{!}}-
| |
| ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8DB87A}}}" {{!}} {{{section2-title|Political and military information}}}}}
| |
| {{!}}-
| |
| {{#if:{{{spartantag|}}}|
| |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{spartantag-title|Spartan tag}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{spartantag|}}} | |
| {{!}}-}}
| |
| {{#if:{{{branch|}}}| | |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{branch-title|Branch}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{branch|}}} | |
| {{!}}-}}
| |
| {{#if:{{{group|}}}| | |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{group-title|Group}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{group|}}} | |
| {{!}}-}}
| |
| {{#if:{{{rank|}}}| | |
| {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| '''{{{rank-title|Rank}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
| |
| {{{rank|}}} | |
| {{!}}-}}
| |
| | class="infoboxfooter" colspan="2" |
| |
| |}<noinclude>{{clear}}
| |
| ==Usage== | |
| Copy and paste the following into the article and fill in the fields. | | Copy and paste the following into the article and fill in the fields. |
| | |
| <pre> | | <pre> |
| {{Spartan infobox | | {{Spartan infobox |
Line 116: |
Line 48: |
| ==Custom parameters== | | ==Custom parameters== |
| The following allows you to alter the title of the sub-sections: | | The following allows you to alter the title of the sub-sections: |
| | |
| <pre> | | <pre> |
| |BG=
| |
| |imageBG=
| |
| |nameBG=
| |
| |sectionBG=
| |
| |fieldBG=
| |
| |titleBG=
| |
| |color1=
| |
| |color2=
| |
| |section1-title= | | |section1-title= |
| |section2-title= | | |section2-title= |
| </pre>
| |
|
| |
| ==Display parameters==
| |
| The following allows you to hide the section header
| |
| *hidea (hides Bio section header)
| |
| *hideb (hides Politic/Military section header)
| |
|
| |
| <pre>
| |
| |hidea=
| |
| |hideb=
| |
| </pre> | | </pre> |
|
| |
|
| [[Category:Infobox templates]]</noinclude> | | [[Category:Infobox templates]]</noinclude> |