Difference between revisions of "Template:Challenge Enabled"

From Creative Commons
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
 +
This template is used to include a box listing challenges related to a page, along with a text box that allows a new challenge to be added.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| style="width: 90%; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin: auto; padding: 0.5em; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
! style="text-align: center; background-color:#ccccff;" colspan="2" cellpadding="2"|<big>{{PAGENAME}}</big>
 
|-
 
|-
! Have an idea about this page?  Want to help build the CC ecosystem?  Check out the challenges related to {{PAGENAME}}, or add one of your own below.
+
| Have an idea about this page?  Want to help build the CC ecosystem?  Check out the challenges related to {{PAGENAME}}, or add one of your own below.
 
|-
 
|-
! Existing Challenges
+
|cellpadding="2"| '''''Open Challenges'''''
| <ask format="list">[[Related To::{{PAGENAME}}]]</ask>
 
 
|-
 
|-
!{{#forminput:Challenge|35||Add a Challenge|Challenge[related_to]={{PAGENAME}} }}
+
|cellpadding="2" |{{#ask:[[Category:Challenge]] [[Is Complete::no]]
 +
[[Related To::{{PAGENAME}}]]|format=table}}
 +
|-
 +
|cellpadding="2"| '''''Completed Challenges'''''
 +
|-
 +
|cellpadding="2" |{{#ask:[[Category:Challenge]] [[Is Complete::yes]]
 +
[[Related To::{{PAGENAME}}]]|format=table}}
 +
|-
 +
|cellpadding="2" align="center"|{{#forminput:Challenge|35||Add a Challenge|Challenge[related_to]={{PAGENAME}} }}
 
|}
 
|}
  
 
[[Category:Challenge Enabled]]
 
[[Category:Challenge Enabled]]
 
</includeonly>
 
</includeonly>

Latest revision as of 18:07, 7 May 2009

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

{{Challenge_Enabled
}}

Edit the page to see the template text.

This template is used to include a box listing challenges related to a page, along with a text box that allows a new challenge to be added.