From GamingWiki
Jump to: navigation, search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="infobox"
 
{| class="infobox"
 
<onlyinclude><!--
 
<onlyinclude><!--
-->{{#if:{{#vardefineecho: thestuntline | {{{1|{{{stunt|}}}|}}} }}|<!--
+
-->{{#if:{{#vardefineecho: thestuntline | {{{1|{{{stunt|}}}}}} }}|<!--
  
 
   -->{{#arraydefine: thestuntarray | {{#var:thestuntline}} | /\/\// }}<!--
 
   -->{{#arraydefine: thestuntarray | {{#var:thestuntline}} | /\/\// }}<!--
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}}
   -->{{Character sheet/section | columns = {{{columns|}}} <!--
 
  -->| label1    = M_NUL <!--
 
  -->| data1      = <!--
 
      -->{{#arraydefine: stuntlookuparray | <!--
 
        -->{{#ask: [[{{#var:stuntname}}]] [[Category:Stunts]]
 
            |?refresh cost=cost
 
            |?blurb=blurb
 
            |?description=description
 
            | format=csv
 
            }}<!--
 
      -->|,|print=list}}<!--
 
  -->| dataclass1 = stunt-description <!--
 
  -->}}<!--
 
  
 
   -->{{#set: has stunt = {{#var: stuntname}} }}<!--
 
   -->{{#set: has stunt = {{#var: stuntname}} }}<!--

Latest revision as of 21:20, 8 April 2014