Template:Droid: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
No edit summary
 
(11 intermediate revisions by 5 users not shown)
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;">
{| class="infoboxtemp"  width="250" align="right" cellpadding="3" cellspacing="0"
<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:#B5B5B5;">{{{image|}}}</td></tr>
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:#B5B5B5; 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:#bdb;">'''Production information'''</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;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{homeworld|}}}
| colspan="2" class="name droid" | '''{{{name}}}'''
</td></tr>|1{{{homeworld|}}}=}} {{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;">Date&nbsp;created</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{birth|}}}
| colspan="2" class="header droid" | '''Production information'''
</td></tr>|1{{{birth|}}}=}} {{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;">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|#f0f0f0}}}"><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;">
{{!}} class="infoboxinfoheader" {{!}} Homeworld:
{{{creator|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{creator|}}}=}} {{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;">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|#f0f0f0}}}"><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: {{{birth|}}}|
{{{line|}}}
{{!}} class="infoboxinfoheader" {{!}} Date Activated:
</td></tr>|1{{{line|}}}=}} {{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;">Model</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}
{{{model|}}}
{{{birth}}}}}
</td></tr>|1{{{model|}}}=}} {{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;">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:#bdb;">'''Technical specifications'''</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;">Length</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Date Destroyed:
{{{length|}}}
{{!}} class="infoboxinfodata" {{!}}
</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;">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|#f0f0f0}}}"><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|}}}
{{!}} class="infoboxinfoheader" {{!}} Creator:
</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;">Gender</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}
{{{gender|}}}
{{{creator}}}}}
</td></tr>|1{{{gender|}}}=}} {{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;">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|#f0f0f0}}}"><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;">
{{!}} class="infoboxinfoheader" {{!}} Manufacturer:
{{{armament|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{armament|}}}=}} {{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;">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:#bdb;">'''Chronological and political information'''</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;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{line|}}}|
{{{era|}}}
{{!}} class="infoboxinfoheader" {{!}} Product line:
</td></tr>|1{{{era|}}}=}} {{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;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}  
{{{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.
{{!}} class="infoboxinfoheader" {{!}} Model:
{{!}} class="infoboxinfodata" {{!}}  
{{{model}}}}}
|-
{{#if: {{{class|}}}|
{{!}} class="infoboxinfoheader" {{!}} Class:
{{!}} class="infoboxinfodata" {{!}}
{{{class}}}}}
|-
{{#if: {{{degree|}}}|
{{!}} class="infoboxinfoheader" {{!}} Degree:
{{!}} class="infoboxinfodata" {{!}}
{{{degree}}}}}
|-
{{#if: {{{cost|}}}|
{{!}} class="infoboxinfoheader" {{!}} Cost:
{{!}} class="infoboxinfodata" {{!}}  
{{{cost}}}}}
|-
{{#if: {{{item|}}}|
{{!}} class="infoboxinfoheader" {{!}} Possession Item:
{{!}} class="infoboxinfodata" {{!}}  
{{{item}}}}}
|-
| colspan="2" class="header droid" | '''Technical specifications'''
|-
{{#if: {{{length|}}}|
{{!}} class="infoboxinfoheader" {{!}} Length:
{{!}} class="infoboxinfodata" {{!}}
{{{length}}}}}
|-
{{#if: {{{width|}}}|
{{!}} class="infoboxinfoheader" {{!}} Beam:
{{!}} class="infoboxinfodata" {{!}}  
{{{width}}}}}
|-
{{#if: {{{height|}}}|
{{!}} class="infoboxinfoheader" {{!}} Height:
{{!}} class="infoboxinfodata" {{!}}
{{{height}}}}}
|-
{{#if: {{{gender|}}}|
{{!}} class="infoboxinfoheader" {{!}} Gender:
{{!}} class="infoboxinfodata" {{!}}
{{{gender}}}}}
|-
{{#if: {{{sensor|}}}|
{{!}} class="infoboxinfoheader" {{!}} Sensor color:
{{!}} class="infoboxinfodata" {{!}}
{{{sensor}}}}}
|-
{{#if: {{{plating|}}}|
{{!}} class="infoboxinfoheader" {{!}} Plating color:
{{!}} class="infoboxinfodata" {{!}}  
{{{plating}}}}}
|-
{{#if: {{{armament|}}}|
{{!}} class="infoboxinfoheader" {{!}} Armament:
{{!}} class="infoboxinfodata" {{!}}  
{{{armament}}}}}
|-
{{#if: {{{equipment|}}}|
{{!}} class="infoboxinfoheader" {{!}} Equipment:
{{!}} class="infoboxinfodata" {{!}}  
{{{equipment}}}}}
|-
| colspan="2" class="header droid" | '''Chronological and political information'''
|-
{{#if: {{{era|}}}|
{{!}} class="infoboxinfoheader" {{!}} Era(s):
{{!}} class="infoboxinfodata" {{!}}  
{{{era}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" {{!}} Affiliation:
{{!}} class="infoboxinfodata" {{!}}
{{{affiliation}}}}}
|-
| colspan="2" class="infoboxfooter droid" | {{Link color|Template:Droid|#648e9f|[ 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 52: Line 135:
| model =  
| model =  
| class =  
| class =  
| degree =
| cost =
| item =
| length =  
| length =  
| width =  
| width =  
Line 57: Line 143:
| gender =  
| gender =  
| sensor =  
| sensor =  
| plating =
| armament =  
| armament =  
| equipment =  
| equipment =  
| 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>

Latest revision as of 22:44, 22 January 2017

{{{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 = 
| degree = 
| cost = 
| item =
| length = 
| width = 
| height = 
| gender = 
| sensor = 
| plating =
| armament = 
| equipment = 
| era = 
| affiliation = 
}}