From GamingWiki
Jump to: navigation, search
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><onlyinclude><!--
{| class="listing floatright" width="36em"
+
-->{{#parameterstohash: paramHash}}<!--
! colspan="4" | {{{charactername}}}
 
|-
 
| class="label" | High Concept
 
| colspan="3" | <span class="aspect">{{{highconcept}}}</span>
 
|-
 
| class="label" | Trouble
 
| colspan="3" | <span class="aspect">{{{trouble}}}</span>
 
|-
 
| class="label" | Template
 
| colspan="3" | ''{{{template|}}}''
 
|-
 
| colspan="4" class="subhead" | Aspects
 
|-
 
| colspan="4" | {{
 
#if: {{{image|}}} | [[Image:{{{image}}}{{!}}thumb{{!}}{{{caption|}}}]]
 
}}{{#while:
 
| {{#vardefineecho: theaspect | {{#explode:{{{aspects}}}|;;| {{#vardefineecho: i | {{ #expr: {{ #var: i | 0 }} + 1 }} }} }} }}
 
|<nowiki/>
 
* <span class="aspect">{{#var: theaspect }}</span> }}
 
|-
 
| colspan="4" class="subhead" | Skills
 
|-
 
{{#while:
 
| {{#vardefineecho: skillrow | {{#explode:{{{skills|}}}|;;| {{ #vardefineecho: n | {{#expr: {{#var: n| 0 }} + 1}} }} }} }}
 
|<nowiki />
 
{{#vardefine: leveldef  | {{#explode:{{#var: skillrow}}|::| 0 }} }}
 
{{#vardefine: levelname  | {{#explode:{{#var: leveldef}}|//| 0 }} }}
 
{{#vardefine: levelslots | {{#explode:{{#var: leveldef}}|//| 1 }} | 0 }}{{#ifexpr: {{#var:levelslots}} > 0 |
 
{{!}} class="label" {{!}} {{#var: levelname}} ({{#var: levelslots}})
 
{{!}} colspan="3" {{!}} {{#vardefine: i | 0 }}{{
 
#while: | {{#ifexpr: {{#vardefineecho: i | {{#expr: {{#var: i}} + 1}} }} > {{#var: levelslots }} || 1 }}
 
| {{#vardefine: skillname | {{#explode:{{#var: skillrow}}|::| {{#var: i}} }} }}  {{ #ifeq: {{ #var: i }} | 1 || , }} {{#var: skillname | _____ }} }}
 
{{!}}-
 
}}}}
 
| colspan="4" class="subhead" | Stunts
 
{{#vardefine: i | 0 }}{{#while:
 
| {{#vardefineecho: thestunt | {{#explode:{{{stunts}}}|;;| {{#vardefineecho: i | {{ #expr: {{ #var: i }} + 1 }} }} }} }}
 
|<nowiki/>
 
|-
 
| colspan="3" | {{#explode:{{#var: thestunt}}|::| 0 }}
 
{{!}} {{
 
#if: {{#vardefineecho: stuntmod |{{#explode:{{#var: thestunt}}|::| 1 }} }} | {{
 
#rmatch: {{#var: stuntmod}} |^\s*(\-?\d+)\s*$| [\1] | ({{#var: stuntmod}})  }} | x }}
 
}}
 
|-
 
| colspan="4" class="subhead" |
 
|-
 
| class="label" | Refresh || {{{refresh|5}}}
 
| colspan="2" width="50%" class="subhead" | Consequences
 
|-
 
| colspan="2" width="50%" class="subhead" | Stress Tracks
 
| class="label" | Mild (-2) || {{{mild|}}}
 
|-
 
| class="label" | Physical || {{#vardefine: stress | 0 }}{{
 
#while:
 
| {{#ifexpr: {{#vardefineecho: stress | {{#expr: {{#var: stress}} + 1 }} }} > {{{physical|2}}} || 1 }} | [ ]
 
}}
 
| class="label" | Moderate (-4) || {{{moderate|}}}
 
|-
 
| class="label" | Mental || {{#vardefine: stress | 0 }}{{
 
#while:
 
| {{#ifexpr: {{#vardefineecho: stress | {{#expr: {{#var: stress}} + 1 }} }} > {{{mental|2}}} || 1 }} | [ ]
 
}}
 
| class="label" | Serious (-6) || {{{serious|}}}
 
|-
 
| class="label" | Social || {{#vardefine: stress | 0 }}{{
 
#while:
 
| {{#ifexpr: {{#vardefineecho: stress | {{#expr: {{#var: stress}} + 1 }} }} > {{{social|2}}} || 1 }} | [ ]
 
}}
 
| class="label" | Extreme (-8) || {{{extreme|}}}
 
|}</includeonly><noinclude>
 
This template displays a character sheet (currently just for Dresden Files). To use it, type:
 
<pre><code><nowiki>
 
{{CharacterSheet
 
| charactername=Harry Dresden
 
| playername=  Jim B.
 
| highconcept=  Wizard Private Eye
 
| trouble=      The Temptation of Power
 
| template=    Wizard
 
| aspects=
 
;; My mother's [[silver pentacle]]
 
;; Chivalry is not dead, dammit
 
;; Not so subtle, still quick to anger
 
;; Epic wiseass
 
;; Perpetually broke
 
| skills=
 
;; Superb//1  :: Conviction
 
;; Great//2  :: Endurance :: Intimidation
 
;; Good//3    :: Alertness :: Discipline :: Lore
 
;; Fair//4    :: Athletics :: Contacts  :: Investigation :: Rapport
 
;; Average//5 :: Fists    :: Presence  :: Scholarship  :: Stealth :: Weapons
 
| stunts=
 
;; Listening (Investigation) :: -1 :: +4 to hear things but Alertness drops to Terrible while Listening
 
;; Evocation, no description :: -3
 
| physical = 4
 
| mental  = 4
 
| social  = 3
 
| refresh  = 1
 
| fp  = 1
 
}}
 
</nowiki></code></pre>
 
This will give you something that looks like:
 
  
{{CharacterSheet
+
  Query the campaign for default refresh and skill points
| charactername=Harry Dresden
+
-->{{#if: {{{campaign|}}}|<!--
| playername=   Jim B.
+
  -->{{#vardefine: defaultrefresh | {{#show: {{{campaign}}} |? refresh }} }}<!--
| highconcept= Wizard Private Eye
+
  -->{{#vardefine: defaultskillpoints | {{#show: {{{campaign}}} |? skill points }} }}<!--
| trouble=     The Temptation of Power
+
-->}}<!--
| template=     Wizard
+
 
| aspects=
+
-->{{#hashinclude: paramHash
;; My mother's [[silver pentacle]]
+
| template name = {{{template name|Character sheet/Dresden Files}}}
;; Chivalry is not dead, dammit
+
| tableclass    = {{{tableclass|dfrpg}}}
;; Not so subtle, still quick to anger
+
| defaultrefresh= {{#var: defaultrefresh | {{{defaultrefresh|7}}} }}
;; Epic wiseass
+
| defaultskillpoints= {{#var: defaultskillpoints | {{{defaultskillpoints|25}}} }}
;; Perpetually broke
+
<!-- skill customizations -->
| skills=
+
| skillclass    = {{{skillclass|skill}}}
;; Superb//1  :: Conviction
+
| skilltypes    = {{{skilltypes|}}}
;; Great//2  :: Endurance :: Intimidation
+
| skillranks    = Average (+1) :: Decent (+2) :: Good (+3) :: Great (+4) :: Superb (+5)
;; Good//3    :: Alertness :: Discipline :: Lore
+
| skilllist      =
;; Fair//4    :: Athletics :: Contacts  :: Investigation :: Rapport
+
;; physical :: fists :: guns :: weapons
;; Average//5 :: Fists    :: Presence  :: Scholarship  :: Stealth :: Weapons
+
;; mental  :: conviction :: discipline :: lore :: scholarship
| stunts=
+
;; social  :: deceit :: empathy :: intimidation :: performance :: presence :: rapport
;; Listening (Investigation) :: -1 :: +4 to hear things but Alertness drops to Terrible while Listening
+
;; track    :: endurance//physical :: conviction//mental :: presence//social
;; Evocation, no description :: -3
+
<!-- stress & consequences -->
| physical = 4
+
| stresstracks  = physical//endurance :: mental//conviction :: social//presence
| mental   = 4
+
| defaultstress = {{{defaultstress|2}}}
| social   = 3
+
| consequencetypes = mild moderate serious extreme
| refresh  = 1
+
}}<!--
| fp = 1
+
 
}}
+
-->{{#hashinclude: paramHash    | toplabel1    = High Concept }}<!--
</noinclude>
+
-->{{#if: {{{high concept|{{{highconcept|}}}}}}  |<!--
<includeonly>[[Category:Character Sheets]]</includeonly>
+
  -->{{#hashinclude: paramHash | topdata1      = {{aspect| {{{high concept|{{{highconcept}}}}}} }} }}<!--
 +
  -->{{#set:                     high concept  = {{{high concept|{{{highconcept}}}}}} }} <!--
 +
-->}}<!--
 +
 
 +
-->{{#hashinclude: paramHash    | toplabel2    = Trouble }}<!--
 +
-->{{#if: {{{trouble|}}}                        |<!--
 +
  -->{{#hashinclude: paramHash | topdata2      = {{aspect|{{{trouble}}} }} }}<!--
 +
  -->{{#set:                     trouble      = {{{trouble}}} }} <!--
 +
-->}}<!--
 +
 
 +
-->{{#hashinclude: paramHash <!--
 +
  -->| toplabel3    = Template <!--
 +
  -->| topdata3      = {{#if: {{{template|}}} | [[template::{{{template}}}]] | none }}<!--
 +
-->}}<!--
 +
 
 +
   Some stuff changes if the character is a shapeshifter.
 +
-->{{#if: {{{shapeshifter|}}} | {{#hashinclude: paramHash
 +
| skillblock    = skills; Skills (base) , altskills; Skills (changed)
 +
| stressblock   = ; Stress tracks (base) , alt; Stress tracks (changed)
 +
}} }}<!--
 +
 
 +
  Some stuff changes if the character is a vampire (or vampire-like)
 +
-->{{#if: {{{vampire|}}} | {{#hashinclude: paramHash
 +
| stresstracks = physical//endurance :: mental//conviction :: social//presence :: hunger//discipline
 +
}} }}<!--
 +
 
 +
-->{{#hashtotemplate:  Character sheet/FATE | paramHash }}<!--
 +
 
 +
  Semantic MediaWiki keys and category for pages using this template go here.
 +
  Stuff for the template itself is in the /doc subpage.
 +
 
 +
--></onlyinclude></includeonly>
 +
{{Documentation}}

Latest revision as of 01:44, 15 December 2012

[edit] [purge]
Error creating thumbnail: File missing
Template documentation

This template displays a character sheet for Dresden Files. Below is an example of use:

Usage[edit]

{{#set: high concept = Wizard Private Eye }}{{#set: trouble = The Temptation of Power }}

Harry Dresden
High Concept Wizard Private Eye
Trouble The Temptation of Power
Template [[template::Wizard]]
Aspects
Skills
Superb (+5) Conviction Template:((#set: has skill = conviction ; 5
                 Template:))
Great (+4) Endurance :: Intimidation Template:((#set: has skill = endurance :: intimidation ; 4
                 Template:))
Good (+3) Alertness :: Discipline :: Lore Template:((#set: has skill = alertness :: discipline :: lore ; 3
                 Template:))
Decent (+2) Athletics :: Contacts  :: Investigation :: Rapport Template:((#set: has skill = athletics :: contacts  :: investigation :: rapport ; 2
                 Template:))
Average (+1) Fists  :: Presence  :: Scholarship  :: Stealth :: Weapons Template:((#set: has skill = fists  :: presence  :: scholarship  :: stealth :: weapons ; 1
                 Template:))
Points used 15 remaining 10 total 25
Stunts
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::-1 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = Listening }}{{#ask: Evocation
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::-3 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = Evocation }}{{#ask: Thaumaturgy
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::-3 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = Thaumaturgy }}{{#ask: The Sight
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::-1 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = The Sight }}{{#ask: Soulgaze
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::+0 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = Soulgaze }}{{#ask: Wizard's Constitution
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::+0 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = Wizard's Constitution }}{{#ask: Lawbreaker
mainlabel= ?refresh adjustment= ?blurb= ?description= ?supernatural= ?subtypes= ?allows cost override= ?allows extra blurb= userparam=
                 columns::6 ;;
                 
                 cost::-1 ;;
format=template template=SMW stunt line
     }}{{#set: has stunt = Lawbreaker }}
FP 1 Refresh 1
physical
 
 
mental
 
 
social
 
 
mild moderate serious extreme
{{#set: campaign = {{{campaign}}} }}{{#set: is in campaign = {{{campaign}}} }}{{#set: has name =Harry Dresden}}
{{Character sheet/Dresden Files
| charactername=Harry Dresden
| playername=   Jim B.
| highconcept=  Wizard Private Eye
| trouble=      The Temptation of Power
| template=     Wizard
| aspects=
;; My mother's [[silver pentacle]]
;; Chivalry is not dead, dammit
;; Not so subtle, still quick to anger
;; Epic wiseass
;; Perpetually broke
| skills5 = Conviction
| skills4 = Endurance :: Intimidation
| skills3 = Alertness :: Discipline :: Lore
| skills2 = Athletics :: Contacts   :: Investigation :: Rapport
| skills1 = Fists     :: Presence   :: Scholarship   :: Stealth :: Weapons
| stunts=
;; Listening             // -1 // (Investigation) +4 to hear things but Alertness drops to Terrible while Listening
;; Evocation             // -3
;; Thaumaturgy           // -3
;; The Sight             // -1
;; Soulgaze              // +0
;; Wizard's Constitution // +0
;; Lawbreaker            // -1 // First law
| physical = 4
| mental   = 4
| social   = 3
| refresh  = 1
| fp  = 1
}}

TODO[edit]

Remaining to do with this template:

  • Add optional "Hunger" track
  • Add multiple skill blocks for shapeshifters{{#set: game system = Dresden Files | parent template = FATE }}