Template:Missionbox: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(54 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div id="main_viewer_interior" style="min-height: 275px; z-index: 100; ">
<includeonly><div id="main_viewer_interior" style="min-height: 275; z-index: 100; width: 60%">
<div class="main_viewer_fill" id="quest"><div class="mission_banner" style="background-image: url("https://cdn.discordapp.com/attachments/687009011748569138/689180149442543616/mars_space.png"); 
<div class="main_viewer_fill" id="quest">
  background-position: center; background-size: cover;">
{{#switch: {{{header}}}
| Gem = <div class="mission_banner gem backstyle">
| Earth 1 = <div class="mission_banner earth backstyle">
| Earth 2 = <div class="mission_banner earth_space backstyle">
| Mars 1 = <div class="mission_banner mars backstyle">
| Mars 2 = <div class="mission_banner mars_space backstyle">
| Jupiter = <div class="mission_banner jupiter_space backstyle">
| Mercury = <div class="mission_banner mercury backstyle">
| Eris = <div class="mission_banner eris_space backstyle">
| Venus = <div class="mission_banner venus backstyle">
| Northern Lights = <div class="mission_banner northernlights backstyle">
| Explosion = <div class="mission_banner explosion backstyle">
| #default = <div class="mission_banner earth backstyle">
}}
<small style="float:right; margin:10px; color:lightgray; text-align:right;">
<small style="float:right; margin:10px; color:lightgray; text-align:right;">
<span style="color: lightgreen;">Very Easy</span><br>
<span style="color:{{#switch: {{{diff}}}
Ship: Any<br>
| Very Easy = lightgreen
Steps: 1<br>
| Easy = green
ID: 8
| Standard = white
| Moderate = lightpink
| Hard = #fc6f6f
| Very Hard = red
| Impossible = orange
}}">{{{diff}}}</span><br>
Ship: {{{type}}}<br>
Steps: {{{steps}}}<br>
ID: {{{id}}}
</small>
</small>
<div class="mission_name">Exporting Stones</div></div><div class="content" style="font-weight: normal; padding:10px;  padding-top:0px; margin-top:0;"><div style=" padding:10px; color:white;"><div style="padding:5px; margin-bottom:5px;  font-size:12pt;  text-align:left; "><div style=" float:left; margin-bottom:15px;" id="pic">[[File:TerranOfficer.png|100px]]</div><div style="font-size:11pt; padding-bottom:5px;">MarSec Officer: Beats me, I have no idea why those Terran fools get such a kick out of Martian Rocks. They're rocks for crap sake, who cares?! But if those idiots are willing to pay for them, we'll ship em. Take a load of stones to Earth if you're up for it. </div></div><hr style="clear:both; margin-top:15px;"><div style="padding-bottom:10px;" align="center">Mission: Sell 25 Martian Rocks to Earth.</div></div>
<div class="mission_name" style="position: absolute; bottom: 0px;padding-left: 10px;">{{{name}}}</div></div>
<div align="center"><span style="clear:both; "><div style="margin-top:10px;"><strong>REWARDS</strong></div>
<div class="content" style="font-weight: normal; padding:10px;  padding-top:0px; margin-top:0;"><div style=" padding:10px; color:white;"><div style="padding:5px; margin-bottom:5px;  font-size:12pt;  text-align:left; "><div style=" float:left; padding-right:20px;  margin-bottom:15px;" id="pic">[[File:{{{img}}}|100px]]</div>
Experience: 25 •
<div class="descstyle">{{{desc}}}</div></div>
Intel: 10 •
<hr class="deschr"><div align="center">Mission: {{{obj}}}</div></div>
Money: 1500 •
<!--{{#switch: {{{Steps}}}
Reputation: 25
| #default =
<div style="max-width:450px;"></div><br></span></div>
| 2 = <div class="mw-collapsible {{#ifeq:{{{collapse}}}|yes|mw-collapsed}}"><div class="mw-collapsible-content"><div style=" padding:10px;"><hr class="deschr"></div><div class="content" style="font-weight: normal; padding-top:0px; margin-top:0;"><div style=" padding:10px; color:white;"><div style="padding:5px; margin-bottom:5px;  font-size:12pt;  text-align:left; "><div style=" float:left; padding-right:20px; margin-bottom:15px;" id="pic">[[File:{{{Image}}}|120px]]</div><div class="descstyle">{{{Desc2}}}</div></div><div align="center">Mission: {{{Obj2}}}</div></div></div></div></div>
<div align="center">
| 3 = <div style=" padding:10px;"><hr class="deschr"><div class="descstyle">{{{Desc2}}}</div><br><hr class="deschr"><div class="descstyle">{{{Desc3}}}</div>
Progress: <span style="color: white;">0/25 Martian Rocks sold to Earth</span>
| 4 =
</div>
| 5 =
</div> <hr>
| 6 =
<span style="font-size: 15px !important;
| 7 =
    margin-top: 20px !important;
| 8 =
    margin-bottom: 0px !important;
| 9 =
    color: #880027;
| 10 =
    font-weight: bold;
| 11 =
    line-height: 18px;" ;=""></span>
| 12 =
<div align="center">
| 13 =  
<a href="#" onclick="missions()" class="btn btn-dark">« Missions</a> |
| 14 =  
<a href="#" onclick="clearScreenDefault()" class="btn btn-light">Clear Screen</a>
| 15 =  
<span id="confirm">| <a href="#" onclick="questMasterQuit()" class="btn btn-warning">Abandon Mission</a></span>
}}-->
<br><br>
<div align="center"><span style="clear:both;"><div style="color:white"><strong>REWARDS</strong></div>
</div></div>
<div style="color:white">{{{rewards}}}</div></span></div></div></div></div></includeonly><noinclude>{{/doc}}</noinclude>
</div>

