Difference between revisions of "Template:Zone Table"
From Mushpedia
Alfalfawar (Talk | contribs) m |
|||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly><onlyinclude>[[Image:{{{Name|{{{1}}}}}}.png|left]] {{{Description}}}<br> | + | <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}})}}}}|}} |
| + | [[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.}}'' | ||
{| class="wikitable" {{#if: {{{Width}}}|width="{{{Width}}}"|}} | {| class="wikitable" {{#if: {{{Width}}}|width="{{{Width}}}"|}} | ||
! width="200px" | Name !! width="50%" | Log !! width="50%" | Result !! style="white-space:nowrap;" width="1%" | Base % {{#if: {{{Bonus Chance|}}}|!! style="white-space:nowrap;" width="1%" {{!}} {{{Bonus Chance}}}|}}{{#if: {{{2nd Bonus Chance|}}}|!! style="white-space:nowrap;" width="1%" {{!}} {{{2nd Bonus Chance}}}|}}{{#if: {{{Combined Bonus Chance|}}}|!! style="white-space:nowrap;" width="1%" {{!}} {{{Combined Bonus Chance}}}|}} | ! width="200px" | Name !! width="50%" | Log !! width="50%" | Result !! style="white-space:nowrap;" width="1%" | Base % {{#if: {{{Bonus Chance|}}}|!! style="white-space:nowrap;" width="1%" {{!}} {{{Bonus Chance}}}|}}{{#if: {{{2nd Bonus Chance|}}}|!! style="white-space:nowrap;" width="1%" {{!}} {{{2nd Bonus Chance}}}|}}{{#if: {{{Combined Bonus Chance|}}}|!! style="white-space:nowrap;" width="1%" {{!}} {{{Combined Bonus Chance}}}|}} | ||
|- | |- | ||
| − | | style="white-space:nowrap;" | '''{{{Event 1}}}''' || {{{Log 1}}} || {{{Result 1}}} || align="center"|{{{Base Chance 1}}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Bonus Chance 1}}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{2nd Bonus Chance 1}}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Combined Bonus Chance 1}}}%|}} | + | | style="white-space:nowrap;" | '''{{{Event 1}}}''' || {{{Log 1}}} || {{{Result 1}}} || align="center"|{{#expr:({{{Base Chance 1}}}/{{#var:Base Chance Tally}}*100)round2}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Bonus Chance 1}}}/{{#var:Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{2nd Bonus Chance 1}}}/{{#var:2nd Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Combined Bonus Chance 1}}}/{{#var:Combined Bonus Chance Tally}}*100)round2}}%|}} |
|- | |- | ||
| − | | style="white-space:nowrap;" |'''{{{Event 2}}}''' || {{{Log 2}}} || {{{Result 2}}} || align="center"|{{{Base Chance 2}}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Bonus Chance 2}}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{2nd Bonus Chance 2}}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Combined Bonus Chance 2}}}%|}} | + | | style="white-space:nowrap;" |'''{{{Event 2}}}''' || {{{Log 2}}} || {{{Result 2}}} || align="center"|{{#expr:({{{Base Chance 2}}}/{{#var:Base Chance Tally}}*100)round2}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Bonus Chance 2}}}/{{#var:Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{2nd Bonus Chance 2}}}/{{#var:2nd Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Combined Bonus Chance 2}}}/{{#var:Combined Bonus Chance Tally}}*100)round2}}%|}} |
|- | |- | ||
| − | | style="white-space:nowrap;" |'''{{{Event 3}}}''' || {{{Log 3}}} || {{{Result 3}}} || align="center"|{{{Base Chance 3}}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Bonus Chance 3}}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{2nd Bonus Chance 3}}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Combined Bonus Chance 3}}}%|}} | + | | style="white-space:nowrap;" |'''{{{Event 3}}}''' || {{{Log 3}}} || {{{Result 3}}} || align="center"|{{#expr:({{{Base Chance 3}}}/{{#var:Base Chance Tally}}*100)round2}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Bonus Chance 3}}}/{{#var:Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{2nd Bonus Chance 3}}}/{{#var:2nd Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Combined Bonus Chance 3}}}/{{#var:Combined Bonus Chance Tally}}*100)round2}}%|}} |
|- | |- | ||
| − | | style="white-space:nowrap;" |'''{{{Event 4}}}''' || {{{Log 4}}} || {{{Result 4}}} || align="center"|{{{Base Chance 4}}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Bonus Chance 4}}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{2nd Bonus Chance 4}}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{{Combined Bonus Chance 4}}}%|}} | + | | style="white-space:nowrap;" |'''{{{Event 4}}}''' || {{{Log 4}}} || {{{Result 4}}} || align="center"|{{#expr:({{{Base Chance 4}}}/{{#var:Base Chance Tally}}*100)round2}}% {{#if: {{{Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Bonus Chance 4}}}/{{#var:Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{2nd Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{2nd Bonus Chance 4}}}/{{#var:2nd Bonus Chance Tally}}*100)round2}}%|}} {{#if: {{{Combined Bonus Chance|}}}|{{!}}{{!}} align="center" {{!}} {{#expr:({{{Combined Bonus Chance 4}}}/{{#var:Combined Bonus Chance Tally}}*100)round2}}%|}} |
|}</onlyinclude></includeonly> | |}</onlyinclude></includeonly> | ||
This template is to be used in the [[Zones]] article to display a table containing zone information. | This template is to be used in the [[Zones]] article to display a table containing zone information. | ||
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
This pseudo-section does not exist on planets but is the first step in any exploration.Always successful if there is a
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.
Pilot consists of 100 samples.
| Name | Log | Result | Base % | |
|---|---|---|---|---|
| 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% |