From 96f1a725ec85efc2b40d41fc00a6d52133fe2510 Mon Sep 17 00:00:00 2001 From: Alicia G Date: Tue, 23 Jun 2015 12:00:54 -0400 Subject: [PATCH] RollTemplate changed formatting for future update with Vehicles Added a SagaDefault template using allProps for custom formatting --- .../StarWarsSagaEdition.css | 76 ++++++++++++++++++- .../StarWarsSagaEdition.html | 62 ++++++++++----- 2 files changed, 116 insertions(+), 22 deletions(-) diff --git a/Star Wars Saga Edition/StarWarsSagaEdition.css b/Star Wars Saga Edition/StarWarsSagaEdition.css index 4691d448db..1bf888e65a 100644 --- a/Star Wars Saga Edition/StarWarsSagaEdition.css +++ b/Star Wars Saga Edition/StarWarsSagaEdition.css @@ -327,6 +327,76 @@ input.sheet-skillsNotes{ width: 100%; } +/* sheet roll template for Saga Default */ +.sheet-rolltemplate-sagadefault table { + width:100%; + font-size: 1em; + font-family: "Helvetica Neue", Helvetica, sans-serif; + border-collapse:separate; + border:solid black 1px; + border-top-right-radius:5px; + border-top-left-radius:5px; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + -webkit-border-top-left-radius: 5px; + -webkit-border-top-right-radius: 5px; +} + +.sheet-rolltemplate-sagadefault th { + background-color: #000000; + color: #ffffff; + padding: 2px; + line-height: 1.6em; + font-size: 1.2em; + border-top: none; +} +.sheet-rolltemplate-sagadefault .sheet-subheader { + background-color: #333333; + color: #ffffff; + font-size: 1em; + font-style: italic; + text-align: center; +} +.sheet-rolltemplate-sagadefault .sheet-tcat { + font-weight: bold; +} + +.sheet-rolltemplate-sagadefault td { + padding: 5px; + border: 1px solid black; + text-align: left; +} + +.sheet-rolltemplate-sagadefault tr:nth-child(odd) { + background-color: #ffffff; +} + +.sheet-rolltemplate-sagadefault tr:nth-child(even) { + background-color: #C4C4C4; +} + +.sheet-rolltemplate-sagadefault .inlinerollresult { + display: inline-block; + min-width: 1.5em; + text-align: center; + border: 2px solid rgba(167, 168, 170,1); /*Cool Gray 6 C*/ +} + +.sheet-rolltemplate-sagadefault .inlinerollresult.fullcrit { + border: 2px solid #3FB315; +} + +.sheet-rolltemplate-sagadefault .inlinerollresult.fullfail { + border: 2px solid #B31515; +} + +.sheet-rolltemplate-sagadefault .inlinerollresult.importantroll { + border: 2px solid #4A57ED; +} +.sheet-rolltemplate-sagadefault div{ + width:100%; + max-width:400px; +} /* Sheet roll template for Attacks */ .sheet-rolltemplate-attack table { width:100%; @@ -395,7 +465,7 @@ input.sheet-skillsNotes{ } .sheet-rolltemplate-attack div{ width:100%; - max-width:300px; + max-width:400px; } /* sheet roll template for skills */ @@ -449,7 +519,7 @@ input.sheet-skillsNotes{ } .sheet-rolltemplate-skill div{ width:100%; - max-width:300px; + max-width:400px; } /* sheet roll template for stat block */ .sheet-rolltemplate-statBlock table { @@ -486,4 +556,4 @@ input.sheet-skillsNotes{ background-color: #ffffff; font-weight: normal; border: 0px; -} \ No newline at end of file +} diff --git a/Star Wars Saga Edition/StarWarsSagaEdition.html b/Star Wars Saga Edition/StarWarsSagaEdition.html index 5e2c4d8f2e..4d9c451ead 100644 --- a/Star Wars Saga Edition/StarWarsSagaEdition.html +++ b/Star Wars Saga Edition/StarWarsSagaEdition.html @@ -1964,7 +1964,7 @@ For Help, please see the wiki page. -
+
{{#type}} @@ -1988,7 +1988,7 @@ For Help, please see the wiki page. -
+
{{name}}
{{type}}{{/type}}
{{#crewname}}{{/crewname}} @@ -2001,26 +2001,28 @@ For Help, please see the wiki page. Destiny {{destiny}}; {{/destiny}} - {{#background}}Background {{background}}; {{/background}} - Force {{force}} ({{forcedice}}); - Dark Side {{dsp}};
+ {{size}}{{#gender}}{{gender}}{{/gender}} {{race}} {{#class}}{{class}}{{/class}}
+
{{#destiny}}Destiny {{destiny}}; {{/destiny}} + {{#background}} Background {{background}}; {{/background}} + {{#force}} Force {{force}} ({{forcedice}}); {{/force}} + {{#dsp}} Dark Side {{dsp}}; {{/dsp}}
Init {{init}}; Senses Perception {{perception}}; {{#perception-notes}}{{perception-notes}};{{/perception-notes}}
- Languages {{language}}; + {{#language}} Languages {{language}}; {{/language}}
- Defenses Ref {{ref}} (flat-footed {{flatref}}), Fort {{fort}}, Will {{will}};
+ Defenses Ref {{ref}} (flat-footed {{flatref}}), Fort {{fort}} {{#will}}, Will {{will}} {{/will}}; {{#vehicle-armor}} +{{vehicle-armor}} Armor ; {{/vehicle-armor}}
- HP {{hp}}; CT Penalty {{ct}}; Threshold {{dt}};
+ HP {{hp}}; CT Penalty {{ct}}; {{#dr}}DR {{dr}}; {{/dr}}{{#sr}}SR {{sr}}; {{/sr}}Threshold {{dt}};
{{#immune}} Immune {{immune}}; {{/immune}}
- Speed {{speed}};
+ Speed {{speed}}; + {{#fightingspace}}
Fighting Space {{fightingspace}}; {{/fightingspace}} + {{#cover}} Cover {{cover}}; {{/cover}} +
+ Melee by Weapon {{meleeatk}} (dmg {{meleedmg}});
- Melee by Weapon {{meleeatk}} dmg {{meleedmg}};
- - Ranged by Weapon {{rangedatk}} dmg {{rangeddmg}};
+ Ranged by Weapon {{rangedatk}} (dmg {{rangeddmg}});
Base Atk {{bab}}; Grp {{grapple}};
@@ -2038,16 +2040,38 @@ For Help, please see the wiki page. Starship Maneuvers {Pilot +{{pilot}}) {{maneuvers}};
{{/maneuvers}}
- Abilities Str {{str}}, Dex {{dex}}, Con {{con}}, Int {{int}}, Wis {{wis}}, Cha {{cha}}
+ Abilities Str {{str}}, Dex {{dex}}, Con {{con}}, Int {{int}}, Wis {{wis}}, Cha {{cha}} - {{#specialqualities}}Special Qualities {{specialqualities}};
{{/specialqualities}} + {{#specialqualities}}
Special Qualities {{specialqualities}};{{/specialqualities}} - Talents {{talent}}
+ {{#talent}}
Talents {{talent}} {{/talent}} - Feats {{feat}}
+ {{#feat}}
Feats {{feat}} {{/feat}} - {{#systems}} Systems {{systems}};
{{/systems}} + {{#skills}}
Skills {{skills}} {{/skills}} + + {{#systems}}
Systems/Updrades {{systems}}; {{/systems}} + + {{#crew}}
Crew {{crew}}; {{/crew}} + {{#passengers}}Passengers {{passengers}}; {{/passengers}} +
{{#cargo}} Cargo {{cargo}}; {{/cargo}} + {{#consumables}}Consumables {{consumables}}; {{/consumables}}
+ {{#payload}}
Payload {{payload}}; {{/payload}} + {{#hyperdrive}}
Hyperdrive {{hyperdrive}}; {{/hyperdrive}} +
{{#availability}}Availability {{availability}}; {{/availability}} + {{#cost}}Cost {{cost}}; {{/cost}}
{{name}} {{skill}}
{{crewname}}
+ + +
+ + + {{#subheader}} + {{#allprops() header subheader}} + + {{/allprops() header subheader}} +
{{header}}
{{subheader}}{{/subheader}}
{{key}} {{value}}
+
\ No newline at end of file