====== Combat Style Known Template ======


The main template:
<template>
<entry>
<WRAP round box>
//**@@combat style@@**//

<view>
template{
  combat_style_known#stats
}

fields{
?slashing
?cutting
?piercing
?dodging
?blocking
?deflecting
}

?s is a: combat_style
?sk is a: combat_style_known
?sk [text] = @@.subject@@
?sk Combat Style [ref]: ?s
?sk Character [ref]: [[]]


union {
  {
    ?s Slashing [dot]: ?slashing
    ?s Cutting [dot]: ?cutting
    ?s Piercing [dot]: ?piercing
    ?s Dodging [dot]: ?dodging
    ?s Blocking [dot]: ?blocking
    ?s Deflecting [dot]: ?deflecting
  }
  {
    ?sk Combat Style Manoeuvres [rule]: ?m
    ?m is a: combat_style_manoeuvre
    optional{
      ?m Slashing [dot]: ?slashing
    }
    optional{
      ?m Cutting [dot]: ?cutting
    }
    optional{
      ?m Piercing [dot]: ?piercing
    }
    optional{
      ?m Dodging [dot]: ?dodging
    }
    optional{
      ?m Blocking [dot]: ?blocking
    }
    optional{
      ?m Deflecting [dot]: ?deflecting
    }
  }
}

group {
  ?s
}
</view>

{{list> ?t [wiki] | ?s is a: combat_style; ?sk Combat Style [rule]: ?s; ?sk [text] = @@.subject@@; ?s Description [wiki]: ?t }} (//{{list> ?t [wiki] | ?s is a: combat_style; ?sk Combat Style [rule]: ?s; ?sk [text] = @@.subject@@; ?s Usage Limitation: ?t }}//)

<if Combat Style Manoeuvres>
@@combat style manoeuvres@count [text]@@ manoeuvres known:

<view ?manoeuvre ?description>
template {
  combat style known#manoeuvre
}

?sk is a: combat_style_known
?sk [text] = @@.subject@@
?sk Combat Style Manoeuvres [rule]: ?manoeuvre
?manoeuvre  Description [wiki]: ?description
</view>

</if>

<WRAP clear></WRAP>
<wrap right><sub>[ [[tech:combat style known model|D]], [[template:combat style known|T]] ]</sub></wrap>
</WRAP>
</entry>
</template>


The accumulated combat style statistics template:
<template stats>
<WRAP right>
^ Combat Style Statistics ^^^^^^
^ Slashing |  +@@slashing@sum [dot]@@  ^ Cutting |  +@@cutting@sum [dot]@@  ^ Piercing |  +@@piercing@sum [dot]@@  |
^ Dodging |  +@@dodging@sum [dot]@@   ^ Blocking |  +@@blocking@sum [dot]@@  ^ Deflecting |  +@@deflecting@sum [dot]@@  |
</WRAP>
</template>


The known manoeuvres template:
<template manoeuvre>
  * @@manoeuvre@@: @@description@@
</template>