Template:Government
From FEInfobase
(Difference between revisions)
Line 3: | Line 3: | ||
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#FFFFFF; border-collapse:collapse;"> | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#FFFFFF; border-collapse:collapse;"> | ||
<tr style="text-align:center;"> | <tr style="text-align:center;"> | ||
− | <td colspan="2" style="padding:0; background:{{#if:{{{imageBG|}}}|{{{imageBG}}}|# | + | <td colspan="2" style="padding:0; background:{{#if:{{{imageBG|}}}|{{{imageBG}}}|#000000}};">{{{image|}}}</td></tr> |
<tr style="text-align:center; color:{{{3|#FFFFFF}}}; background:#007BA7; font-size:larger;"><td colspan="2">'''{{{name}}}'''</td></tr> {{t|1=|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#122d0e; color:#cccccc;">'''Basic Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Major Species</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | <tr style="text-align:center; color:{{{3|#FFFFFF}}}; background:#007BA7; font-size:larger;"><td colspan="2">'''{{{name}}}'''</td></tr> {{t|1=|1{{{hideb|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#122d0e; color:#cccccc;">'''Basic Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Major Species</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{species|}}}</td></tr>|1{{{species|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Homeworld(s)</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | {{{species|}}}</td></tr>|1{{{species|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Homeworld(s)</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
Line 11: | Line 11: | ||
{{{language|}}}</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Currency</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | {{{language|}}}</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Currency</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{currency|}}}</td></tr>|1{{{currency|}}}=}} {{t|1=|1{{{hidec|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#122d0e; color:#cccccc;">'''Political Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Government</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | {{{currency|}}}</td></tr>|1{{{currency|}}}=}} {{t|1=|1{{{hidec|}}}=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle;><td colspan="2" style="text-align:left; font-weight:normal; background:#122d0e; color:#cccccc;">'''Political Information'''</td></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Government</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
− | {{{government|}}}</td></tr>|1{{{government|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: # | + | {{{government|}}}</td></tr>|1{{{government|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000;"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Leader</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> |
{{{leader|}}}</td></tr>|1{{{leader|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Military Branch(es</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | {{{leader|}}}</td></tr>|1{{{leader|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #000000"><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;">Military Branch(es</td><td style="border-top: 1px solid #666666; border-bottom: 1px solid #666666;"> | ||
{{{military|}}}</td></tr>|1{{{military|}}}=}} </table></td></tr><tr><td style="text-align:center; width:50%;"> [[Template:Government|[Source]]] </td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --> | {{{military|}}}</td></tr>|1{{{military|}}}=}} </table></td></tr><tr><td style="text-align:center; width:50%;"> [[Template:Government|[Source]]] </td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --> |
Revision as of 17:09, 26 October 2007
| ||||||||
[Source] |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Government |name= |image= |species= |homeworld= |founded= |warp= |language= |currency= |government= |leader= |military= }}
Display parameters
- hideb
- hidep
- hidec
Source
{{subst:slh|#ffffff|275px}} {{subst:sls|Basic information|#ffffff|hideb}} {{subst:sld|Major Species|species}}{{subst:sld|Homeworld(s)|homeworld}} {{subst:sld|Founded|founded}} {{subst:sld|Warp Capable|warp}} {{subst:sld|Official Language|language}} {{subst:sld|Currency|currency}} {{subst:sls|Political Information|#ffffff|hidec}} {{subst:sld|Government|government}} {{subst:sld|Leader|leader}} {{subst:sld|Military Branch(es|military}} {{subst:slf}}