Latest revision as of 18:40, 6 April 2021

Template documentation
This documentation is transcluded from Template:Missionbox/doc. [edit] [purge]

This template is used to display the original appearance of a mission in-game.

Syntax

  • header - The top image of the missionbox.
    • Earth - Displays the Earth Banner for the header image
    • Mars - Displays the Mars Banner for the header image Has yet to be added
    • Jupiter - Displays the Jupiter Banner for the header image
    • Eris - Displays the Eris Banner for the header image
    • Venus - Displays the Venus Banner for the header image Has yet to be added
    • Explosion - Displays the Explosion Banner for the header image
    • Northern Lights - Displays the Northern Lights Banner for the header image
  • name - The name of the mission
  • img - Mission speaker image, e.g. Carter.
  • diff - Mission Difficulty: Very easy, Easy, Standard, Moderate, Hard, Very Hard, Impossible.
  • type - Type of ship required for mission: Freighter, Scout, Fighter, Any.
  • steps - The number of steps in the mission
  • id - Mission ID
  • obj - Mission Objective
  • desc - Mission Description or message by the mission speaker
  • rewards - Mission Rewards

Usage

{{Missionbox
|header = 
|name = 
|img = 
|diff = 
|type = 
|steps = 
|id = 
|desc =
|obj = 
|rewards = 
}}

Example

{{Missionbox
|header = Jupiter
|name = JayCo - A Brief History Pt.2
|img = Carter.png
|diff = Easy
|type = Any
|steps = 1
|id = 58
|desc = Carter: As you can imagine, The energy cell market became a rollercoaster. With only Earth and Mars producing, everyone else was forced to pay whaterver rates the bickering planets had decided for the hour. A small group of entrepreneurs tried to set up their own energy cell generators, but the heavy-handed bureaucracy of Mars and Earth made it difficult. By luck, a man by the name of Theodore Rouse discovered that helium could be converted into an alternative power source, one that was compatible with Gemini Station's reactor cluster. With energy cells needed to power everything from hand scanners, to automated cargo drones, helium could be used to help keep Gem's core system powered.
|obj = Sell 50 [[Small Helium Canister|Small Helium Canisters]] to [[Gemini Station]].
|rewards = Experience: 125 {{*}} Intel: 0 {{*}} Money: 1500 {{*}} Reputation: 25 {{*}} Mod: Random Mod
}}

Outputs:

Easy
Ship: Any
Steps: 1
ID: 58

JayCo - A Brief History Pt.2
Carter: As you can imagine, The energy cell market became a rollercoaster. With only Earth and Mars producing, everyone else was forced to pay whaterver rates the bickering planets had decided for the hour. A small group of entrepreneurs tried to set up their own energy cell generators, but the heavy-handed bureaucracy of Mars and Earth made it difficult. By luck, a man by the name of Theodore Rouse discovered that helium could be converted into an alternative power source, one that was compatible with Gemini Station's reactor cluster. With energy cells needed to power everything from hand scanners, to automated cargo drones, helium could be used to help keep Gem's core system powered.

REWARDS
Experience: 125 Intel: 0 Money: 1500 Reputation: 25 Mod: Random Mod

Other Examples

Moderate
Ship: Any
Steps: 7
ID: 100

Example Mission
Carter: Example Text

REWARDS
Experience: 125 Intel: 0 Money: 1500 Reputation: 25 Mod: Random Mod

Very Hard
Ship: Any
Steps: 7
ID: 100

Example Mission
Carter: Example Text

REWARDS
Experience: 125 Intel: 0 Money: 1500 Reputation: 25 Mod: Random Mod

Impossible
Ship: Any
Steps: 7
ID: 100

Example Mission
Carter: Example Text

REWARDS
Experience: 125 Intel: 0 Money: 1500 Reputation: 25 Mod: Random Mod

Hard
Ship: Any
Steps: 7
ID: 100

Example Mission
Carter: Example Text

REWARDS
Experience: 125 Intel: 0 Money: 1500 Reputation: 25 Mod: Random Mod