Template:Spartan infobox: Difference between revisions
From Halopedia, the Halo wiki
m (→Usage) |
m (Reverted edits by Captain Nexue (Talk); changed back to last version by Stigma-231) |
||
Line 48: | Line 48: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
==Usage== | |||
Copy and paste the following into the article and fill in the fields. | |||
<pre> | |||
{{SPARTAN Infobox | |||
|name= | |||
|image= | |||
|spartantag= | |||
|homeworld= | |||
|birth= | |||
|death= | |||
|species= | |||
|gender= | |||
|height= | |||
|hair= | |||
|eyes= | |||
|cyber= | |||
|affiliation= | |||
|rank= | |||
|specialty= | |||
|battles= | |||
|class= | |||
}} | |||
</pre> | |||
All fields are optional. | |||
==Source== | |||
<pre> | |||
{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;" | |||
| | |- | ||
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}} | |||
| | |- | ||
|colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#406B2E; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''' | |||
| | |- | ||
| colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Biographical information''' | |||
| | |- | ||
{{#if:{{{spartantag|}}}| | |||
| | ! width="32%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Spartan Tag | ||
! width="68%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{spartantag}}} | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{homeworld|}}}|{{!}}{{!}}Homeworld{{!}}{{!}}{{{homeworld}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{birth|}}}|{{!}}{{!}}Birth date{{!}}{{!}}{{{birth}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{death|}}}|{{!}}{{!}}Death date{{!}}{{!}}{{{death}}}}} | |||
|- | |||
| colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Physical description''' | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{species|}}}|{{!}}{{!}}Species{{!}}{{!}}{{{species}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}{{{gender}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{height|}}}|{{!}}{{!}}Height{{!}}{{!}}{{{height}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{hair|}}}|{{!}}{{!}}Hair color{{!}}{{!}}{{{hair}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{eyes|}}}|{{!}}{{!}}Eye color{{!}}{{!}}{{{eyes}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{cyber|}}}|{{!}}{{!}}Cybernetics{{!}}{{!}}{{{cyber}}}}} | |||
|- | |||
| colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Affiliation and military information''' | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{affiliation|}}}|{{!}}{{!}}Affiliation{{!}}{{!}}{{{affiliation}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{rank|}}}|{{!}}{{!}}Rank{{!}}{{!}}{{{rank}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{specialty|}}}|{{!}}{{!}}Specialty{{!}}{{!}}{{{specialty}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{battles|}}}|{{!}}{{!}}Battles{{!}}{{!}}{{{battles}}}}} | |||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |||
{{#if:{{{class|}}}|{{!}}{{!}}Class{{!}}{{!}}{{{class}}}}} | |||
|- | |||
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:SPARTAN Infobox|[Source]]] | |||
|} | |||
</pre> | |||
[[Category:Character infoboxes|SPARTAN Infobox]] | |||
[[Category:Templates|{{PAGENAME}}]] | |||
</noinclude> |
Revision as of 04:33, June 25, 2008
Usage
Copy and paste the following into the article and fill in the fields.
{{SPARTAN Infobox |name= |image= |spartantag= |homeworld= |birth= |death= |species= |gender= |height= |hair= |eyes= |cyber= |affiliation= |rank= |specialty= |battles= |class= }}
All fields are optional.
Source
{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;" |- |colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}} |- |colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#406B2E; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''' |- | colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Biographical information''' |- {{#if:{{{spartantag|}}}| ! width="32%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Spartan Tag ! width="68%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{spartantag}}} }} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{homeworld|}}}|{{!}}{{!}}Homeworld{{!}}{{!}}{{{homeworld}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{birth|}}}|{{!}}{{!}}Birth date{{!}}{{!}}{{{birth}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{death|}}}|{{!}}{{!}}Death date{{!}}{{!}}{{{death}}}}} |- | colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Physical description''' |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{species|}}}|{{!}}{{!}}Species{{!}}{{!}}{{{species}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}{{{gender}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{height|}}}|{{!}}{{!}}Height{{!}}{{!}}{{{height}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{hair|}}}|{{!}}{{!}}Hair color{{!}}{{!}}{{{hair}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{eyes|}}}|{{!}}{{!}}Eye color{{!}}{{!}}{{{eyes}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{cyber|}}}|{{!}}{{!}}Cybernetics{{!}}{{!}}{{{cyber}}}}} |- | colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Affiliation and military information''' |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{affiliation|}}}|{{!}}{{!}}Affiliation{{!}}{{!}}{{{affiliation}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{rank|}}}|{{!}}{{!}}Rank{{!}}{{!}}{{{rank}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{specialty|}}}|{{!}}{{!}}Specialty{{!}}{{!}}{{{specialty}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{battles|}}}|{{!}}{{!}}Battles{{!}}{{!}}{{{battles}}}}} |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{#if:{{{class|}}}|{{!}}{{!}}Class{{!}}{{!}}{{{class}}}}} |- | colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:SPARTAN Infobox|[Source]]] |}