Moin,
On Sunday 04 June 2006 15:04, Timwi wrote:
Tels wrote:
It is very convient to be able to create templates that start tables with a lot of predefiened markup, so users can just say:
{{start-table-for-specific-purpose-foo}}
instead of creatig manually bordersizes etc. It also makes mass-changing tables easier.
Uuuh.... bordersizes? "etc."??
You're supposed to write:
{| class="specific-purpose"
and define the look of the table in the CSS.
Normal users can't edit the CSS. Thats why you add the CSS stuff (e.g. backround colors, bordersizes etc) to a template, which gives you:
* easily changable by normal users * revision history * etc. all the normal wiki advantages
Adding the CSS to monobook.css or similiar wouldn't work for that, as would adding <style> tags (these aren't allowed normaly), nor can normal users access the <head> section.
If we followed your login then
{{red|txt=Red text}}
should be written as:
<span class="red">red text</span>
which isn't the wiki-way and was what many people turned of from hand-editing HTMl documents in the first place. :)
Best wishes,
Tels