(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-66) was last changed on 28-Apr-2008 15:12 by YvesPiguet  

This page was created on 04-Sep-2006 02:06 by 217.162.145.188

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 214 added 20 lines
Christoph, your proposal of ever using the 2nd fragment as description and appending more fragments at the end is better than my idea.
The most important thing is to add that to the creole specs asap so people implementing creole do a multiple split on | (and expect a arbitrary number of fragments as result), not just a single split (with 2 fragments as result).
Then the spec should tell that 1st fragment is target, 2nd fragment is description.
Later, 3rd fragment could be defined as image style (see below).
4th+ fragment could be reserved for either future creole specs or wiki implementation specific.
A creole parser can support this to the level wanted (a very simple parser would just support 1st and 2nd fragment and ignore everything following). Or just use the keyword arguments from 3rd fragment that it understands and ignore the rest.
For the width/height/alignment/etc. parameters, I guess I would prefer some syntax like "width=100 height=100 align=right", so it would be:
{{{
{{target.jpg|description|width=100 height=100 align=right}} # more keyword arguments as needed
}}}
BTW, the same kind of extensions could/should be defined for link syntax.
-- ThomasWaldmann, 2007-08-26
Version Date Modified Size Author Changes ... Change note
66 28-Apr-2008 15:12 34.699 kB YvesPiguet to previous Image ref and alt
65 28-Apr-2008 13:16 34.34 kB Isonomia to previous | to last
64 28-Apr-2008 13:14 34.285 kB Isonomia to previous | to last
63 28-Apr-2008 13:11 34.188 kB Isonomia to previous | to last
62 28-Apr-2008 13:11 34.206 kB Isonomia to previous | to last
61 28-Apr-2008 13:06 34.199 kB Isonomia to previous | to last
« This page (revision-66) was last changed on 28-Apr-2008 15:12 by YvesPiguet