Difference between revisions of "User:Evon R'al/Sandbox template"

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
m (Coding and testing.)
Line 1: Line 1:
 
<!-- #css: at the end -->
 
<!-- #css: at the end -->
 
<table cellspacing="0" cellpadding="0" class="InfoboxCorp">
 
<table cellspacing="0" cellpadding="0" class="InfoboxCorp">
<caption> {{{corpname|corpname is missing}}} </caption>
+
<caption> {{{corpname|corpname is missing}}} </caption>
<tr>
+
<tr>
<td colspan="2" style="border-right: 0; padding: initial; background: #202020;"> {{#if: {{{corplogo|}}}|[[Image:{{{corplogo}}}{{!}}center{{!}}280px{{!}}{{{caption}}}]]}} </td>
+
  <td colspan="2" class="logo"> {{#if: {{{corplogo|}}}|[[Image:{{{corplogo}}}{{!}}center{{!}}280px{{!}}{{{caption}}}]]}} </td>
</tr>
+
</tr>
<tr>
+
<tr>
<td> Ticker </td><td style="font-weight: bold;"> {{{ticker|}}} </td>
+
  <td> Ticker </td><td style="font-weight: bold;"> {{{ticker|}}} </td>
</tr>
+
</tr>
 
{{#if: {{{alliance|}}} |  
 
{{#if: {{{alliance|}}} |  
<tr>
+
<tr>
<td> Alliance </td><td> {{{alliance}}} </td>
+
  <td> Alliance </td><td> {{{alliance}}} </td>
</tr>
+
</tr>
 
}}
 
}}
<tr>
+
<tr>
<td> CEO </td><td> {{{ceo|}}} </td>
+
  <td> CEO </td><td> {{{ceo|}}} </td>
</tr>
+
</tr>
<tr>
+
<tr>
<td> Director(s) </td><td> {{{director|}}} </td>
+
  <td> Director(s) </td><td> {{{director|}}} </td>
</tr>
+
</tr>
<tr>
+
<tr>
<td> Founded on </td><td> {{{founded|}}} </td>
+
  <td> Founded on </td><td> {{{founded|}}} </td>
</tr>
+
</tr>
<tr>
+
<tr>
<td> Status </td><td> {{{status|}}} </td>
+
  <td> Status </td><td> {{{status|}}} </td>
</tr>
+
</tr>
<tr>
+
<tr>
<td> Headquarters </td><td> {{{headquarters|}}} </td>
+
  <td> Headquarters </td><td> {{{headquarters|}}} </td>
</tr>
+
</tr>
 
{{#if: {{{publicchannel|}}} |
 
{{#if: {{{publicchannel|}}} |
<tr>
+
<tr>
<td> Public Channel </td><td> {{{publicchannel}}} </td>
+
  <td> Public Channel </td><td> {{{publicchannel}}} </td>
</tr>
+
</tr>
 
}}
 
}}
{{#if: {{{website|}}} |
+
{{#if: {{{website|}}} |
<tr>
+
<tr>
<td> Website </td><td> [{{{website}}} {{{webnicename}}}] </td>
+
  <td> Website </td><td> [{{{website}}} {{{webnicename}}}] </td>
</tr>
+
</tr>
 
}}
 
}}
{{#if: {{{prevalliances|}}}{{{prevceos|}}} |
+
{{#if: {{{prevalliances|}}}{{{prevceos|}}} |
<tr>
+
<tr>
<td colspan=2 style="background: #202020; border-right: 0; text-align: center;"> History </td>
+
  <td colspan=2 class="hdr"> History </td>
<tr>
+
<tr>
<td> Alliances </td><td> {{{prevalliances}}} </td>
+
  <td> Alliances </td><td> {{{prevalliances|-}}} </td>
</tr>
+
</tr>
<tr>
+
<tr>
<td> Former CEOs </td><td> {{{prevceos}}} </td>
+
  <td> Former CEOs </td><td> {{{prevceos|-}}} </td>
</tr>
+
</tr>
 
}}
 
}}
 
</table>
 
</table>
Line 65: Line 65:
  
 
  .InfoboxCorp td {
 
  .InfoboxCorp td {
   border-bottom: 1px solid black; /* black */
+
   border-bottom: 1px solid black;
 
   padding: 0.5em;
 
   padding: 0.5em;
 
   }
 
   }
 +
 
  .InfoboxCorp td:first-child {
 
  .InfoboxCorp td:first-child {
  /* border-right: 1px solid red; black */
 
 
   width: 8em;
 
   width: 8em;
   background: black; /* black */
+
   background: black;
 
   vertical-align: top;
 
   vertical-align: top;
 
   font-weight: bold;
 
   font-weight: bold;
 
   }
 
   }
  
  .InfoboxCorp td:nth-child(2) {
+
  .InfoboxCorp td.logo,
   /* background: #101010; #101010 */
+
.InfoboxCorp td.hdr {
 +
   background: #202020;
 +
  }
 +
 
 +
.InfoboxCorp td.logo {
 +
  padding: initial;
 +
  }
 +
 
 +
.InfoboxCorp td.hdr {
 +
  text-align: center;
 
   }
 
   }
  
 
}}
 
}}
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 14:11, 27 April 2022

corpname is missing
Ticker
CEO
Director(s)
Founded on
Status
Headquarters
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)