Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Missiondetails: Difference between revisions

Template page
Hirmuolio Pine (talk | contribs)
mNo edit summary
No edit summary
 
(65 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#css:
{|class=wikitable style="width: 900px;background:#191616;padding-left: 2em;"
table.MssnDtls {
|-
  margin-left: 1em;
| style="padding-left: 1em;" |{{#if:{{{Level}}}
  border: 1px solid;
| '''Level''': {{{Level}}} {{#if:{{{Type}}}|<br>|}} |}} {{#if:{{{Type}}}
  /* width: 800px; */
| '''Type''': {{{Type}}}|}} {{#if:{{{Objective}}}
  border-spacing: 0 2px;
| <br>'''Objective''': {{{Objective}}}|}} {{#if:{{{Faction}}}
}
| <br>'''Faction''': {{{Faction}}}|}} {{#if:{{{DamageToDeal}}}
 
| <br>'''Best damage to deal''': {{{DamageToDeal}}}|}} {{#if:{{{DamageToResist}}}
.MssnDtls caption {
| <br>'''Damage to resist''': {{{DamageToResist}}}|}} {{#if:{{{WebPoint}}}
  text-align: left;
| <br>'''Web/Point''': {{{WebPoint}}}|}} {{#if:{{{EWAR}}}
  font-weight: bold;
| <br>'''EWAR''': {{{EWAR}}}|}} {{#if:{{{ShipSizeLimit}}}
}
| <br>'''Ship limit''': {{{ShipSizeLimit}}}|}} {{#if:{{{ShipSuggestion}}}
 
| <br>'''Suggested ship''': {{{ShipSuggestion}}}|}} {{#if:{{{Rewards}}}
.MssnDtls-label {
| <br>'''Rewards''': {{{Rewards}}}|}} {{#if:{{{Extra}}}
  width: 10em;
| <br>'''Extra''': {{{Extra}}}|}}
  background-color: var(--background-color-warning-subtle);
|}</includeonly><noinclude>
  padding: 0 0.5em
{{documentation}}
}
</noinclude>
 
.MssnDtls-data {
  padding: 0 0.5em;
}
 
.MssnDtls-factioninfo {
  display: inline-block;
  width: 9.5em;
}
}}
<table class="MssnDtls">
{{#if:{{{Name|}}}
| <caption>{{{Name}}}</caption>
}}
{{#if: {{{Level|}}} {{{Storyline|}}}
|<tr> <td class="MssnDtls-label">Level</td> <td class="MssnDtls-data">{{{Level}}} {{#ifeq: {{lc: {{{Storyline}}} }} | yes | Storyline }}</td> </tr>
}} {{#if: {{{Type|}}}
|<tr> <td class="MssnDtls-label">Type</td> <td class="MssnDtls-data">{{{Type}}}</td> </tr>
}} {{#if:{{{Objective|}}}  
|<tr> <td class="MssnDtls-label">Objective</td> <td class="MssnDtls-data">{{{Objective}}}</td> </tr>
}} {{#if: {{{Faction|}}}
|<tr> <td class="MssnDtls-label">Faction</td> <td class="MssnDtls-data">{{{Faction}}}</td> </tr>
|{{#if: {{{Faction1|}}}|
  <tr>
    <td class="MssnDtls-label"> {{#if: {{{Faction2|}}}| Factions | Faction }}</td>
    <td class="MssnDtls-data"> <span class="MssnDtls-factioninfo">{{{Faction1}}}</span>{{#if: {{{Faction2|}}}
    |<span class="MssnDtls-factioninfo">{{{Faction2}}}</span>}}{{#if: {{{Faction3|}}}
    |<span class="MssnDtls-factioninfo">{{{Faction3}}}</span>}}{{#if: {{{Faction4|}}}
    |<span class="MssnDtls-factioninfo">{{{Faction4}}}</span>}}</td>
  </tr>
  }}
}} {{#if: {{{DamageToDeal|}}}
|<tr> <td class="MssnDtls-label">Best damage to deal</td> <td class="MssnDtls-data">{{{DamageToDeal}}}</td> </tr>
|{{#if: {{{Faction1|}}} |
  <tr>
  <td class="MssnDtls-label">Best damage to deal</td>
  <td class="MssnDtls-data"><span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal1|}}}
    | {{{DamageToDeal1}}}
    | {{Damage to deal| {{{Faction1}}}
  }}
  }}</span>{{#if: {{{Faction2|}}}
            |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal2|}}}
            | {{{DamageToDeal2}}}
            | {{Damage to deal| {{{Faction2}}}
  }}
  }}</span>}}{{#if: {{{Faction3|}}}
              |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal3|}}}
                | {{{DamageToDeal3}}}
                | {{Damage to deal| {{{Faction3}}}
  }}
  }}</span>}}{{#if: {{{Faction4|}}}
              |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal4|}}}
                | {{{DamageToDeal4}}}
                | {{Damage to deal| {{{Faction4}}}
  }}
  }}</span>}}{{#if: {{{Faction1|}}}
              | </td> </tr>
              }}
}}
}} {{#if: {{{DamageToResist|}}}
| <tr> <td class="MssnDtls-label">Damage to resist</td> <td class="MssnDtls-data">{{{DamageToResist}}}</td> </tr>
|{{#if: {{{Faction1|}}} |
  <tr>
  <td class="MssnDtls-label">Damage to resist</td>
  <td class="MssnDtls-data"><span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist1|}}}
    | {{{DamageToResist1}}}
    | {{Damage to resist| {{{Faction1}}}
  }}
  }}</span>{{#if: {{{Faction2|}}}
            |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist2|}}}
            | {{{DamageToResist2}}}
            | {{Damage to resist| {{{Faction2}}}
            }}
  }}</span>}}{{#if: {{{Faction3|}}}
              |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist3|}}}
              | {{{DamageToResist3}}}
              | {{Damage to resist| {{{Faction3}}}
              }}
  }}</span>}}{{#if: {{{Faction4|}}}
              |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist4|}}}
                | {{{DamageToResist4}}}
                | {{Damage to resist| {{{Faction4}}}
              }}
  }}</span>|}}{{#if: {{{Faction1|}}}
              | </td> </tr>
              }}
}}
}} {{#if: {{{WebPoint|}}}
| <tr> <td class="MssnDtls-label">Warp disruption</td> <td class="MssnDtls-data">{{{WebPoint}}}</td> </tr>
}} {{#if: {{{EWAR|}}}
| <tr> <td class="MssnDtls-label">EWAR</td> <td class="MssnDtls-data">{{{EWAR}}}</td> </tr>
}} {{#if: {{{ShipSizeLimit|}}}
| <tr> <td class="MssnDtls-label">Ship size limit</td> <td class="MssnDtls-data">{{{ShipSizeLimit}}}</td> </tr>
}} {{#if: {{{ShipSuggestion|}}}
| <tr> <td class="MssnDtls-label">Ship suggestion</td> <td class="MssnDtls-data">{{{ShipSuggestion}}}</td> </tr>
}} {{#if: {{{Rewards|}}}
| <tr> <td class="MssnDtls-label">Rewards</td> <td class="MssnDtls-data">{{{Rewards}}}</td> </tr>
}} {{#if: {{{StandingLoss|}}}
| <tr> <td class="MssnDtls-label">Standing loss</td> <td class="MssnDtls-data">{{{StandingLoss}}}</td> </tr>
}} {{#if: {{{Extra|}}}
| <tr> <td class="MssnDtls-label">Extra</td> <td class="MssnDtls-data">{{{Extra}}}</td> </tr>
}}
</table></includeonly>
<noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of the templates /doc, not here --></noinclude>