From GamingWiki
Jump to: navigation, search
Line 1: Line 1:
<onlyinclude><includeonly><!--  
+
<noinclude>
 +
This is the "Stunt" template.
 +
It should be called in the following format:
 +
<pre>
 +
{{Stunt
 +
|cost=
 +
|blurb=
 +
|description=
 +
|supernatural=
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>
 +
{| class="wikitable"
 +
! Refresh cost
 +
| [[Refresh cost::{{{cost|}}}]]
 +
|-
 +
! Blurb
 +
| [[Blurb::{{{blurb|}}}]]
 +
|-
 +
! Description
 +
| [[Description::{{{description|}}}]]
 +
|-
 +
! Supernatural
 +
| {{{supernatural|}}}
 +
|-
 +
! Characters with this stunt
 +
| {{#ask:[[Has stunt::{{SUBJECTPAGENAME}}]]|format=list}}
 +
|}
  
SMW properties
+
[[Category:Stunts]]
 
+
</includeonly>
-->{{#set:
 
| is a        = Stunt
 
| title        = {{{title}}}
 
| description  = {{{description}}}
 
| refresh cost = {{{refresh cost|1}}}
 
}}<!--
 
-->{{#if: {{{effect|}}} | {{#set: effect={{{effect}}}}} }}<!--
 
-->{{#if: {{{applies to|}}} | {{#set: 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 | | @@@@ | {{#set: stunt type=@@@@}} }}<!--
 
-->}}<!--
 
-->{{#if: {{{used in|}}} | <!--
 
  We may have several entries here; they will be separated by ';'
 
  -->{{#arraydefine: contexts | {{{used in}}} | ; | unique, sort=desc}}<!--
 
  -->{{#arrayprint: contexts | | @@@@ | {{#set: used in=@@@@}}[[Category:@@@@]] }}<!--
 
-->}}<!--
 
 
 
-->[[Category:Diaspora stunt descriptions]]<!--
 
 
 
--></includeonly><!--
 
 
 
pull up the properties of this page and pass
 
them through our template:
 
 
 
-->{{SMW/Stunt detail page
 
|{{{description}}}
 
|{{{effect|}}}
 
|{{{applies to|}}}
 
|{{{refresh cost|1}}}
 
|{{{title}}}
 
|
 
|{{{stunt type|}}}
 
}}<!--
 
 
 
--><!-- {{#ask: [[{{PAGENAME}}]]
 
| ?description
 
| ?effect
 
| ?applies to
 
| ?refresh cost
 
| format=template
 
| template=SMW/Stunt detail page
 
| link=none}} --></onlyinclude>
 

Revision as of 16:19, 11 October 2011

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

{{Stunt
|cost=
|blurb=
|description=
|supernatural=
}}

Edit the page to see the template text.