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
--
Signed on Sun Jun 4 16:23:23 2006 with key 0x93B84C15.
Visit my photo gallery at
http://bloodgate.com/photos/
PGP key on
http://bloodgate.com/tels.asc or per email.
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and
he'll be warm for the rest of his life." -- Terry Pratchett