Page MenuHomePhabricator

Table-like templates
Closed, ResolvedPublic

Description

Author: D.U.Thibault

Description:
Woul it be possible to allo carriage returns within templates, as is the case
within tables? Instead of having to write:

<nowiki>« {{Minor Planet | name=14 Irene | discoverer=[[John Russell Hind]] |
... »</nowiki>

One would like to be able to write:

<nowiki>« {{Minor Planet</nowiki>
<nowiki>|| name=14 Irene</nowiki>
<nowiki>|| discoverer=[[John Russell Hind]]</nowiki>
<nowiki>|| ... »</nowiki>

It would make editing a lot easier by increasing readability. Thanks in advance.


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz196

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:42 PM
bzimport set Reference to bz196.
bzimport added a subscriber: Unknown Object (MLST).

It's already possible see for example:
http://fr.wikipedia.org/w/wiki.phtml?title=Canton_de_Saint-Cernin&action=edit

Looks like:

{{Minor Planet|
name=14 irene|
discover=[[John]]|
}}

D.U.Thibault wrote:

Lucky me, I had stumbled on the one case where it does not work: If you put the
carriage return between the template name and the first pipe, it breaks.
(Putting carriage returns inside links breaks the link, but that's OK)

jeluf wrote:

If you don't do it right, it doesn't work.
Where to put carriage returns in mediawiki matters.
Closed.