From GamingWiki
Jump to: navigation, search
Line 51: Line 51:
 
| colspan="3" class="shaded" | <!--
 
| colspan="3" class="shaded" | <!--
  
Define the types of skills available. These each have their own class, too.
+
  Skill listing setup
 +
 
 +
Define the types of skills available, and add a list of them to
 +
the character sheet. These each have their own class, too.
  
 
-->{{#vardefine: skillClass  | {{{skillclass|skill}}} }}<!--
 
-->{{#vardefine: skillClass  | {{{skillclass|skill}}} }}<!--
Line 57: Line 60:
 
-->{{#vardefine: stidx      | 0 }}<!--
 
-->{{#vardefine: stidx      | 0 }}<!--
 
-->{{#while: <!--
 
-->{{#while: <!--
   -->| {{#vardefineecho: skilltype | {{#explode: {{{skilltypes|combat track}}} | | {{#var: stidx}} }} }}<!-- end vardefineecho
+
   -->| {{#vardefineecho: skilltype | <!--
 +
      -->{{#explode: {{{skilltypes|combat track}}} | | {{#var: stidx}} }} <!--
 +
    -->}}<!-- end vardefineecho
 
   -->| {{#vardefine: {{#var:skilltype}}Class | {{#var:skilltype}} }}<!--
 
   -->| {{#vardefine: {{#var:skilltype}}Class | {{#var:skilltype}} }}<!--
 
     -->{{#ifeq:{{#var:stidx}}|0|types: |, }} <!--
 
     -->{{#ifeq:{{#var:stidx}}|0|types: |, }} <!--
     --><span class="{{#var: skillClass}} {{#var: {{#var:skilltype}}Class}}">{{#var:skilltype}}</span><!--
+
     --><span class="{{#var: skillClass}} {{#var:skilltype}}">{{#var:skilltype}}</span><!--
 
     -->{{#vardefine: stidx | {{#expr: {{#var: stidx}} + 1}} }}<!--
 
     -->{{#vardefine: stidx | {{#expr: {{#var: stidx}} + 1}} }}<!--
 
-->}}<!-- end while -->
 
-->}}<!-- end while -->
 
|-
 
|-
 
<!--
 
<!--
 +
 +
 +
Now define the skill modifiers available. Each of these will have
 +
as associated HTML fragment that is appended to the skill name.
 +
 +
-->{{#vardefine: smidx | 0 }}<!--
 +
-->{{#while: | <!-- while skill marker
 +
  -->{{#vardefineecho: marker | {{#explode: {{{skillmarkers|}}} | ;; | {{#var: smidx}} }} }}<!--
 +
-->|<!--
 +
  -->{{#vardefine: mKey | {{#replace: {{lc:{{#explode: {{#var: marker}} | // | 0 }}}} ||}} }}<!--
 +
  -->{{#vardefine: {{#var:mKey}}HTML | {{#explode: {{#var: marker}} | // | 1 }} }}<!--
 +
-->}}<!-- end while marker
 +
  
 
We may have custom skill ranks.
 
We may have custom skill ranks.
Line 85: Line 103:
 
   -->|<!-- One 'skills' section.
 
   -->|<!-- One 'skills' section.
 
   Lines are listed in descending order of skill. Each line is of the form:
 
   Lines are listed in descending order of skill. Each line is of the form:
;; SkillName//OpType//OpModifier :: SkillName//OpType//OpModifier ...
+
;; SkillName//OpModifier[//OpModifier ...] :: SkillName//OpModifier ...
   where SkillName is just what it says, OpType is an optional type to the
+
   where SkillName is just what it says, and OpModifier is an optional  
  skill (such as 'combat' or 'track' and OpModifier is an optional modifier
+
   modifier such as 'MG'.
   such as 'MG'.
 
 
   Note: we assume that no skill lines are missing.
 
   Note: we assume that no skill lines are missing.
  
Line 97: Line 114:
 
   There are several parameters: skills1, skill2, and so on. Each corresponds  
 
   There are several parameters: skills1, skill2, and so on. Each corresponds  
 
   to a single skill rank, and each is of the form:
 
   to a single skill rank, and each is of the form:
skillN = SkillName//OpType//OpModifier :: SkillName//OpType//OpModifier ...
+
skillN = SkillName//OpModifier[//OpModifier ...] :: SkillName//OpType//OpModifier ...
 
   as in the previous form. We no longer assume that all skill lines are
 
   as in the previous form. We no longer assume that all skill lines are
 
   present; gaps may be left if desired.
 
   present; gaps may be left if desired.
Line 132: Line 149:
  
 
         Look for skill markers:
 
         Look for skill markers:
       -->{{#vardefine: smidx | 0 }}<!--
+
       -->{{#vardefine: smidx | 1 }}<!--
 
       -->{{#while: | <!-- while skill marker
 
       -->{{#while: | <!-- while skill marker
         -->{{#vardefineecho: marker | {{#explode: {{{skillmarkers}}} | ;; | {{#var: smidx}} }} }}<!--
+
         -->{{#vardefineecho: mKey | {{#replace: {{lc:{{#explode: {{#var: theskill}} |//| {{#var:smidx}} }} }} }} }}<!--  
      -->|<!--
+
      -->|<!--
        -->{{#vardefine: markertag | {{#explode: {{#var: marker}} | // | 0 }} }}<!--
+
         -->{{#var: {{#var:mKey}}HTML }}<!--
        -->{{#vardefine: markerHTML | {{#explode: {{#var: marker}} | // | 1 }} }}<!--
 
         -->{{#ifeq: {{#explode:{{#var: theskill}}|//| 2 }} | {{#var: markertag}} |{{#var: markerHTML}} }}<!--  
 
 
         -->{{#vardefine: smidx | {{#expr: {{#var: smidx}} + 1}} }}<!--
 
         -->{{#vardefine: smidx | {{#expr: {{#var: smidx}} + 1}} }}<!--
 
       -->}}<!-- end while marker  
 
       -->}}<!-- end while marker  

Revision as of 22:09, 8 February 2011

[create]
Error creating thumbnail: File missing
Template documentation
{{{charactername}}}
{{{campaign}}} ({{{player}}})
Aspects
Skills types: combat, track
Stunts
FP 5 Refresh 5
Stress Tracks
health
 
 
 
 
 
composure
 
 
 
 
 
Consequences
mild
moderate
severe

{{#set: game system = FATE }}{{#set: parent template = Template:Character_Sheet }}