[Mediawiki-l] numbered list broken by image or template

Herta Van den Eynde herta.vandeneynde at gmail.com
Wed Jan 16 13:23:40 UTC 2008


On 16/01/2008, Kilian <winkelklammern at texttheater.de> wrote:
> Am Mittwoch, den 16.01.2008, 13:38 +0100 schrieb Herta Van den Eynde:
> > When you use a numbered list, and insert an image or a template, the
> > numbering is broken.
> > E.g.
> >
> > # one
> > # two
> > [[Image:some-image.png]]
> > # three
> >
> > will display:
> >
> >    1. one
> >    2. two
> >
> > Image:some-image.png
> >
> >    1. three
> >
> >
> > Is there a way to restart the numbering where you left of, so that the
> > third element still reads:
> >
> >    3. three
> >
> > Kind regards,
> >
> > Herta
> >
>
> Hi Herta,
>
> the problem is not the image but the line break. Here's how to mask it
> such as not to break the item:
>
> # one
> # two<br/>[[Image:Some-image.png]]
> # three
>
> ~ Kilian

Thanks, Kilian.  That does indeed solve the problem with images.
Unfortunately many (most?) of our templates contain line breaks.  Any
way to work around those?

Kind regards,

Herta
-- 
Herta Van den Eynde

"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."



More information about the MediaWiki-l mailing list