Template:Sandbox: Difference between revisions
Jump to navigation
Jump to search
(testing for a Task template) |
(testing Task template) |
||
Line 11: | Line 11: | ||
</noinclude> |
</noinclude> |
||
⚫ | |||
<includeonly><div style="border:1px black gray; background:666; float:right"> |
|||
{| cellpadding="2" cellspacing="0" style="float:right; border:1px solid #aaa; font-size:small; background:#f9f9f9; width:15em; margin:5px 0px 5px 5px;" |
|||
|- |
|||
| colspan="2" style="font-size:larger; text-align:center; background:#3b9fca; color:white" | '''Task: {{{name|<tt>un-named</tt>}}}''' |
|||
|- |
|||
| style="text-align:right;" | '''Duration:''' |
|||
⚫ | |||
|- |
|||
| style="text-align:right;" | '''Category:''' |
|||
| style="text-align:left;" | {{{category}}} |
|||
|} |
|||
⚫ | |||
[[Category:{{{unit}}}]] |
|||
</includeonly><noinclude> |
|||
Purpose of this template is to organize [[:Category:Tasks]] in a homogeneous way, according to the guidelines mentioned in [[Participate]]. |
|||
⚫ | |||
Pages tagged with this will be included in the following categories: |
|||
⚫ | |||
* [[:Category:Tasks]] |
|||
⚫ | |||
* According to its ''category'' parameter: |
|||
** [[:Category:Programming]] |
|||
This template allows to place tags to denote something that needs further work. The parameter will be used to display the type of 'pending activity'. Currently it has been thought out to mark places where examples are needed. |
|||
** [[:Category:Education]] |
|||
** [[:Category:Organizing]] |
|||
Pages tagged with this template will automatically be included in the [[:Category:Pending]] for easy retrieval. |
|||
** or some other. |
|||
* According to its ''unit'' parameter: |
|||
** [[:Category:minutes]] |
|||
** [[:Category:hours]] |
|||
** [[:Category:days]] |
|||
** [[:Category:weeks]] |
|||
** [[:Category:months]] |
|||
** [[:Category:years]] |
|||
== Usage == |
== Usage == |
||
<nowiki>{{</nowiki> Task |
<nowiki>{{</nowiki> Task |
||
| name = <!-- OPTIONAL -- some name for the task at hand --> |
|||
| duration = <!-- a number denoting the estimated time required --> |
| duration = <!-- a number denoting the estimated time required --> |
||
| unit = <!-- { minutes | hours | days | weeks | months | years } --> |
| unit = <!-- { minutes | hours | days | weeks | months | years } --> |
||
Line 36: | Line 58: | ||
{{ Sandbox | duration = 8 | unit = hours | category = Programming }} |
{{ Sandbox | duration = 8 | unit = hours | category = Programming }} |
||
<nowiki>{{ Sandbox | duration = 8 | unit = hours | category = Programming }}</nowiki> |
<nowiki>{{ Sandbox | duration = 8 | unit = hours | category = Programming }}</nowiki> |
||
<br clear="all"> |
|||
{{ Sandbox | name = Testing | duration = 5 | unit = days | category = Organizing }} |
|||
<nowiki>{{ Sandbox | name = Testing | duration = 8 | unit = hours | category = Programming }}</nowiki> |
|||
</noinclude> |
</noinclude> |
Revision as of 23:23, 31 May 2007
Many times you may want to just 'test' an idea for a template, I haven't found a sensible way of fully testing templates by themselves (as they will not get included in the edited version, but rather the saved version).
The idea of this Template:Sandbox is to have that, a simple testing zone that will not interfere with others and avoid leaving a trail of botched attempts.
Please leave this comment/text for others to read. See Also http://meta.wikimedia.org/wiki/Help:Template
- Testing Task
Purpose of this template is to organize Category:Tasks in a homogeneous way, according to the guidelines mentioned in Participate.
Pages tagged with this will be included in the following categories:
- Category:Tasks
- According to its category parameter:
- Category:Programming
- Category:Education
- Category:Organizing
- or some other.
- According to its unit parameter:
Usage
{{ Task | name = <!-- OPTIONAL -- some name for the task at hand --> | duration = <!-- a number denoting the estimated time required --> | unit = <!-- { minutes | hours | days | weeks | months | years } --> | category = <!-- { Programming | Education | Organizing } --> }}
Samples
Task: un-named | |
Duration: | 8 hours |
Category: | Programming |
{{ Sandbox | duration = 8 | unit = hours | category = Programming }}
Task: Testing | |
Duration: | 5 days |
Category: | Organizing |
{{ Sandbox | name = Testing | duration = 8 | unit = hours | category = Programming }}