Difference between revisions of "Template:Zone Table"

From Mushpedia
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#vardefine:Base Chance Tally|{{#expr:{{{Base Chance 1}}}+{{{Base Chance 2}}}+{{{Base Chance 3}}}+{{{Base Chance 4}}}}}}}{{#vardefine:Bonus Chance Tally|{{#expr:{{{Bonus Chance 1}}}+{{{Bonus Chance 2}}}+{{{Bonus Chance 3}}}+{{{Bonus Chance 4}}}}}}}{{#vardefine:2nd Bonus Chance Tally|{{#expr:{{{2nd Bonus Chance 1}}}+{{{2nd Bonus Chance 2}}}+{{{2nd Bonus Chance 3}}}+{{{2nd Bonus Chance 4}}}}}}}{{#vardefine:Combined Bonus Chance Tally|{{#expr:{{{Combined Bonus Chance 1}}}+{{{Combined Bonus Chance 2}}}+{{{Combined Bonus Chance 3}}}+{{{Combined Bonus Chance 4}}}}}}}
+
<includeonly><onlyinclude>{{#vardefine:Base Chance Tally|{{#expr:{{{Base Chance 1}}}+{{{Base Chance 2}}}+{{{Base Chance 3}}}+{{{Base Chance 4}}}}}}}{{#vardefine:Bonus Chance Tally|{{#expr:{{{Bonus Chance 1}}}+{{{Bonus Chance 2}}}+{{{Bonus Chance 3}}}+{{{Bonus Chance 4}}}}}}}{{#vardefine:2nd Bonus Chance Tally|{{#expr:{{{2nd Bonus Chance 1}}}+{{{2nd Bonus Chance 2}}}+{{{2nd Bonus Chance 3}}}+{{{2nd Bonus Chance 4}}}}}}}{{#vardefine:Combined Bonus Chance Tally|{{#expr:{{{Combined Bonus Chance 1}}}+{{{Combined Bonus Chance 2}}}+{{{Combined Bonus Chance 3}}}+{{{Combined Bonus Chance 4}}}}}}}{{#vardefine:Tally|{{#var:Base Chance Tally}}}}{{#if: {{{Bonus Chance|}}}|{{#vardefine:Tally|{{#expr:({{#var:Base Chance Tally}}+{{#var:Bonus Chance Tally}})}}}}|}}{{#if: {{{2nd Bonus Chance|}}}|{{#vardefine:Tally|{{#expr:({{#var:Base Chance Tally}}+{{#var:Bonus Chance Tally}}+{{#var:2nd Bonus Chance Tally}})}}}}|}}{{#if: {{{Combined Bonus Chance|}}}|{{#vardefine:Tally|{{#expr:({{#var:Base Chance Tally}}+{{#var:Bonus Chance Tally}}+{{#var:2nd Bonus Chance Tally}}+{{#var:Combined Bonus Chance Tally}})}}}}|}}
{{#vardefine:Tally|{{#var:Base Chance Tally}}}}{{#if: {{{Bonus Chance|}}}|{{#vardefine:Tally|{{#expr:({{#var:Base Chance Tally}}+{{#var:Bonus Chance Tally}})}}}}|}}{{#if: {{{2nd Bonus Chance|}}}|{{#vardefine:Tally|{{#expr:({{#var:Base Chance Tally}}+{{#var:Bonus Chance Tally}}+{{#var:2nd Bonus Chance Tally}})}}}}|}}{{#if: {{{Combined Bonus Chance|}}}|{{#vardefine:Tally|{{#expr:({{#var:Base Chance Tally}}+{{#var:Bonus Chance Tally}}+{{#var:2nd Bonus Chance Tally}}+{{#var:Combined Bonus Chance Tally}})}}}}|}}
+
[[Image:{{{Name|{{{1}}}}}}.png|left]] {{{Description}}}<br>''The supplied data was harvested from {{#var:Tally}} samples. {{#if: {{{Bonus Chance|}}}|'''Base''' consists of {{#var:Base Chance Tally}} samples. {{{Bonus Chance}}} consists of {{#var:Bonus Chance Tally}} samples.}} {{#if: {{{2nd Bonus Chance|}}}|{{{2nd Bonus Chance}}} consists of {{#var:2nd Bonus Chance Tally}} samples.}} {{#if: {{{Combined Bonus Chance|}}}|'''{{{Combined Bonus Chance}}}''' consists of {{#var:Combined Bonus Chance Tally}} samples.}}''
[[Image:{{{Name|{{{1}}}}}}.png|left]] {{{Description}}}<br>''The supplied data was harvested from {{#var:Tally}} samples.{{#if: {{{Bonus Chance|}}}| Base consists of {{#var:Base Chance Tally}}. {{{Bonus Chance}}} consists of {{#var:Bonus Chance Tally}} samples.}}{{#if: {{{2nd Bonus Chance|}}}| {{{2nd Bonus Chance}}} consists of {{#var:2nd Bonus Chance Tally}} samples.}}{{#if: {{{Combined Bonus Chance|}}}| {{{Combined Bonus Chance}}} consists of {{#var:Combined Bonus Chance Tally}} samples.}}''
+
  
 
{| class="wikitable" {{#if: {{{Width}}}|width="{{{Width}}}"|}}
 
{| class="wikitable" {{#if: {{{Width}}}|width="{{{Width}}}"|}}

Latest revision as of 04:19, 24 April 2014

This template is to be used in the Zones article to display a table containing zone information.

Usage

{{Zone Table
| Name = 
| Width =
| Description = 
|
| Bonus Chance = 
| 2nd Bonus Chance =
| Combined Bonus Chance =
|
| Event 1 = 
| Log 1 = 
| Result 1 = 
| Base Chance 1 = 
| Bonus Chance 1 = 
| 2nd Bonus Chance 1 =
| Combined Bonus Chance 1 =
|
| Event 2 = 
| Log 2 = 
| Result 2 = 
| Base Chance 2 = 
| Bonus Chance 2 = 
| 2nd Bonus Chance 2 =
| Combined Bonus Chance 2 =
|
| Event 3 = 
| Log 3 = 
| Result 3 = 
| Base Chance 3 = 
| Bonus Chance 3 =
| 2nd Bonus Chance 3 =
| Combined Bonus Chance 3 =
|
| Event 4 = 
| Log 4 = 
| Result 4 = 
| Base Chance 4 = 
| Bonus Chance 4 = 
| 2nd Bonus Chance 4 =
| Combined Bonus Chance 4 =
}}
Name
Title of zone.
Width
Optional
Width of the resulting table. Add % or px.
Description
Text describing the sample size and any exploration gear that modifies events.
Bonus Chance
Optional: Title of any 'bonus' chance column.
2nd Bonus Chance
Optional: See above.
Combined Bonus Chance
Optional: Title for the chances of both above columns combined.
Event X
Title of event.
Log X
In-game log describing the event.
Result X
In-game result of the event.
Base Chance X
Base chance for this event to occur.
Bonus Chance X
Optional: Chance for this event to occur if "Bonus Chance" applies.
2nd Bonus Chance X
Optional: Chance for this event to occur if "2nd Bonus Chance" applies.
Combined Bonus Chance X
Optional: Chance for this event to occur if both above chances apply.

Example

{{Zone Table|
| Name = Landing
|
| Description = This pseudo-section does not exist on planets but is the first step in any exploration.<br>
Always successful if there is a {{Skill|Pilot}} who landed in the group, even if he is not the one to actually pilot the Icarus.<br>
(Percentages are based on 110 samples, all without Pilot.)
|
| Bonus Chance = {{Skill|Pilot}}
|
| Event 1 = Nothing to Report
| Log 1 = The landing went exactly as planned. Nothing to report!
| Result 1 = The zone has been explored, nothing to report.
| Base Chance 1 = 38
| Bonus Chance 1 = 100
|
| Event 2 = Fatigue
| Log 2 = The landing was difficult, ['''craft'''] turned and shook violently, the crew is sick.
| Result 2 = All team members sustain 2 Points of Damage.
| Base Chance 2 = 30
| Bonus Chance 2 = 0
|
| Event 3 = Accident
| Log 3 = ['''craft'''] has a catastrophic landing on ['''planet'''], and during the manoeuvre, ['''character'''] got hurt!
| Result 3 = A team member sustains 3 to 5 Points of Damage.
| Base Chance 3 = 23
| Bonus Chance 3 = 0
|
| Event 4 = Catastrophy
| Log 4 = ['''craft'''] crashed to earth on ['''planet''']. The crew has been knocked out.
| Result 4 = All team members have sustained 3 to 5 Points of Damage.
| Base Chance 4 = 9
| Bonus Chance 4 = 0
}}

Result

Landing.png
This pseudo-section does not exist on planets but is the first step in any exploration.

Always successful if there is a Icon Pilot who landed in the group, even if he is not the one to actually pilot the Icarus.
(Percentages are based on 110 samples, all without Pilot.)
The supplied data was harvested from 200 samples. Base consists of 100 samples. Icon Pilot consists of 100 samples.

Name Log Result Base % Icon Pilot
Nothing to Report The landing went exactly as planned. Nothing to report! The zone has been explored, nothing to report. 38% 100%
Fatigue The landing was difficult, [craft] turned and shook violently, the crew is sick. All team members sustain 2 Points of Damage. 30% 0%
Accident [craft] has a catastrophic landing on [planet], and during the manoeuvre, [character] got hurt! A team member sustains 3 to 5 Points of Damage. 23% 0%
Catastrophy [craft] crashed to earth on [planet]. The crew has been knocked out. All team members have sustained 3 to 5 Points of Damage. 9% 0%