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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2196, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 196 - Table-like templates
Table-like templates
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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:
http://fr.wikipedia.org/w/wiki.phtml?title=Canton_de_Saint-Cernin&action=edit

Looks like:

{{Minor Planet|
name=14 irene|
discover=[[John]]|
}}
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. 
Closed.

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


Navigation
Links