Template:Species: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
No edit summary
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{| width="250" align="right" cellpadding="3" cellspacing="0" style="float:right; clear:right; border: 2px #333333 solid; background: #000000; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #ffffff;"
<tr><td colspan="2"><div id="infoboxinternal">
|-
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{#if: {{{image|}}}|
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:gray;">{{{image|}}}</td></tr>
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #222222; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:gray; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Designation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{designation|}}}
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#233926; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
</td></tr>|1{{{designation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Planet of origin</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{planet|}}}
{{#if: {{{designation|}}}|
</td></tr>|1{{{planet|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height of average adult</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Designation:
{{{height|}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Average&nbsp;length</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{designation}}}}}
{{{length|}}}
|-
</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Average&nbsp;wingspan</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{planet|}}}|
{{{wingspan|}}}
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Planet of origin:
</td></tr>|1{{{wingspan|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Skin&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{skincolor|}}}
{{{planet}}}}}
</td></tr>|1{{{skincolor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{haircolor|}}}
{{#if: {{{language|}}}|
</td></tr>|1{{{haircolor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Feather&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Language:
{{{feathers|}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
</td></tr>|1{{{feathers|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Distinctions</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{language}}}}}
{{{distinctions|}}}
|-
</td></tr>|1{{{distinctions|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Species|[Source]]]</td></tr></table><noinclude>
{{#if: {{{height|}}}|
{{clear}}
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Average height:
===Usage Instructions:===
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
''For sentient species, use [[Template:Sentient]] instead.''
{{{height}}}}}
 
|-
Use this template by pasting the following code into the top of the article, filling all relevant fields:
{{#if: {{{length|}}}|
<pre><nowiki>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Average length:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{length}}}}}
|-
{{#if: {{{wingspan|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Average wingspan:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{wingspan}}}}}
|-
{{#if: {{{skincolor|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Skin Color:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{skincolor}}}}}
|-
{{#if: {{{haircolor|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Hair Color:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{haircolor}}}}}
|-
{{#if: {{{feathers|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Feather color:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{feathers}}}}}
|-
{{#if: {{{distinctions|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Distinctions:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{distinctions}}}}}
|-
{{#if: {{{lifespan|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Average lifespan:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{lifespan}}}}}
|-
{{#if: {{{races|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Races:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{races}}}}}
|-
{{#if: {{{members|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Famous members:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{members}}}}}
|-
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#233926; text-align:center; border-top: 1px solid #111111;" | [[Template:Species|[ Source ]]]
|}
<noinclude>{{clear}}
To use: Paste the following text into the desired character article, and fill in the appropriate fields. Used for all species (Sentient, non-sentient, and creatures). Simply leave uneeded fields blank.
<pre>
{{species
{{species
|image=
|image=
Line 33: Line 81:
|designation=
|designation=
|planet=
|planet=
|language=
|height=
|height=
|length=
|length=
Line 40: Line 89:
|feathers=
|feathers=
|distinctions=
|distinctions=
|lifespan=
|races=
|members=
}}
}}
</nowiki></pre>
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
===Source:===
<nowiki>{{subst:slh|gray|250px}} {{subst:sld|Designation|designation}} {{subst:sld|Planet of origin|planet}} {{subst:sld|Height of average adult|height}} {{subst:sld|Average&nbsp;length|length}} {{subst:sld|Average&nbsp;wingspan|wingspan}} {{subst:sld|Skin&nbsp;color|skincolor}} {{subst:sld|Hair&nbsp;color|haircolor}} {{subst:sld|Feather&nbsp;color|feathers}} {{subst:sld|Distinctions|distinctions}}  {{subst:slf}}</nowiki>
 
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>

Revision as of 16:04, 10 June 2009

{{{name}}}
[ Source ]

To use: Paste the following text into the desired character article, and fill in the appropriate fields. Used for all species (Sentient, non-sentient, and creatures). Simply leave uneeded fields blank.

{{species
|image=
|name=
|designation=
|planet=
|language=
|height=
|length=
|wingspan=
|skincolor=
|haircolor=
|feathers=
|distinctions=
|lifespan=
|races=
|members=
}}