Difference between revisions of "Template:Challenge"

From Creative Commons
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
<pre>
 
<pre>
 
{{Challenge
 
{{Challenge
|category=
+
|challenge type=
 
|related_to=
 
|related_to=
|outcome=
+
|tags=
 +
|is_complete=
 
}}
 
}}
 
</pre>
 
</pre>
Line 14: Line 15:
 
| {{#arraymap:{{{related_to|}}}|,|x|[[Related To::x]]}}
 
| {{#arraymap:{{{related_to|}}}|,|x|[[Related To::x]]}}
 
|-
 
|-
! Goals:
+
! Tags:
| [[Desired Outcome::{{{outcome|}}}]]
+
| {{#if: {{{tags|}}} | {{#arraymap:{{{tags|}}}|,|x|[[Has Tag::x]]}} | (none) }}
 +
|-
 +
! Challenge Type:
 +
| {{#if: {{{challenge_type|}}} | [[Has Challenge Type::{{{challenge_type}}}]] | (none) }}
 +
|-
 +
! Is Complete:
 +
| {{#if: {{{is_complete|}}} | [[Is Complete::{{{is_complete}}}]] | [[Is Complete::no]] }}
 
|}
 
|}
 
+
[[Category:Challenge]]
{{#if: {{{category|}}} | [[Category:{{{category}}}]] | }}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 16:25, 4 March 2008

This is the 'Challenge' template. It should be called in the following format:

{{Challenge
|challenge type=
|related_to=
|tags=
|is_complete=
}}

Edit the page to see the template text.