From GamingWiki
(12 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: | ||
-->}}<!-- | -->}}<!-- | ||
− | + | -->}}<!-- end #if:{{#var:stuntquery}} | |
− | --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#set: has stunt = {{#var: stuntname}} }}<!-- | -->{{#set: has stunt = {{#var: stuntname}} }}<!-- |