From GamingWiki
Line 4: | Line 4: | ||
Query the campaign for default refresh and skill points | Query the campaign for default refresh and skill points | ||
-->{{#if: {{{campaign|}}}|<!-- | -->{{#if: {{{campaign|}}}|<!-- | ||
+ | -->{{#hashdefine:hashCampaign |<!-- | ||
+ | -->{{#ask:[[is a :: campaign]] [[campaign :: {{{campaign}}}]] | ||
+ | |?# | ||
+ | |?Refresh | ||
+ | |?Skillpoints | ||
+ | |?Uses skill variant | ||
+ | |format=hash | ||
+ | |link=none | ||
+ | |limit=1 | ||
+ | |headers=plain | ||
+ | |searchlabel= | ||
+ | |titles=show | ||
+ | |hidegaps=none | ||
+ | |sep=, | ||
+ | |propsep=<PROP> | ||
+ | |manysep=<MANY> | ||
+ | |recordsep=<RCRD> | ||
+ | |headersep== | ||
+ | }}<!-- | ||
+ | -->| <PROP> | {{=}} }}<!-- | ||
+ | -->{{#hashprint: hashCampaign }} | ||
-->{{#vardefine: defaultrefresh | {{#show: {{{campaign}}} |? refresh }} }}<!-- | -->{{#vardefine: defaultrefresh | {{#show: {{{campaign}}} |? refresh }} }}<!-- | ||
-->{{#vardefine: defaultskillpoints | {{#show: {{{campaign}}} |? skill points }} }}<!-- | -->{{#vardefine: defaultskillpoints | {{#show: {{{campaign}}} |? skill points }} }}<!-- | ||
+ | -->{{#vardefine: skill-type | {{#show: {{{campaign}}} |? uses skill variant | default=pyramid }} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 17:59, 13 May 2014
[create]
Error creating thumbnail: File missing
Template documentation Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |