Template:Club: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
 
No edit summary
 
(4 intermediate revisions by 4 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:#{{{BG1|999999}}};">{{{image|}}}</td></tr>
{{!}}  class="infoboximage" colspan="2" {{!}} {{{image}}}}}
<tr style="text-align:center; color:#ffffff; background:#{{{BG1|999999}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidei|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''General 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;">Founder(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{founder|}}}
| colspan="2" class="name club" | '''{{{name}}}'''
</td></tr>|1{{{founder|}}}=}} {{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;">Leader(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{leader|}}}
| colspan="2" class="header club" | '''General information'''
</td></tr>|1{{{leader|}}}=}} {{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;">Headquarters</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{headquarters|}}}
{{#if: {{{founder|}}}|
</td></tr>|1{{{headquarters|}}}=}} {{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;">Locations</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Founder(s):
{{{locations|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{locations|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Historical 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;">Formed from</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{founder}}}}}
{{{formed|}}}
|-
</td></tr>|1{{{formed|}}}=}} {{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;">Founding</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{leader|}}}|
{{{founded|}}}
{{!}} class="infoboxinfoheader" {{!}} Leader(s):
</td></tr>|1{{{founded|}}}=}} {{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;">Reorganization</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfodata" {{!}}  
{{{reorganized|}}}
{{{leader}}}}}
</td></tr>|1{{{reorganized|}}}=}} {{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;">Executive Chef</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{executive chef|}}}
{{#if: {{{headquarters|}}}|
</td></tr>|1{{{executive chef|}}}=}} {{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;">Sommelier</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{!}} class="infoboxinfoheader" {{!}} Headquarters:
{{{sommelier|}}}
{{!}} class="infoboxinfodata" {{!}}  
</td></tr>|1{{{sommelier|}}}=}} {{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;">Restoration</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{headquarters}}}}}
{{{restored|}}}
|-
</td></tr>|1{{{restored|}}}=}} {{t|1=|1{{{hideot|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Other 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;">Notable members</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
| colspan="2" class="header club" | '''Historical information'''
{{{members|}}}
|-
</td></tr>|1{{{members|}}}=}} {{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;">Affilliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if: {{{formed|}}}|
{{{affiliation|}}}
{{!}} class="infoboxinfoheader" {{!}} Formed from:
</td></tr>|1{{{affiliation|}}}=}}{{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;">
{{!}} class="infoboxinfodata" {{!}}  
{{{era|}}}
{{{formed}}}}}
</td></tr>|1{{{era|}}}=}} </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:Organization infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
|-
{{clear}}
{{#if: {{{founded|}}}|
{{!}} class="infoboxinfoheader" {{!}} Founding:
{{!}} class="infoboxinfodata" {{!}}  
{{{founded}}}}}
|-
{{#if: {{{reorganized|}}}|
{{!}} class="infoboxinfoheader" {{!}} Reorganization:
{{!}} class="infoboxinfodata" {{!}}  
{{{reorganized}}}}}
|-
{{#if: {{{executive chef|}}}|
{{!}} class="infoboxinfoheader" {{!}} Executive Chef:
{{!}} class="infoboxinfodata" {{!}}  
{{{executive chef}}}}}
|-
{{#if: {{{sommelier|}}}|
{{!}} class="infoboxinfoheader" {{!}} Sommelier:
{{!}} class="infoboxinfodata" {{!}}  
{{{sommelier}}}}}
|-
{{#if: {{{restored|}}}|
{{!}} class="infoboxinfoheader" {{!}} Restoration:
{{!}} class="infoboxinfodata" {{!}}  
{{{restored}}}}}
|-
| colspan="2" class="header club" | '''Other information'''
|-
{{#if: {{{members|}}}|
{{!}} class="infoboxinfoheader" {{!}} Notable members:
{{!}} class="infoboxinfodata" {{!}}  
{{{members}}}}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="infoboxinfoheader" {{!}} Affiliation:
{{!}} class="infoboxinfodata" {{!}}  
{{{affiliation}}}}}
|-
{{#if: {{{era|}}}|
{{!}} class="infoboxinfoheader" {{!}} Era(s):
{{!}} class="infoboxinfodata" {{!}}  
{{{era}}}}}
|-
| colspan="2" class="infoboxfooter club" | {{Link color|Template:Club|#86494E|[ Source ]}}
|}
<noinclude>
{{Clear}}
==Data fields==
==Data fields==
*founder
*founder
Line 55: Line 100:
==Usage instructions==
==Usage instructions==
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
'''Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to shades of gray; choose your colors appropriately.'''


<pre><nowiki>
<pre><nowiki>
{{Organization  infobox
{{Club
|BG1=
|BG2=
|name=
|name=
|image=
|image=
Line 79: Line 120:
}}
}}
</nowiki></pre>
</nowiki></pre>
==Source==
<nowiki>
{{subst:slh|#{{{BG1|9CABB0}}}|250px}} {{subst:sls|General information|#{{{BG2|CAD4D5}}}|hidei}} {{subst:sld|Founder(s)|founder}} {{subst:sld|Leader(s)|leader}} {{subst:sld|Notable members|members}} {{subst:sld|Headquarters|headquarters}} {{subst:sld|Locations|locations}} {{subst:sls|Historical information|#{{{BG2|CAD4D5}}}|hideh}} {{subst:sld|Formed from|formed}} {{subst:sld|Founding|founded}} {{subst:sld|Reorganization|reorganized}} {{subst:sld|Executive Chef|executive chef}} {{subst:sld|Sommelier|sommelier}} {{subst:sld|Restoration|restored}} {{subst:sls|Other information|#{{{BG2|CAD4D5}}}|hideot}} {{subst:sld|Affilliation|affiliation}} {{subst:sld|Era(s)|era}} {{subst:slf}}
</nowiki>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:49, 27 July 2015

{{{name}}}
General information
Historical information
Other information
[ Source ]


Data fields

  • founder
  • leader
  • members
  • headquarters
  • locations
  • formed
  • founded
  • reorganized
  • executive chef
  • sommelier
  • restored
  • affiliation
  • era
  • BG1 (optional color modifier)
  • BG2 (optional color modifier)

Display parameters

  • hidei (General information)
  • hideh (Historical information)
  • hideo (Other information)

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

{{Club
|name=
|image=
|founder=
|leader=
|members=
|headquarters=
|locations=
|formed=
|founded=
|reorganized=
|executive chef=
|sommelier=
|restored=
|affiliation=
|era=
}}