From GamingWiki
(Created page with "{| class="infobox" <onlyinclude><!-- -->{{#if:{{#vardefineecho: thestuntline | {{{1|{{{stunt|}}}|}}} }}|<!-- -->{{#arraydefine: thestuntarray | {{#var:thestuntline}} | /\/\//...") |
|||
| (15 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 20: | Line 42: | ||
-->| dataclass2 = stunt-description <!-- | -->| dataclass2 = stunt-description <!-- | ||
-->}}<!-- | -->}}<!-- | ||
| + | |||
| + | -->}}<!-- end #if:{{#var:stuntquery}} | ||
| + | |||
-->{{#set: has stunt = {{#var: stuntname}} }}<!-- | -->{{#set: has stunt = {{#var: stuntname}} }}<!-- | ||
-->{{#arrayreset: thestuntarray }}<!-- | -->{{#arrayreset: thestuntarray }}<!-- | ||