Template:Droid: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (changing colours to at least make it readable, probably still needs work though)
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="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:#505050;">{{{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:#505050; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#466c77;">'''Production information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{homeworld|}}}
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#25767E; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
</td></tr>|1{{{homeworld|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;created</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{birth|}}}
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#236066; text-align:center; font-size:8pt;" | '''Production information'''
</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;destroyed</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{death|}}}
{{#if: {{{homeworld|}}}|
</td></tr>|1{{{death|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Creator</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;"}}} {{!}} Homeworld:
{{{creator|}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
</td></tr>|1{{{creator|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Manufacturer</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{homeworld}}}}}
{{{manufacturer|}}}
|-
</td></tr>|1{{{manufacturer|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Product&nbsp;line</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{brith|}}}|
{{{line|}}}
{{!}} 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;"}}} {{!}} Date Activated:
</td></tr>|1{{{line|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Model</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;"}}} {{!}}
{{{model|}}}
{{{birth}}}}}
</td></tr>|1{{{model|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Class</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{class|}}}
{{#if: {{{death|}}}|
</td></tr>|1{{{class|}}}=}} {{t|1=|1{{{hidet|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#466c77;">'''Technical specifications'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Length</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;"}}} {{!}} Date Destroyed:
{{{length|}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Width</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{death}}}}}
{{{width|}}}
|-
</td></tr>|1{{{width|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{creator|}}}|
{{{height|}}}
{{!}} 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;"}}} {{!}} Creator:
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender</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;"}}} {{!}}
{{{gender|}}}
{{{creator}}}}}
</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Sensor&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{sensor|}}}
{{#if: {{{manufacturer|}}}|
</td></tr>|1{{{sensor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Armament</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;"}}} {{!}} Manufacturer:
{{{armament|}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
</td></tr>|1{{{armament|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Equipment</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{manufacturer}}}}}
{{{equipment|}}}
|-
</td></tr>|1{{{equipment|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#466c77;">'''Chronological and political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{line|}}}|
{{{era|}}}
{{!}} 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;"}}} {{!}} Product line:
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#222222}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</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;"}}} {{!}}
{{{affiliation|}}}
{{{line}}}}}
</td></tr>|1{{{affiliation|}}}=}} </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:Droid infobox|[Source]]]</td></tr></table><noinclude>
|-
===Usage===
{{#if: {{{model|}}}|
Copy and paste the following code to use the template.
{{!}} 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;"}}} {{!}} Model:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{model}}}}}
|-
{{#if: {{{class|}}}|
{{!}} 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;"}}} {{!}} Class:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{class}}}}}
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#236066; text-align:center; font-size:8pt;" | '''Technical specifications'''
|-
{{#if: {{{length|}}}|
{{!}} 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;"}}} {{!}} Length:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{{length}}}}}
|-
{{#if: {{{width|}}}|
{{!}} 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;"}}} {{!}} Beam:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{width}}}}}
|-
{{#if: {{{height|}}}|
{{!}} 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;"}}} {{!}} Height:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{height}}}}}
|-
{{#if: {{{gender|}}}|
{{!}} 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;"}}} {{!}} Gender:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{gender}}}}}
|-
{{#if: {{{sensor|}}}|
{{!}} 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;"}}} {{!}} Sensor color:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{sensor}}}}}
|-
{{#if: {{{armament|}}}|
{{!}} 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;"}}} {{!}} Armament:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{armament}}}}}
|-
{{#if: {{{equipment|}}}|
{{!}} 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;"}}} {{!}} Equipment:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{equipment}}}}}
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#236066; text-align:center; font-size:8pt;" | '''Chronological and political information'''
|-
{{#if: {{{era|}}}|
{{!}} 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;"}}} {{!}} Era(s):
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{era}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} 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;"}}} {{!}} Affiliation:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}
{{{affiliation}}}}}
|-
|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:#345e6f; text-align:center; border-top: 1px solid #111111;" | {{Link color|Template:Droid|#59b7d7|[ Source ]}}
|}
<noinclude>__NOTOC__
{{clear}}
==Instructions==
Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.


<nowiki>{{Droid infobox
<pre><nowiki>{{Droid
| image =  
| image =  
| name =  
| name =  
Line 61: Line 124:
| era =  
| era =  
| affiliation =  
| affiliation =  
}}</nowiki>
}}
 
</nowiki></pre>
===Display parameters===
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
*hidep
*hidet
*hidec
 
===Source===
 
<nowiki>{{subst:slh|#B5B5B5|250px}} {{subst:sls|Production information|#bdb|hidep}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date&nbsp;created|birth}} {{subst:sld|Date&nbsp;destroyed|death}} {{subst:sld|Creator|creator}} {{subst:sld|Manufacturer|manufacturer}} {{subst:sld|Product&nbsp;line|line}} {{subst:sld|Model|model}} {{subst:sld|Class|class}} {{subst:sls|Technical specifications|#bdb|hidet}} {{subst:sld|Length|length}} {{subst:sld|Width|width}} {{subst:sld|Height|height}} {{subst:sld|Gender|gender}} {{subst:sld|Sensor&nbsp;color|sensor}} {{subst:sld|Armament|armament}} {{subst:sld|Equipment|equipment}} {{subst:sls|Chronological and political information|#bdb|hidec}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}</nowiki>
 
[[Category:Infobox templates|Droid infobox]]
</noinclude>

Revision as of 22:20, 7 November 2009

{{{name}}}
Production information
Technical specifications
Chronological and political information
[ Source ]


Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

{{Droid
| image = 
| name = 
| homeworld = 
| birth = 
| death = 
| creator = 
| manufacturer = 
| line = 
| model = 
| class = 
| length = 
| width = 
| height = 
| gender = 
| sensor = 
| armament = 
| equipment = 
| era = 
| affiliation = 
}}