From GamingWiki
Jump to: navigation, search
(Created page with "<noinclude>{{Documentation}}</noinclude> {| class="infobox floatright" ! colspan="4" | {{{name}}} <!-- -->{{#if: {{{campaign<includeonly>|</includeonly>}}}|<div class="infobox di...")
 
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
+
<noinclude>
{| class="infobox floatright"
+
{{Documentation}}
! colspan="4" | {{{name}}} <!--
+
</noinclude><onlyinclude><includeonly><!--
-->{{#if: {{{campaign<includeonly>|</includeonly>}}}|<div class="infobox diaspora campaign"><!--
 
  --> {{#if: {{{campaign<includeonly>|</includeonly>}}}| [[{{{campaign}}}]] <includeonly>[[Category: {{{campaign}}}]]</includeonly>}} <!--
 
--></div>}}<!--
 
-->
 
|-
 
| 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
+
-->{{#vardefine: name | {{{shipname|{{{name|Property: Name}}}}}}  }}<!--
  
-->
+
-->{{#parameterstohash:paramHash}}<!--
|-
+
-->{{#hashinclude: paramHash
| class="subhead" | V-shift
+
  | template name = {{{template name|Diaspora ship}}}
| colspan="3" class="shaded" | {{{v-shift}}}
+
<!-- system-wide settings -->
|-
+
  | columns      = 6
| class="subhead" | Beam
+
  | tableclass    = {{{tableclass|diaspora}}}
| colspan="3" class="shaded" | {{{beam}}}
+
  | skillclass    = {{{skillclass|skill}}}
|-
+
  | skillblock    = none
| class="subhead" | Torpedo
+
  | skilllist    = {{{skilllist|v-shift :: beam :: torpedo :: ew :: trade}}}
| colspan="3" class="shaded" | {{{torpedo}}}
+
  | defaultrefresh= {{{defaultrefresh|5}}}
|-
+
  | stresstracks  = frame :: data :: heat
| class="subhead" | EW
+
  | defaultstress = {{{defaultstress|3}}}
| colspan="3" class="shaded" | {{{ew}}}
+
  | consequencetypes = mild moderate serious
|-
+
<!-- pass-through arguments -->
| class="subhead" | Trade
+
  | name        = {{#var: name}}
| colspan="3" class="shaded" | {{{trade}}}
+
  | toplabel1    = Origin
<!--
+
  | topdata1      = {{{origin|}}}
 +
  | toprlabel1    = TL
 +
  | toprdata1    = {{{tl|}}}
 +
  | toplabel2    = {{#if:{{{owner|}}}|Owner|}}
 +
  | topdata2      = {{{owner|}}}
 +
  | toplabel3    = {{#if:{{{pilot|}}}|Pilot}}
 +
  | topdata3      = {{{pilot|}}}
 +
  | topllabel4    = V-Shift
 +
  | topldata4    = {{{v-shift|0}}}
 +
  | toplabel4    = Beam
 +
  | topdata4      = {{{beam|0}}}
 +
  | toprlabel4    = Torpedo
 +
  | toprdata4    = {{{torpedo|0}}}
 +
  | topllabel5    = EW
 +
  | topldata5    = {{{EW|0}}}
 +
  | toplabel5    = Trade
 +
  | topdata5      = {{{trade|0}}}
 +
}}<!--
 +
-->{{#hashtotemplate: Character sheet/FATE | paramHash}}<!--
  
Stunts section
+
  Semantic MediaWiki keys and category for pages using this template
  
-->
+
-->[[Category: Spaceships]]<!--
|-
 
| 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
+
-->{{#set: is a = spaceship }}<!--
 
+
-->{{#set: name     = {{#var: name}} }}<!--
-->{{#vardefine: sectnum | 1}}<!--
+
-->{{#if:{{{owner|}}}       |{{#set: is owned by        = {{{owner}}}}}}}<!--
-->{{#while: | <!-- want one of the following to be nonempty:
+
-->{{#if:{{{campaign|}}}    |{{#set: is ship in campaign       = {{{campaign}}} }} [[Category: Ships in {{{campaign}}}]]}}<!--
  -->{{{header{{#var: sectnum}}|}}}<!--
+
-->{{#if:{{{blurb|}}}        |{{#set: has blurb          = {{{blurb}}}}}}}<!--
  -->{{{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><!--
 
  
 +
--></includeonly></onlyinclude><!--
 
--><noinclude><!--
 
--><noinclude><!--
  
 
   Semantic MediaWiki keys and category for the *template*
 
   Semantic MediaWiki keys and category for the *template*
  
-->[[Category:Character sheet templates]]<!--
+
-->[[Category: Character sheet templates]]<!--
 
+
-->[[Category: Diaspora templates]]<!--
-->{{#set: game system    = Diaspora           }}<!--
+
-->{{#set:game system=Diaspora|parent template=FATE}}<!--
-->{{#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}}