Template:Structure: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (fixing usage)
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| 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;"
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"  
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} 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}}}}}
{{!}} class="infoboximage" colspan="2" bgcolor={{{bgcolor_value|#222222;}}} {{!}} {{{image}}} }}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#2f394a; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
| class="name structure" colspan="2" | '''{{{name}}}'''
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#252d38; text-align:center; font-size:8pt;" | '''General information'''
| class="header structure" colspan="2" | '''General information'''
|-
{{#if: {{{laiddown|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Foundation Laid:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{laiddown}}}}}
|-
|-
{{#if: {{{constructed|}}}|
{{#if: {{{constructed|}}}|
{{!}} 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;"}}} {{!}} Constructed:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Constructed:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{constructed}}}}}
{{{constructed}}}}}
|-
|-
{{#if: {{{destroyed|}}}|
{{#if: {{{destroyed|}}}|
{{!}} 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;"}}} {{!}} Destroyed:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Destroyed:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{destroyed}}}}}
{{{destroyed}}}}}
|-
|-
{{#if: {{{location|}}}|
{{#if: {{{location|}}}|
{{!}} 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;"}}} {{!}} Location:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Location:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{location}}}}}
{{{location}}}}}
|-
|-
{{#if: {{{builder|}}}|
{{#if: {{{builder|}}}|
{{!}} 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;"}}} {{!}} Builder:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Builder:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{builder}}}}}
{{{builder}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#252d38; text-align:center; font-size:8pt;" | '''Physical specifications'''
| class="header structure" colspan="2" | '''Physical specifications'''
|-
|-
{{#if: {{{population|}}}|
{{#if: {{{population|}}}|
{{!}} 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;"}}} {{!}} Population:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Population:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{population}}}}}
{{{population}}}}}
|-
|-
{{#if: {{{height|}}}|
{{#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:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Height:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{height}}}}}
{{{height}}}}}
|-
|-
{{#if: {{{width|}}}|
{{#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;"}}} {{!}} Width:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Width:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{width}}}}}
{{{width}}}}}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#252d38; text-align:center; font-size:8pt;" | '''Usage'''
| class="header structure" colspan="2" | '''Usage'''
|-
|-
{{#if: {{{era|}}}|
{{#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:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Era:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{era}}}}}
{{{era}}}}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#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:
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Affiliation:
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{affiliation}}}}}
{{{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:#2f394a; text-align:center; border-top: 1px solid #111111;" | {{Link color|Template:Structure|#5f697a|[ Source ]}}
{{#if: {{{possessionitem|}}}|
{{!}} class="infoboxinfoheader" bgcolor={{{bgcolor_value|#222222;}}} {{!}} Possession Item:
{{!}} class="infoboxinfodata" bgcolor={{{bgcolor_value|#2B2B2B;}}} {{!}}
{{{possessionitem}}}}}
|-
|class="infoboxfooter structure" colspan="2" | {{Link color|Template:Structure|#5f697a|[ Source ]}}
|}
|}
<noinclude>{{Clear}}
<noinclude>{{Clear}}
Line 65: Line 75:
|image=
|image=
|name=
|name=
|laiddown=
|constructed=
|constructed=
|destroyed=
|destroyed=
Line 74: Line 85:
|era=
|era=
|affiliation=
|affiliation=
|possessionitem=
}}
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:41, 10 February 2022

{{{name}}}
General information
Physical specifications
Usage
[ Source ]

To use: Paste the following text into the desired character article, and fill in the appropriate fields.

{{Structure
|image=
|name=
|laiddown=
|constructed=
|destroyed=
|location=
|builder=
|population=
|height=
|width=
|era=
|affiliation=
|possessionitem=
}}