From GamingWiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
</noinclude><includeonly>{{Character sheet/FATE
+
</noinclude><onlyinclude><includeonly><!--
| template name = {{{template name|Diaspora ship}}}
+
 
 +
-->{{#vardefine: name | {{{shipname|{{{name|Property: Name}}}}}}  }}<!--
 +
 
 +
-->{{#parameterstohash:paramHash}}<!--
 +
-->{{#hashinclude: paramHash
 +
  | template name = {{{template name|Diaspora ship}}}
 
<!-- system-wide settings -->
 
<!-- system-wide settings -->
| tableclass    = {{{tableclass|diaspora}}}
+
  | columns      = 6
| skillclass    = {{{skillclass|skill}}}
+
  | tableclass    = {{{tableclass|diaspora}}}
| skilltypes   = {{{skilltypes|}}}
+
  | skillclass    = {{{skillclass|skill}}}
| skillblock    = none
+
   | skillblock    = none
| skilllist       = v-shift :: beam :: torpedo :: ew :: trade
+
  | skilllist     = {{{skilllist|v-shift :: beam :: torpedo :: ew :: trade}}}
| skillmarkers  = {{{skillmarkers|}}}
+
  | defaultrefresh= {{{defaultrefresh|5}}}
| defaultrefresh= {{{defaultrefresh|5}}}
+
  | stresstracks  = frame :: data :: heat
| stresstracks  = frame :: data :: heat
+
  | defaultstress = {{{defaultstress|3}}}
| defaultstress = {{{defaultstress|3}}}
+
  | consequencetypes = mild moderate serious
| consequencetypes = mild moderate serious
 
 
<!-- pass-through arguments -->
 
<!-- pass-through arguments -->
| charactername = {{{shipname}}}
+
  | name         = {{#var: name}}
| campaign      = {{{campaign|}}}
+
  | toplabel1    = Origin
| player        = {{{player|}}}
+
  | topdata1      = {{{origin|}}}
| blurb         = {{{blurb|}}}
+
  | toprlabel1   = TL
| toplabel1    = Origin
+
  | toprdata1     = {{{tl|}}}
| topdata1      = {{{origin|}}}
+
  | toplabel2    = {{#if:{{{owner|}}}|Owner|}}
| toprlabel1     = TL
+
  | topdata2      = {{{owner|}}}
| toprdata1     = {{{tl|}}}
+
  | toplabel3    = {{#if:{{{pilot|}}}|Pilot}}
| toplabel2    = {{#if:{{{owner|}}}|Owner|}}
+
  | topdata3      = {{{pilot|}}}
| topdata2      = {{{owner|}}}
+
  | topllabel4    = V-Shift
| toplabel3    = {{#if:{{{pilot|}}}|Pilot}}
+
  | topldata4    = {{{v-shift|0}}}
| topdata3      = {{{pilot|}}}
+
  | toplabel4     = Beam
| toplabel4    = V-Shift
+
  | topdata4     = {{{beam|0}}}
| topdata4      = {{{v-shift|0}}}
+
  | toprlabel4    = Torpedo
| toprlabel4     = Beam
+
  | toprdata4    = {{{torpedo|0}}}
| toprdata4     = {{{beam|0}}}
+
  | topllabel5    = EW
| toplabel5    = Torpedo
+
  | topldata5    = {{{EW|0}}}
| topdata5      = {{{torpedo|0}}}
+
  | toplabel5     = Trade
| toprlabel5    = EW
+
  | topdata5     = {{{trade|0}}}
| toprdata5      = {{{EW|0}}}
 
| toplabel6     = Trade
 
| topdata6     = {{{trade|0}}}
 
| image        = {{{image|}}}
 
| caption      = {{{caption|}}}
 
| aspects      = {{{aspects}}}
 
| skillv-shift = {{{v-shift|0}}}
 
| skillbeam = {{{beam|0}}}
 
| skilltorpedo = {{{torpedo|0}}}
 
| skillew = {{{ew|0}}}
 
| skilltrade = {{{trade|0}}}
 
| stunts        = {{{stunts|}}}
 
| fp            = {{{fp|}}}
 
| refresh      = {{{refresh|}}}
 
| frame      = {{{frame|}}}
 
| data      = {{{data|}}}
 
| heat      = {{{heat|}}}
 
| consequences  = {{{consequences|}}}
 
 
}}<!--
 
}}<!--
 +
-->{{#hashtotemplate: Character sheet/FATE | paramHash}}<!--
  
 
   Semantic MediaWiki keys and category for pages using this template
 
   Semantic MediaWiki keys and category for pages using this template
  
-->[[Category: Character sheets]]<!--
+
-->[[Category: Spaceships]]<!--
  
-->{{#if:{{{shipname|}}}|{{#set: ship name = {{{charactername}}}}}}}<!--
+
-->{{#set: is a = spaceship }}<!--
-->{{#if:{{{player|}}}       |{{#set: player         = {{{player}}}}}}}<!--
+
-->{{#set: name     = {{#var: name}} }}<!--
-->{{#if:{{{campaign|}}}    |{{#set: campaign      = {{{campaign}}}}}}}<!--
+
-->{{#if:{{{owner|}}}       |{{#set: is owned by         = {{{owner}}}}}}}<!--
-->{{#if:{{{blurb|}}}        |{{#set: blurb          = {{{blurb}}}}}}}<!--
+
-->{{#if:{{{campaign|}}}    |{{#set: is ship in campaign      = {{{campaign}}} }} [[Category: Ships in {{{campaign}}}]]}}<!--
 +
-->{{#if:{{{blurb|}}}        |{{#set: has blurb          = {{{blurb}}}}}}}<!--
  
--></includeonly><!--
+
--></includeonly></onlyinclude><!--
 
--><noinclude><!--
 
--><noinclude><!--
  
Line 71: Line 59:
 
-->[[Category: Diaspora templates]]<!--
 
-->[[Category: Diaspora templates]]<!--
 
-->{{#set:game system=Diaspora|parent template=FATE}}<!--
 
-->{{#set:game system=Diaspora|parent template=FATE}}<!--
 
--></noinclude><!--
 
 
-->
 
<noinclude>{{Documentation}}</noinclude>
 
{| class="infobox floatright"
 
! colspan="4" | {{{name}}} <!--
 
-->{{#if: {{{campaign<includeonly>|</includeonly>}}}|<div class="infobox diaspora campaign"><!--
 
  --> {{#if: {{{campaign<includeonly>|</includeonly>}}}| [[{{{campaign}}}]] <includeonly>[[Category: {{{campaign}}}]]</includeonly>}} <!--
 
--></div>}}<!--
 
-->
 
|-
 
| class="subhead" | Origin: || {{{made in|}}}
 
| class="subhead" | TL: || {{{tl}}}
 
|-
 
| class="subhead" colspan="4" | Aspects
 
|-
 
| class="shaded" |
 
| colspan="3" | {{
 
#if: {{{image|}}} | [[Image:{{{image}}}{{!}}thumb{{!}}{{{caption|}}}]]
 
}}{{Array Map | array = {{{aspects}}} | before = <nowiki />
 
* <span class="aspect"> | after = </span> }} <!--
 
 
  SKILLS
 
 
-->
 
|-
 
| class="subhead" | V-shift
 
| colspan="3" | {{{v-shift|0}}}
 
|-
 
| class="subhead" | Beam
 
| {{{beam|0}}}
 
| class="subhead" | Torpedo
 
| {{{torpedo|0}}}
 
|-
 
| class="subhead" | EW
 
| {{{ew|0}}}
 
| class="subhead" | Trade
 
| {{{trade|0}}}
 
<!--
 
 
Stunts section
 
 
-->
 
|-
 
| colspan="4" class="subhead" | Stunts
 
|-
 
<!--
 
-->{{#vardefine: stidx | 1 }}<!--
 
-->{{#while: | <!-- loop over 'stunts' array
 
  -->{{#vardefineecho: thestunt | {{#explode:{{{stunts|}}}|;;| {{#var: stidx}} }} }}<!--
 
-->|<!--
 
  -->{{#vardefine: stidx | {{#expr: {{ #var: stidx }} + 1}} }}<!--
 
  -->{{#vardefine: stunttext |<!--
 
      -->{{#explode:{{#var: thestunt}}|//| 0 }}<!--
 
      If the stunt has a description we put it on a new line.
 
      -->{{#if:{{#vardefineecho: stuntdesc | {{#explode:{{#var: thestunt}}|//| 2 }} }} |<!--
 
        --><br />''{{#var:stuntdesc}}''<!--
 
      -->}}<!--
 
  -->}}<!--
 
  If there is some qualifier to the stunt, we do three columns for
 
  the stunt name and one for the qualifier. Otherwise, four for
 
  the stunt name.
 
  -->{{#if: {{#vardefineecho: stuntmod |{{#explode:{{#var: thestunt}}|//| 1 }} }}<!--
 
  -->|<!-- The stunt has a modifier
 
      --><nowiki/>
 
{{!}} colspan="3" {{!}} {{#var: stunttext}} <!--
 
      -->
 
{{!}} {{#rmatch: {{#var: stuntmod}} |^\s*(\-?\d+)\s*$| [\1] | ({{#var: stuntmod}}) }}<!--
 
  -->|<!-- The stunt has no modifier
 
      --><nowiki/>
 
{{!}} colspan="4" {{!}} {{#var: stunttext}} <!--
 
  -->}}<!-- End stunt modifier detection --><nowiki />
 
{{!}}- <!--
 
-->}}<!-- end while stunts
 
 
Extra sections
 
 
-->{{#vardefine: sectnum | 1}}<!--
 
-->{{#while: | <!-- want one of the following to be nonempty:
 
  -->{{{header{{#var: sectnum}}|}}}<!--
 
  -->{{{label{{#var: sectnum}}|}}}<!--
 
  -->{{{data{{#var: sectnum}}|}}}<!--
 
-->|<!--
 
  -->{{#if:{{{header{{#var: sectnum}}|}}}|<!--
 
    Draw a header
 
  --><nowiki />
 
{{!}}-
 
{{!}} colspan="4" class="subhead" {{!}} {{{header{{#var: sectnum}}|}}} <!--
 
  -->|<!-- if no header
 
    --><nowiki />
 
{{!}}-
 
{{!}} class="shaded" {{!}} {{{label{{#var: sectnum}}|}}}
 
{{!}} colspan="3"    {{!}} {{{data{{#var: sectnum}}|}}}
 
    <!--
 
  -->}}<!-- end if
 
  -->{{#vardefine: sectnum | {{#expr: {{#var: sectnum}} + 1}} }}<!--
 
-->}}<!-- end while
 
 
Current FP defaults to refresh
 
 
-->{{#vardefine: defaultrefresh | {{{defaultrefresh|5}}} }}<!--
 
-->{{#vardefine: refresh        | {{#if:{{{refresh|}}}|{{{refresh}}}|{{#var:defaultrefresh}} }} }}<!--
 
-->{{#vardefine: fp            | {{#if:{{{fp|}}}|{{{fp}}}|{{#var:refresh}} }} }}<!--
 
--><nowiki />
 
|-
 
| class="shaded" | FP      || {{#var:fp}}
 
| class="shaded" | Refresh || {{#var:refresh}}
 
<!--
 
 
Stress tracks
 
Stress and consequences
 
 
We want to place stress and consequences side-by-side.
 
 
-->
 
|-
 
| colspan="2" class="subhead" | Stress Tracks
 
| colspan="2" class="subhead" | Consequences <!--
 
 
-->{{#vardefine: defaultstress | {{{defaultstress|3}}} }}<!--
 
-->{{#vardefine: scidx | 0 }}<!--
 
-->{{#while: | <!-- stress tracks and consequence types
 
  -->{{#vardefineecho: thetrack | {{#explode: {{{stresstracks|frame::data::heat}}} |::| {{#var:scidx}} }} }}<!--
 
  --><!-- consequence types
 
  -->{{#vardefineecho: severity | {{#explode: {{{consequencetypes|mild moderate severe}}} | | {{#var:scidx}} }} }}<!--
 
-->|<!--
 
  -->{{#vardefine:trackname | {{#explode:{{#var: thetrack}}|//|0}} }}<!--
 
  -->{{#vardefine:thestress | <!--
 
    -->{{#if:{{{ {{#var: trackname}}|}}}|{{{ {{#var: trackname}} }}}|{{#var:defaultstress}}//0}}<!--
 
  -->}}<!--
 
  -->{{#vardefine:totstress | {{#explode:{{#var: thestress}}|//|0}} }}<!--
 
  -->{{#vardefine:curstress | {{#explode:{{#var: thestress}}|//|1}} }}<!--
 
  --><nowiki />
 
{{!}}-
 
{{!}} class="shaded" {{!}} {{#var: trackname}}
 
{{!}} <!--
 
  -->{{#if:{{#var: trackname}} |<!--
 
    --><table class="fate stressbox"><!--
 
    --><tr>{{#loop: stressloop | 1 | {{#var:totstress}} | <!--
 
      --><td class="{{#ifexpr: {{#var: stressloop}} <= {{#var:curstress|0}} | full }}"><div>&nbsp;</div></td><!--
 
    -->}}</tr><!--
 
    --></table><!--
 
  -->}}<!--
 
 
  --><nowiki />
 
{{!}} class="label" {{!}} {{#var: severity}}
 
{{!}} <!--
 
  -->{{#if:{{#var: severity}} |<!--
 
    -->{{#vardefine: conidx | 0 }}<!--
 
    -->{{#vardefine: cons | 0 }}<!--
 
    -->{{#while: | <!-- consequences
 
      -->{{#vardefineecho: consequence | {{#explode: {{{consequences|}}} | :: | {{#var:conidx}} }} }}<!--
 
    -->|<!--
 
      -->{{#ifeq: {{#explode: {{#var:consequence}} |//| 1}}| {{#var: severity}} |<!--
 
        -->{{#ifeq: {{ #var: cons }} | 1 |,&nbsp; }}<!--
 
        -->{{aspect |{{#explode: {{#var:consequence}} |//| 0}}}}<!--
 
        -->{{#vardefine: cons | 1 }}<!--
 
      -->}}<!-- end ifeq
 
      -->{{#vardefine: conidx | {{#expr: {{#var: conidx}} + 1}} }}<!--
 
    -->}}<!-- end while consequences
 
  -->}}<!--
 
 
  -->{{#vardefine: scidx | {{#expr: {{#var: scidx}} + 1}} }}<!--
 
-->}}<!-- end while stress tracks and consequence types
 
 
-->
 
|}<includeonly><!--
 
 
  Semantic MediaWiki keys and category for any *page* using this template
 
 
-->[[Category:Character sheets]]<!--
 
 
-->{{#if:{{{name|}}}|<!--
 
    -->{{#set: name = {{{name}}} }}<!--
 
    -->[[Category: Ships in Diaspora]]<!--
 
    -->}}<!--
 
-->{{#if:{{{owner|}}}      |<!--
 
    -->{{#set: owner        = {{{owner}}}        }}<!--
 
    -->}}<!--
 
-->{{#if:{{{campaign|}}}    |<!--
 
    -->{{#set: campaign      = {{{campaign}}}      }}<!--
 
    -->[[Category: {{{campaign}}}]]<!--
 
    -->}}<!--
 
-->{{#if:{{{blurb|}}}        |{{#set: blurb          = {{{blurb}}}        }}}}<!--
 
 
--></includeonly><!--
 
 
--><noinclude><!--
 
 
  Semantic MediaWiki keys and category for the *template*
 
 
-->[[Category:Character sheet templates]]<!--
 
 
-->{{#set: game system    = Diaspora            }}<!--
 
-->{{#set: parent template = Template:Character_Sheet }}<!--
 
  
 
--></noinclude><!--  
 
--></noinclude><!--  
  
 
-->
 
-->

Latest revision as of 21:29, 30 May 2014

[edit] [purge]
Error creating thumbnail: File missing
Template documentation
Galactic Bounty
Origin Laplaci 5 TL 3
Owner Joe Bloe
Pilot Max Tempo
V-Shift 2 Beam 1 Torpedo 3
EW 1 Trade 4
Aspects
Error creating thumbnail: File missing
the Galactic Bounty
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 = TL 3 slipdrive }}{{#ask: High capacity magazine
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 = High capacity magazine }}
FP 5 Refresh 5
frame
 
 
 
data
 
 
 
heat
 
 
 
mild moderate serious
{{#set: campaign = Terra Φ }}{{#set: is in campaign = Terra Φ }}{{#set: has name =Galactic Bounty}}{{#set: blurb = This ship was constructed by the artisans of Laplaci 5 }}{{#set: is a = spaceship }}{{#set: name = Galactic Bounty }}{{#set: is owned by = Joe Bloe}}{{#set: is ship in campaign = Terra Φ }}{{#set: has blurb = This ship was constructed by the artisans of Laplaci 5}}
{{Diaspora ship
| shipname  = Galactic Bounty
| campaign  = Terra Φ
| blurb     = This ship was constructed by the artisans of Laplaci 5
| origin    = Laplaci 5
| tl        = 3
| owner     = Joe Bloe
| pilot     = Max Tempo
| fp        = 5
| aspects   =
;; Shiny and new
;; Laplacian cloaking device
;; Spartan crew quarters
| v-shift   = 2
| beam      = 1
| torpedo   = 3
| EW        = 1
| trade     = 4
| frame     = 3
| data      = 5
| heat      = 4
| image     = Spaceship.jpg
| caption   = the ''Galactic Bounty''
| stunts    =
;; TL 3 slipdrive // 1 // Ship may be run by the table
;; High capacity magazine // 1 // Torpedo does not get the automatic {{aspect|Out of ammo}} Aspect
| consequences = Bump on the fender // mild :: Coolant leak // moderate
}}

{{#set:game system=Diaspora|parent template=FATE}}