From GamingWiki
Jump to: navigation, search
Line 9: Line 9:
 
<onlyinclude><!--
 
<onlyinclude><!--
  
   -->{{Character sheet/section | columns = {{{userparam|}}} <!--
+
-->{{#hashdefine: userparamhash | {{{userparam|}}} |;;|::}}<!--
 +
 
 +
   -->{{Character sheet/section | columns = {{#hashvalue: userparamhash |columns|}} <!--
 
   -->| label1    = M_NUL <!--
 
   -->| label1    = M_NUL <!--
 
   -->| data1      = {{{1|<noinclude>Stunt name</noinclude>}}} <!--
 
   -->| data1      = {{{1|<noinclude>Stunt name</noinclude>}}} <!--
 +
      -->            {{#if:{{#hashvalue: userparamhash|detail}}|({{#hashvalue: userparamhash|detail}})}} <!--
 
   -->| rdata1    = {{#rmatch: {{{2}}} |^\s*(\d+)\s*$|+\1|{{{2}}}}} <!--
 
   -->| rdata1    = {{#rmatch: {{{2}}} |^\s*(\d+)\s*$|+\1|{{{2}}}}} <!--
 
   -->| label2    = M_NUL <!--
 
   -->| label2    = M_NUL <!--

Revision as of 22:07, 11 October 2011

Print a row (or rows) in a character sheet for stunt details. This is called through an SMW query with the following positional parameters:

  1. Page
  2. Refresh cost
  3. Blurb
  4. Description
Stunt name Template:(({2Template:))}