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

From EVE University Wiki
Jump to: navigation, search
m (Fase 1: Reformat the source to increase readability, coding and testing. Making small steps to check when it fails to work.)
m (Fase 1: Reformat the source to increase readability, coding and testing. Making small steps to check when it fails to work.)
Line 5: Line 5:
 
{{!}} '''{{{Name}}}'''
 
{{!}} '''{{{Name}}}'''
 
{{!}}}
 
{{!}}}
|
+
| }}
}}
 
  
 
<table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px">
 
<table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px">
 
{{#if:{{{Level|}}}
 
{{#if:{{{Level|}}}
|
+
|
 
<tr>
 
<tr>
 
  <td style="width:125px;background:#191616;padding:0px 1em">Level</td>
 
  <td style="width:125px;background:#191616;padding:0px 1em">Level</td>
 
  <td style="padding:2px 0 2px 5px;">{{{Level}}}</td>
 
  <td style="padding:2px 0 2px 5px;">{{{Level}}}</td>
 
</tr>
 
</tr>
|
+
| }}
}}
 
 
{{#if:{{{Type|}}}
 
{{#if:{{{Type|}}}
|
+
|
 
<tr>
 
<tr>
 
  <td style="width:125px;background:#191616;padding:0px 1em">Type</td>
 
  <td style="width:125px;background:#191616;padding:0px 1em">Type</td>
 
  <td style="padding:2px 0 2px 5px;">{{{Type}}}</td>
 
  <td style="padding:2px 0 2px 5px;">{{{Type}}}</td>
 
</tr>
 
</tr>
 +
| }}
 +
{{#if:{{{Objective|}}}
 
  |
 
  |
}}
+
<tr>
{{#if:{{{Objective|}}}
+
<td style="width:125px;background:#191616;padding:0px 1em">Objective</td>
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Objective</td><td style="padding:2px 0 2px 5px;">{{{Objective}}}</td></tr>|}}{{#if:{{{Faction|}}}
+
<td style="padding:2px 0 2px 5px;">{{{Objective}}}</td>
 +
</tr>
 +
| }}
 +
{{#if:{{{Faction|}}}
 
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Faction</td><td style="padding:2px 0 2px 5px;">{{{Faction}}}</td></tr>|{{#if: {{{Faction1|}}}  
 
|<tr><td style="width:125px;background:#191616;padding:0px 1em">Faction</td><td style="padding:2px 0 2px 5px;">{{{Faction}}}</td></tr>|{{#if: {{{Faction1|}}}  
 
|<tr><td style="background:#191616;padding:0px 1em">{{#if:{{{Faction2|}}}| Factions | Faction }}</td><td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{{Faction1}}}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{{Faction2}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}} </td></tr> |}} }}{{#if:{{{DamageToDeal|}}}
 
|<tr><td style="background:#191616;padding:0px 1em">{{#if:{{{Faction2|}}}| Factions | Faction }}</td><td style="padding:2px 0 2px 5px;"><span style="width:155px;display:inline-block">{{{Faction1}}}</span>{{#if: {{{Faction2|}}} |<span style="width:155px;display:inline-block">{{{Faction2}}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}} </td></tr> |}} }}{{#if:{{{DamageToDeal|}}}

Revision as of 17:43, 22 March 2022

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?)