Last modified: 2004-08-28 17:17:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 196 - Table-like templates
Table-like templates
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-08-23 16:06 UTC by Daniel U. Thibault
Modified: 2004-08-28 17:17 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Daniel U. Thibault 2004-08-23 16:06:53 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2004-08-23 17:21:50 UTC
It's already possible see for example:

Looks like:

{{Minor Planet|
name=14 irene|
Comment 2 Daniel U. Thibault 2004-08-24 02:10:41 UTC
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)
Comment 3 JeLuF 2004-08-28 17:17:47 UTC
If you don't do it right, it doesn't work. 
Where to put carriage returns in mediawiki matters. 

Note You need to log in before you can comment on or make changes to this bug.