From GamingWiki
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--  
+
<noinclude>
 +
This is the "Stunt" template.
 +
It should be called in the following format:
 +
<pre>
 +
{{Stunt
 +
|refresh= <NUMBER>
 +
|prerequisites= Stunt One; Stunt Two
 +
|conflicts= Stunt Three; Stunt Four
 +
|blurb= Short description
 +
|description= More details, potentially very long
 +
|supernatural= Yes or No
 +
|subtypes= <EMPTY> or allow or require
 +
|override= <EMPTY> or yes
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>
 +
{| class="wikitable"
 +
! Refresh adjustment
 +
| [[Refresh adjustment::{{{refresh|}}}]]
 +
|-
 +
! Prerequisites
 +
| {{#if:{{#arraydefine:prereqs|{{{prerequisites|}}}|;|print}}<!--
 +
  -->| {{#arrayprint:prereqs|, |$prereq$| [[Prerequisite::$prereq$]]}}<!--
 +
  -->| none }}
 +
|-
 +
! Conflicts with:
 +
| {{#if:{{#arraydefine:conflicts|{{{conflicts|}}}|;|print}}<!--
 +
  -->| {{#arrayprint:conflicts|, |$conflict$| [[Conflict::$conflict$]]}}<!--
 +
  -->| none }}
 +
|-
 +
! Blurb
 +
| [[Blurb::{{{blurb|}}}]]
 +
|-
 +
! Description
 +
| [[Description::{{{description|}}}]]
 +
|-
 +
! Supernatural
 +
| [[Is supernatural::{{{supernatural|}}}]]
 +
|-
 +
! Subtypes
 +
| {{#if:{{{subtypes|}}}|[[Subtypes::{{{subtypes|}}}]]|none}}
 +
|-
 +
! Cost override allowed
 +
| [[Allows cost override::{{{override|}}}]]
 +
|-
 +
! Characters with this stunt
 +
| {{#ask:[[Has stunt::{{SUBJECTPAGENAME}}]]|format=list}}
 +
|}
  
SMW properties
+
[[Category:Stunts]]
 
+
</includeonly>
-->{{#set:
 
| title = {{{title}}}
 
| description={{{description}}}
 
| effect={{{effect| }}}
 
| refresh cost={{{refresh cost|1}}}
 
}}<!--
 
-->{{#if: {{{applies to|}}} | [[applies to::{{{applies to}}}| ]]}}<!--
 
-->{{#if: {{{stunt type|}}} | <!--
 
  We may have several entries here; they will be separated by '::'
 
  -->{{#arraydefine: types | {{{stunt type}}} | :: | unique, sort=desc}}<!--
 
  -->{{#arrayprint: types | | @@@@ | [[stunt type::@@@@| ]] }}<!--
 
-->}}<!--
 
-->{{#if: {{{used in|}}} | Used in campaigns: <!--
 
  We may have several entries here; they will be separated by '::'
 
  -->{{#arraydefine: contexts | {{{used in}}} | :: | unique, sort=desc}}<!--
 
  -->{{#arrayprint: contexts |, | @@@@ | [[used in::@@@@| ]][[Category:@@@@]] }}<!--
 
-->}}<!--
 
 
 
-->[[Category:Diaspora stunt descriptions]]<!--
 
 
 
--></includeonly><!--
 
 
 
pull up the properties of this page and pass
 
them through our template:
 
 
 
-->{{#ask: [[{{PAGENAME}}]]
 
| ?description
 
| ?effect
 
| ?applies to
 
| ?refresh cost
 
| format=template
 
| template=SMW/Stunt detail page
 
| link=none}}</onlyinclude>
 

Latest revision as of 19:44, 20 December 2011

This is the "Stunt" template. It should be called in the following format:

{{Stunt
|refresh= <NUMBER>
|prerequisites= Stunt One; Stunt Two
|conflicts= Stunt Three; Stunt Four
|blurb= Short description
|description= More details, potentially very long
|supernatural= Yes or No
|subtypes= <EMPTY> or allow or require
|override= <EMPTY> or yes
}}

Edit the page to see the template text.