Template:Task: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added RedditThis button for proggit to Task template.)
(include documentation explaining this template's current structure)
 
(33 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{infobox_begin}}{{Task/Icon}}'''{{PAGENAME}}'''<includeonly>{{#set:is task=true}}</includeonly><br/>
<div class="infobox" style="width: 2in">
You are encouraged to [[Rosetta Code:Solve a Task|solve this task]] according to the task description, using any language you may know.<includeonly>[[Category:Programming Tasks]]{{#if:{{{1|}}}|[[Category:{{{1}}}]]|[[Category:Solutions by Programming Task]]}}</includeonly>{{infobox_end}}<noinclude>
<big>'''Programming Task'''</big><br />
{{template|Task identifier}}
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.


<hr />
Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].<div style="float:right"><reddit programming></div></div><includeonly>[[Category:Programming Tasks]]{{#if:{{{1|}}}|[[Category:{{{1}}}]]|[[Category:Solutions by Programming Task]]}}</includeonly><noinclude>{{template}}</noinclude>

This template identifies a page as a task page and adds it to [[:Category:Programming Tasks]] and either the category identified by the first argument to the template instance or (if none is supplied) [[:Category:Solutions by Programming Task]]</noinclude>

Latest revision as of 12:28, 15 October 2022

Task
Task
You are encouraged to solve this task according to the task description, using any language you may know.

This is a template. There are many others. See Category:RCTemplates for a complete list of templates.

This template identifies a page as a task page and adds it to Category:Programming Tasks and either the category identified by the first argument to the template instance or (if none is supplied) Category:Solutions by Programming Task