Difference between revisions of "User:Luxxianna Seraph/Sandbox/MissionHoverBox/PVEArticle"

From EVE University Wiki
Jump to: navigation, search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
+
<includeonly><!-- More CSS in MediaWiki:Common.css -->
<!-- More CSS in MediaWiki:Common.css -->
+
__NOTOC__ {{#if: {{{ParentMission|}}}|<noinclude>__NOTOC__{{main|{{{ParentMission}}}}}</noinclude>|}}
 +
{{#ifeq: {{lc: {{{SiteType|}}}}}|mission|{{NPCTableCSS}}{{MissionLinks}}| }}
 +
{{{{#switch:{{lc: {{{SiteType|}}}}} |combat=CMBSiteInfo|mission=Missiondetails|#default=CMBSiteInfo}}
 +
| name= {{{Name}}}
 +
| type= {{{TypeDetail|}}}
 +
| rating= {{{Rating|}}}
 +
| location= {{{Location|}}}
 +
| ship limit= {{{ShipLimit|None}}}
 +
| faction= {{{Faction}}}
 +
| faction2 = {{{Faction2|}}}
 +
| damage= {{{Damage|}}}
 +
| resist= {{{Resist|}}}
 +
| signature strength= {{{SignalStrength|}}}
 +
<!-- Missiondetails template -- Todo, bring Mission Details Template in line with similar names as above? -->
 +
| Level= {{{Rating|}}}
 +
| Type= {{{SiteType|}}}
 +
| Objective= {{{MissionObjective|}}}
 +
<!-- | Faction1= {{{Faction}}}  - same name as above -->
 +
<!-- | Faction1= {{{Faction2|}}} - same name as above -->
 +
| DamageToDeal1= {{{Damage|}}}
 +
| DamageToResist1= {{{Resist|}}}
 +
| DamageToDeal2= {{{Damage2|}}}
 +
| DamageToResist2= {{{Resist2|}}}
 +
| WebPoint= {{{WarpDisrupt|}}} {{{Webs|}}}
 +
| EWAR=  {{{EWARQuickTip|}}} {{{EWARQuickTip1|}}} {{{EWARQuickTip2|}}}
 +
| ShipSizeLimit={{{ShipLimit|None}}}
 +
| ShipSuggestion= {{{ShipSuggestion|}}}
 +
| Rewards= {{{MissionRewards|}}}
 +
| StandingLoss= {{{StandingLoss|}}}
 +
|Extra= {{{Extra|}}}
 +
}}
  
 +
{{#if: {{{ShortDesc|}}}|
 +
===Description===
 +
{{{ShortDesc|}}}
 
}}
 
}}
  
{{CMBSiteInfo | {{{Faction}}} {{{Name}}} }} <!--Add error check -->
 
  
{{{ShortDesc|}}}
+
{{#if: {{{MissionBlitz|}}}|
 +
===Blitz===
 +
{{{MissionBlitz|}}}
 +
}}
  
 
{{Expected NPC
 
{{Expected NPC
     | TotalExpEnemiesSectionText = {{{EnemiesSectionText|}}}
+
     | TotalExpEnemiesSectionText = {{{TotalExpEnemiesSectionText|}}}
     | TotalExpFrigates         = {{{TotalExpFrigates|}}}
+
     | TotalExpFrigates           = {{{TotalExpFrigates|}}}
     | TotalExpDestroyers     = {{{TotalExpDestroyers|}}}
+
     | TotalExpDestroyers         = {{{TotalExpDestroyers|}}}
     | TotalExpCruisers         = {{{TotalExpCruisers|}}}
+
     | TotalExpCruisers           = {{{TotalExpCruisers|}}}
     | TotalExpBattlecruisers = {{{TotalExpBattlecruisers|}}}
+
     | TotalExpBattlecruisers     = {{{TotalExpBattlecruisers|}}}
     | TotalExpBattleships     = {{{TotalExpBattleships|}}}
+
     | TotalExpBattleships       = {{{TotalExpBattleships|}}}
     | TotalExpCapitals         = {{{TotalExpCapitals|}}}
+
     | TotalExpCapitals           = {{{TotalExpCapitals|}}}
     | TotalExpSentries         = {{{TotalExpSentries|}}}
+
     | TotalExpSentries           = {{{TotalExpSentries|}}}
 
}}
 
}}
  
 +
{{{TotalExpEnemiesSectionText|}}}
 +
 +
{{{Walkthrough|}}}
  
{{Combat Anomalies|{{{Faction}}}}}
+
{{User:Luxxianna Seraph/Sandbox/MissionHoverBox/PVEFooter|{{{SiteType}}}|{{#ifeq: {{lc:{{{TypeDetail}}}}}|encounter|Security|{{{TypeDetail}}}}}}}</includeonly><noinclude>
[[Category:Combat Anomalies]]
+
{{documentation}}
 +
</noinclude>

Latest revision as of 00:03, 7 June 2023

Template documentation (for the above template, sometimes hidden or invisible)
Description
This Template is designed to be used similar to {{ShipArticle}} as the primary template for a PVE Site (Mission, Combat, Data, Relic, Event, ect).
It is used in combination with with a few other templates, so any page that implements this template should use the boilerplate described below.
Its currently wrapping and dynamically choosing between {{CMBSiteInfo}} and {{Missiondetails}}. So a TODO would be to bring these two templates in line with each other in terms of parameter names.
Dependencies
Uses
{{NPCTableCSS}}
{{CMBSiteInfo}}
{{Missiondetails}}
{{Expected NPC}}
{{MissionLinks}}
Used in concert with
{{PVE}}
{{PVEFooter}}
{{PVEBoxLarge}} (through template PVE)
{{PVEBoxTooltip}} (through template PVE)


Syntax
{{PVEArticle
        | Faction    =
        | Name       =
        | SiteType   =
        | TypeDetail =
        | Rating     =
        | Location   =
        | ShortDesc  =
        | ShipLimit  =
        | TotalExpEnemiesSectionText = 
        | TotalExpFrigates           =
        | TotalExpDestroyers         = 
        | TotalExpCruisers           =
        | TotalExpBattlecruisers     = 
        | TotalExpBattleships        =
        | TotalExpCapitals           = 
        | TotalExpSentries           =
        | AccelerationGate           = 
        | RatsOnLandingBeacon        =
        | NumberOfWaves              = 
        | NumberOfRooms              =
        | HighestAlphaStrike         = 
        | HighestAverageDPS          = 
        | HighestWaveEHP             = 
        | HighestIndividualEHP       = 
        | WarpDisrupt                =
        | Webs                       =
        | EWAR                       =
        | EWARQuickTip               =
        | EWAR2                      =
        | EWARQuickTip2              =
        | EWAR3                      =
        | EWARQuickTip3              =
        | Timer                      = 
        | MissionRewards             =
        | MissionObjective           =
        | MissionBlitz               =
        | StandingLoss               =
        | Walkthrough                =
}}
Parameters
Shared parameters between Missions and Anomalies
Name (Required)
The Name of the Site - this should be the full name (and usually the same name as the page).
Faction (Required)
The Main Faction involved. This has a pretty decent list of potential values, such as Angel, Angels, Angel Cartel. It also directly informs any Damage or Resistance type fields.
Faction2
Any secondary Faction. Same rules as above.
SiteType (Required)
The Type of site (case in-sensitive): Combat | Mission | Data | Relic
TypeDetail (Required)
This parameter produces a link to the relative article. The parameter is not case-sensitive.
If Combat Site: anomaly, chemical, COSMOS, DED, expedition or unrated.
If Mission: Courier, Encounter, Mining, Trade, Industry, Exploration, Travel, Branch
If Data or Relic: pirate, drone, AEGIS, sleeper cache, ghost, sleeper wormhole, silent, event, special
Rating
The Rating of the Signal (i.e. Class 4 Level 2) or the level of the mission (i.e. 3). If a mission, just put the number.
Location
Where this anomaly takes place. No set values.
ShortDesc
A small one line description of the mission.
ShipLimit
Any limit that an acceleration gate may impose.
ShipSuggestion
A suggested ship class or link to a fit.
TotalExpEnemiesSectionText
A small one line description of the total expected enemies.
TotalExpFrigates
Total number of Frigates
TotalExpDestroyers
# Destroyers
TotalExpCruisers
# Cruisers
TotalExpBattlecruisers
# Battlecruisers
TotalExpCapitals
# Capitals
TotalExpSentries
# Sentries
AccelerationGate
Any Value in this param indicates yes, there are Acceleration Gate. Leave blank if there are none.
RatsOnLandingBeacon
Any value in this param indicates that there will be rats yellow-boxing as soon as a ship warps in directly to the beacon. Leave blank if this is not the case.
NumberOfWaves
The number of waves that will spawn after triggers are destroyed | reached. Leave blank if everything starts on grid
Number of Rooms
The number of rooms beyond the initial acceleration gate. Leave blank if there is no acceleration gate. If AccelerationGate is blank this property is ignored.
HighestAverageDPS
The Highest possible DPS value of an individual ship in all the waves; i.e. the worst threat.
HighestAlphaStrike
The Highest Alpha Strike damage in total for the wave, of all waves; i.e. the wave with the most threat.
HighestIndividualEHP
The largest EHP value of an individual ship in all the waves; i.e. the tankiest ship.
HighestWaveEHP
The wave with the largest total EHP, of all the waves; i.e. the wave that is the tankiest.
EWAR 1,2, 3
Values: TP, ECM, WEAP
If there is EWAR present - use Web or Webs only to trigger special tooltips, otherwise include things such as Target Painter, Weapon Disrupt
WarpDisrupt
Any Value will trigger special tooltips - if possible include the total number of points possible at any given time, otherwise leave blank if 0.
Webs
Any value will trigger special tooltips.
Damage
The damage type dealt by Faction. Auto populated by Faction value, only include (and use {{Damagetype}} ) if the damage dealt differs from the standard for that Faction (or is specific for a site where the Faction usually varies)
Resist
The resist values of the Faction. Auto populated by Faction value, only include (and use {{Damagetype}} ) if the resistances differ from the standard for that Faction (or is specific for a site where the Faction usually varies)
Damage2
Same as Damage but linked to Faction2
Resist2
Same as Resist but linked to Faction2
For Missions Only
StandingLoss
What standing loss will occur from completing this mission
MissionRewards
Rewards (ISK, Items) for completing this mission.
MissionObjective
The objective - Should be exactly what the Neocom shows in game.
MissionBlitz
How to blitz this mission - i.e. Kill the cruiser.
Extra
Any extra notes for Missions
Wiki Code Editable
Walkthrough
Use Walkthrough to put ... anything. Tables are a potential issue, so use {{NPCTableHead}} {{NPCTableSeparator}} {{NPCTableRow}} {{EndTable}} or similar. Always use {{EndTable}} and not |} because that will mess up tables. {{EndTable}} is generic and will work for any Table set of templates
Boilerplate
This template is designed to work in concert with {{PVE}}, {{PVEBoxTooltip}}, and {{PVEBoxLarge}} as the base page that the others will draw from. (In the same manner as {{ShipArticle}} and the Ship Database)
As such, the following boilerplate should be used on every page that implements this template as its primary (ie: all individual pages for Anomaly Sites and Missions)
<! Checked with ShipArticle/doc these noinclude markup-set needs escaping -->
<onlyinclude>{{{{#if:{{{mode|}}}|{{#switch:{{lc: {{{mode}}}}}|box=PVEBoxLarge|#default=PVEBoxTooltip}}|<!--/ is this the reason doc doesn't work? partly. -->PVEArticle}} <!--  Template marker : DON'T EDIT LINE -->

 <!-----------------------------------------------------------
 * PVE SITE ATTRIBUTES SECTION (last update : 2023-06-02)
 -------------------------------------------------------------
 * on editing the attributes, please make sure that you don't
 * leave/mistype any tags required. please follow the same
 * format below and edit only the values (after the = sign).
 ------------------------------------------------------------->

   | Name    = 
   | Rating  = 
... all the attributes used 
}}</onlyinclude> <!-- Template marker : DON'T EDIT LINE -->

TODO
This template is wrapping around {{Missiondetails}} and {{CMBSiteInfo}} - they contain a lot of the same parameters, but named differently. They should be brought in line with each other.
This template makes use of {{Expected NPC}} - the fact that this floats off on its own table in the middle of Anomaly site pages feels off. It should probably be incorproated into {{CMBSiteInfo}} and {{Missiondetails}} directly as part of their boxes.
Mission Sites use a left side, top box for all their info and a right side nav box. Combat sites use a right side info box and a footer nav box. Can we bring these two in line?