From GamingWiki
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
   -->{{#vardefine: stuntcost | {{#arrayindex:thestuntarray|1|}} }}<!--
 
   -->{{#vardefine: stuntcost | {{#arrayindex:thestuntarray|1|}} }}<!--
 
   -->{{#vardefine: stuntdesc | {{#arrayindex:thestuntarray|2|}} }}<!--
 
   -->{{#vardefine: stuntdesc | {{#arrayindex:thestuntarray|2|}} }}<!--
 +
 +
    Look up the stunt
 +
  -->{{#vardefineecho:stuntquery|{{#ask: [[{{#var:stuntname}}]] [[Category:Stunts]]
 +
      |mainlabel=
 +
      |?refresh adjustment=
 +
      |?blurb=
 +
      |?description=
 +
      |?supernatural=
 +
      |?subtypes=
 +
      |?allows cost override=
 +
      |?allows extra blurb=
 +
      | userparam=
 +
                  columns::{{{columns|}}} ;;
 +
                  {{#if:{{#var:stuntspec}}|detail::{{#var:stuntspec}} ;;}}
 +
                  {{#if:{{#var:stuntcost}}|cost::{{#var:stuntcost}} ;;}}
 +
      | format=template
 +
      | template=SMW stunt line
 +
      }}}}<!--
 +
 +
    Do a lookup. if it comes back blank, we do our own printout.
 +
  -->{{#if:{{#var:stuntquery}}||<!--
 +
 
   -->{{Character sheet/section | columns = {{{columns|}}} <!--
 
   -->{{Character sheet/section | columns = {{{columns|}}} <!--
 
   -->| label1    = M_NUL <!--
 
   -->| label1    = M_NUL <!--
Line 21: Line 43:
 
   -->}}<!--
 
   -->}}<!--
  
    Look up the stunt
+
   -->}}<!-- end #if:{{#var:stuntquery}}
   -->{{#ask: [[{{#var:stuntname|{{#var:thestuntline}}}}]] [[Category:Stunts]]
 
      |?=
 
      |?refresh cost=
 
      |?blurb=
 
      |?description=
 
      | userparam={{{columns|}}}
 
      | format=template
 
      | template=SMW stunt line
 
      }}<!--
 
  
 
   -->{{#set: has stunt = {{#var: stuntname}} }}<!--
 
   -->{{#set: has stunt = {{#var: stuntname}} }}<!--

Latest revision as of 21:20, 8 April 2014