Template:Task item: Difference between revisions

From Opasnet
Jump to navigation Jump to search
(first test of the idea)
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<section begin=task />
<center><font color=orange>{{{description|}}}
{{{description}}}.
Deadline: {{{deadline|not defined}}}
Deadline: {{{deadline}}}
Importance: {{{importance|normal}}}</font></center>
<section end=task />
[[Category:Tasks for {{{user}}}]]
[[Category:Task to {{{user}}}]]
<noinclude>
A problem here is that section begin and section end tags should be inside the template. This is because then there could be automatic formatting by the template outside these tags, and the task on the page where it was put could look different than on the task list page. For example, I would make a task a small graph on the right with the task description as the caption. On the task list page, it would be just text.
 
In addition, I tried to align the text to right but couldn't remember how.
</noinclude>

Latest revision as of 17:27, 24 April 2010

Deadline: not defined

Importance: normal

[[Category:Tasks for {{{user}}}]]

A problem here is that section begin and section end tags should be inside the template. This is because then there could be automatic formatting by the template outside these tags, and the task on the page where it was put could look different than on the task list page. For example, I would make a task a small graph on the right with the task description as the caption. On the task list page, it would be just text.

In addition, I tried to align the text to right but couldn't remember how.