Difference between revisions of "Template:Missiondetails"
From EVE University Wiki
m (Fix typo.) |
m (Add parameter for Storyline mission. Fix typo. Move name display from separate tbl to mission details tbl caption.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#css: | <includeonly>{{#css: | ||
− | + | table.MssnDtls { | |
− | + | margin-left: 1em; | |
− | + | border: 1px solid #606060; | |
− | + | width: 880px; | |
− | + | border-spacing: 0px 2px; | |
− | } | + | } |
− | + | ||
− | + | .MssnDtls caption { | |
− | + | text-align: left; | |
− | + | font-weight: bold; | |
− | + | } | |
− | + | ||
− | + | .MssnDtls-label { | |
− | + | width: 120px; | |
− | + | background: #202020; | |
− | + | padding: 0 1em; | |
− | + | } | |
− | + | ||
− | }}< | + | .MssnDtls-data { |
− | + | padding: 2px 1em 2px 5px; | |
− | | | + | } |
− | + | ||
− | + | .MssnDtls-factioninfo { | |
− | }} | + | display: inline-block; |
− | {{#if:{{{Level|}}} | + | width: 155px; |
− | |<tr> <td class="MssnDtls-label">Level</td> <td class="MssnDtls-data">{{{Level}}}</td> </tr> | + | } |
− | }} {{#if:{{{Type|}}} | + | }} |
+ | <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> | |<tr> <td class="MssnDtls-label">Type</td> <td class="MssnDtls-data">{{{Type}}}</td> </tr> | ||
}} {{#if:{{{Objective|}}} | }} {{#if:{{{Objective|}}} | ||
|<tr> <td class="MssnDtls-label">Objective</td> <td class="MssnDtls-data">{{{Objective}}}</td> </tr> | |<tr> <td class="MssnDtls-label">Objective</td> <td class="MssnDtls-data">{{{Objective}}}</td> </tr> | ||
− | }} {{#if:{{{Faction|}}} | + | }} {{#if: {{{Faction|}}} |
|<tr> <td class="MssnDtls-label">Faction</td> <td class="MssnDtls-data">{{{Faction}}}</td> </tr> | |<tr> <td class="MssnDtls-label">Faction</td> <td class="MssnDtls-data">{{{Faction}}}</td> </tr> | ||
|{{#if: {{{Faction1|}}}| | |{{#if: {{{Faction1|}}}| | ||
<tr> | <tr> | ||
− | <td class="MssnDtls-label"> {{#if:{{{Faction2|}}}| Factions | Faction }}</td> | + | <td class="MssnDtls-label"> {{#if: {{{Faction2|}}}| Factions | Faction }}</td> |
<td class="MssnDtls-data"> <span class="MssnDtls-factioninfo">{{{Faction1}}}</span>{{#if: {{{Faction2|}}} | <td class="MssnDtls-data"> <span class="MssnDtls-factioninfo">{{{Faction1}}}</span>{{#if: {{{Faction2|}}} | ||
|<span class="MssnDtls-factioninfo">{{{Faction2}}}</span>}}{{#if: {{{Faction3|}}} | |<span class="MssnDtls-factioninfo">{{{Faction2}}}</span>}}{{#if: {{{Faction3|}}} | ||
Line 41: | Line 48: | ||
</tr> | </tr> | ||
}} | }} | ||
− | }} {{#if:{{{DamageToDeal|}}} | + | }} {{#if: {{{DamageToDeal|}}} |
|<tr> <td class="MssnDtls-label">Best damage to deal</td> <td class="MssnDtls-data">{{{DamageToDeal}}}</td> </tr> | |<tr> <td class="MssnDtls-label">Best damage to deal</td> <td class="MssnDtls-data">{{{DamageToDeal}}}</td> </tr> | ||
|{{#if: {{{Faction1|}}} | | |{{#if: {{{Faction1|}}} | | ||
<tr> | <tr> | ||
<td class="MssnDtls-label">Best damage to deal</td> | <td class="MssnDtls-label">Best damage to deal</td> | ||
− | <td class="MssnDtls-data"><span class="MssnDtls-factioninfo">{{#if:{{{DamageToDeal1|}}} | + | <td class="MssnDtls-data"><span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal1|}}} |
− | |{{{DamageToDeal1}}} | + | | {{{DamageToDeal1}}} |
− | |{{Damage to deal| {{{Faction1}}} | + | | {{Damage to deal| {{{Faction1}}} |
}} | }} | ||
}}</span>{{#if: {{{Faction2|}}} | }}</span>{{#if: {{{Faction2|}}} | ||
− | |<span class="MssnDtls-factioninfo">{{#if:{{{DamageToDeal2|}}} | + | |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal2|}}} |
− | |{{{DamageToDeal2}}} | + | | {{{DamageToDeal2}}} |
− | |{{Damage to deal| {{{Faction2}}} | + | | {{Damage to deal| {{{Faction2}}} |
}} | }} | ||
}}</span>}}{{#if: {{{Faction3|}}} | }}</span>}}{{#if: {{{Faction3|}}} | ||
− | |<span class="MssnDtls-factioninfo">{{#if:{{{DamageToDeal3|}}} | + | |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal3|}}} |
− | |{{{DamageToDeal3}}} | + | | {{{DamageToDeal3}}} |
− | |{{Damage to deal| {{{Faction3}}} | + | | {{Damage to deal| {{{Faction3}}} |
}} | }} | ||
}}</span>}}{{#if: {{{Faction4|}}} | }}</span>}}{{#if: {{{Faction4|}}} | ||
− | |<span class="MssnDtls-factioninfo">{{#if:{{{DamageToDeal4|}}} | + | |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToDeal4|}}} |
− | |{{{DamageToDeal4}}} | + | | {{{DamageToDeal4}}} |
− | |{{Damage to deal| {{{Faction4}}} | + | | {{Damage to deal| {{{Faction4}}} |
}} | }} | ||
− | }}</span>}}{{#if:{{{Faction1|}}} | + | }}</span>}}{{#if: {{{Faction1|}}} |
− | |</td> </tr> | + | | </td> </tr> |
}} | }} | ||
}} | }} | ||
− | }} {{#if:{{{DamageToResist|}}} | + | }} {{#if: {{{DamageToResist|}}} |
| <tr> <td class="MssnDtls-label">Damage to resist</td> <td class="MssnDtls-data">{{{DamageToResist}}}</td> </tr> | | <tr> <td class="MssnDtls-label">Damage to resist</td> <td class="MssnDtls-data">{{{DamageToResist}}}</td> </tr> | ||
|{{#if: {{{Faction1|}}} | | |{{#if: {{{Faction1|}}} | | ||
<tr> | <tr> | ||
<td class="MssnDtls-label">Damage to resist</td> | <td class="MssnDtls-label">Damage to resist</td> | ||
− | <td class="MssnDtls-data"><span class="MssnDtls-factioninfo">{{#if:{{{DamageToResist1|}}} | + | <td class="MssnDtls-data"><span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist1|}}} |
− | |{{{DamageToResist1}}} | + | | {{{DamageToResist1}}} |
− | |{{Damage to resist| {{{Faction1}}} | + | | {{Damage to resist| {{{Faction1}}} |
}} | }} | ||
}}</span>{{#if: {{{Faction2|}}} | }}</span>{{#if: {{{Faction2|}}} | ||
− | |<span class="MssnDtls-factioninfo">{{#if:{{{DamageToResist2|}}} | + | |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist2|}}} |
− | |{{{DamageToResist2}}} | + | | {{{DamageToResist2}}} |
− | |{{Damage to resist| {{{Faction2}}} | + | | {{Damage to resist| {{{Faction2}}} |
}} | }} | ||
}}</span>}}{{#if: {{{Faction3|}}} | }}</span>}}{{#if: {{{Faction3|}}} | ||
− | |<span class="MssnDtls-factioninfo">{{#if:{{{DamageToResist3|}}} | + | |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist3|}}} |
− | |{{{DamageToResist3}}} | + | | {{{DamageToResist3}}} |
− | |{{Damage to resist| {{{Faction3}}} | + | | {{Damage to resist| {{{Faction3}}} |
}} | }} | ||
}}</span>}}{{#if: {{{Faction4|}}} | }}</span>}}{{#if: {{{Faction4|}}} | ||
− | |<span class="MssnDtls-factioninfo">{{#if:{{{DamageToResist4|}}} | + | |<span class="MssnDtls-factioninfo">{{#if: {{{DamageToResist4|}}} |
− | |{{{DamageToResist4}}} | + | | {{{DamageToResist4}}} |
− | |{{Damage to resist| {{{Faction4}}} | + | | {{Damage to resist| {{{Faction4}}} |
}} | }} | ||
− | }}</span>|}}{{#if:{{{Faction1|}}} | + | }}</span>|}}{{#if: {{{Faction1|}}} |
− | |</td> </tr> | + | | </td> </tr> |
}} | }} | ||
}} | }} | ||
− | }} {{#if:{{{WebPoint|}}} | + | }} {{#if: {{{WebPoint|}}} |
− | |<tr> <td class="MssnDtls-label">Warp disruption</td> <td class="MssnDtls-data">{{{WebPoint}}}</td> </tr> | + | | <tr> <td class="MssnDtls-label">Warp disruption</td> <td class="MssnDtls-data">{{{WebPoint}}}</td> </tr> |
− | }} {{#if:{{{EWAR|}}} | + | }} {{#if: {{{EWAR|}}} |
− | |<tr> <td class="MssnDtls-label">EWAR</td> <td class="MssnDtls-data">{{{EWAR}}}</td> </tr> | + | | <tr> <td class="MssnDtls-label">EWAR</td> <td class="MssnDtls-data">{{{EWAR}}}</td> </tr> |
− | }} {{#if:{{{ShipSizeLimit|}}} | + | }} {{#if: {{{ShipSizeLimit|}}} |
− | |<tr> <td class="MssnDtls-label">Ship size limit</td> <td class="MssnDtls-data">{{{ShipSizeLimit}}}</td> </tr> | + | | <tr> <td class="MssnDtls-label">Ship size limit</td> <td class="MssnDtls-data">{{{ShipSizeLimit}}}</td> </tr> |
− | }} {{#if:{{{ShipSuggestion|}}} | + | }} {{#if: {{{ShipSuggestion|}}} |
− | |<tr> <td class="MssnDtls-label">Ship suggestion</td> <td class="MssnDtls-data">{{{ShipSuggestion}}}</td> </tr> | + | | <tr> <td class="MssnDtls-label">Ship suggestion</td> <td class="MssnDtls-data">{{{ShipSuggestion}}}</td> </tr> |
− | }} {{#if:{{{Rewards|}}} | + | }} {{#if: {{{Rewards|}}} |
− | |<tr> <td class="MssnDtls-label">Rewards</td> <td class="MssnDtls-data">{{{Rewards}}}</td> </tr> | + | | <tr> <td class="MssnDtls-label">Rewards</td> <td class="MssnDtls-data">{{{Rewards}}}</td> </tr> |
− | }} {{#if:{{{StandingLoss|}}} | + | }} {{#if: {{{StandingLoss|}}} |
− | |<tr> <td class="MssnDtls-label">Standing loss</td> <td class="MssnDtls-data">{{{StandingLoss}}}</td> </tr> | + | | <tr> <td class="MssnDtls-label">Standing loss</td> <td class="MssnDtls-data">{{{StandingLoss}}}</td> </tr> |
− | }} {{#if:{{{Extra|}}} | + | }} {{#if: {{{Extra|}}} |
− | |<tr> <td class="MssnDtls-label">Extra</td> <td class=" | + | | <tr> <td class="MssnDtls-label">Extra</td> <td class="MssnDtls-data">{{{Extra}}}</td> </tr> |
}} | }} | ||
− | </table> </includeonly><noinclude>{{documentation}}</noinclude> | + | </table></includeonly> |
+ | <noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of the templates /doc, not here --></noinclude> |
Revision as of 16:03, 18 June 2023
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is meant for creating the short summary info for missions. It should be used at the beginning of all mission report articles.
- Dependencies
- Uses
- {{Damage to deal}}
- {{Damage to resist}}
- Syntax
- Usage: At the beginning of the article add the following and fill the mission info to it.
{{Missiondetails |Name= |Level= |Storyline= |Type= |Objective= |Faction1= |DamageToDeal1= |DamageToResist1= |WebPoint= |EWAR= |ShipSizeLimit= |ShipSuggestion= |Rewards= |StandingLoss= |Extra= }}
- Parameters
-
- Name
- Name of the mission. Spelled and capitalized exactly as written in-game. Not intended to be used on mission articles.
- Level
- Level of the mission. For standard missions this is the level of the agent. For storyline missions this is the level of the standard missions the mission is awarded for.
- Storyline
- yes if the mission is a storyline mission e.g. the "extra" mission offered for completing 16 missions of the same level for the same faction. Omit if not.
- Type
- Type of the mission (Courier, Encounter, Mining, Trade, Talk to Agent(Travel), Agent Interaction(Branch) — Industry, Exploration). This can be found in the mission journal.
- Objective
- Mission objective. Kill everything, retrieve X, do a thing etc. Can be found on the right side of the agent dialog window.
- Faction<x>
- x is 1 to 4. Opposing faction (automatic damage when using a well known faction).
Well known Factions Full name Variations Amarr Empire Amarr Ammatar Angel Cartel Angel Blood Raider Covenant Blood Raiders Caldari State Caldari CONCORD Equilibrium of Mankind EOM Gallente Federation Gallente Guristas pirates Guristas Khanid Kingdom Khanid Mercenaries Minmatar Republic Minmatar Mordu's Legion Mordu's Rogue Drones Sansha's Nation Sansha's Serpentis The Syndicate Syndicate Thukker Tribe
- Faction
- Overrides all Faction<x> choices and does not align damage/resist profiles properly. use this if the faction need long explanations.
- DamageToDeal<x>
- x is 1 to 4. The damage typ(s) to deal. Overrides default damage to deal for well known factions. Use
{{Damagetype}}
. Only visible when there is an actualFaction<x>
. - DamageToDeal
- Overrides all automatic damage info and does not align to many factions. Use if long explanation for best damage.
- DamageToResist<x>
- x is 1 to 4. The damage type(s) to resist against. Overrides default damage to resist for well known factions. Use
{{Damagetype}}
. Only visible when there is an actualFaction<x>
. - DamageToResist
- Overrides all automatic resist
DamageToResist<x>
info and does not align with multiple factions. Use if long explanation is needed. - WebPoint
- Points or scrams in the mission. Web is in name only due to historical reasons and webs should be in EWAR section.
- EWAR
- EWAR in the mission.
- ShipSizeLimit
- Limit on ship size. Only fill if mission has special limits (normal missions allow all subcapital ships).
- ShipSuggestion
- Ship recommendations. Only fill this in if there is a special reason to use suggested ships instead of a normal mission-running ship.
- Rewards
- Rewards. Only fill if mission has special rewards. Normal ISK and LP payouts are not constant and change over time.
- StandingLoss
- Only use if a significant standing loss is incurred. Mainly for empire faction standing loss.
- Extra
- Fill if there is something extra noteworthy. For example, a mission requiring a salvager, a mission with time limits, or unusual dangers.
- Sample
- Simple sample: Just put in the info for mission and leave damage and resist fields empty to use automatic info.
{{Missiondetails |Level= 4 |Type= Encounter |Objective= Retrieve Damsel in Distress |Faction1= Mercenaries |DamageToDeal1= |DamageToResist1= |WebPoint= Elite frigates point |EWAR= |ShipSizeLimit= |ShipSuggestion= Battleship |Rewards= |Extra= }}
Gives:
- Example: Mixing manual and automatic info
{{Missiondetails |Level= 4 |Type= Encounter |Objective= Retrieve Damsel in Distress |Faction1= Mercenaries |DamageToDeal1= |DamageToResist1= {{Damagetype|Em}} |Faction2= Serpentis |DamageToResist2= |DamageToDeal2= |Faction3= Local Pirates |DamageToDeal3= {{Damagetype|Em|th}} |DamageToResist3= {{Damagetype|Omni}} |WebPoint= |EWAR= |ShipSizeLimit= |ShipSuggestion= Battleship |Rewards= |Extra= }}
Gives:
- Example: Complex factions and damage profiles
{{Missiondetails |Level= |Type= Encounter |Objective= Retrieve The Ringmaster (1.0 m3) |Faction= Consumption Junkies and Lustadores (Serpentis ships), Sinful Saints (Angel ships) |DamageToDeal= {{Damagetype|Kin|th}} (Serpentis ships) and {{Damagetype|Ex|Kin}} (Angel ships) |DamageToResist= {{Damagetype|Ex|Kin|th}} |WebPoint= |EWAR= Target painters and very strong dampening |ShipSizeLimit= |ShipSuggestion= |Rewards= |Extra= }}
Gives:
Visit Template:Missiondetails/doc to edit this text! (How does this work?) (Refresh this text - why?)