Last modified: 2005-09-05 20:20:55 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 T5363, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3363 - template arguments lack default values
template arguments lack default values
Status: RESOLVED DUPLICATE of bug 364
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-09-05 09:34 UTC by Andrius Ramanauskas
Modified: 2005-09-05 20:20 UTC (History)
0 users

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


Description Andrius Ramanauskas 2005-09-05 09:34:10 UTC
Adding default values in form {{{arg|val}}} would enhance templates without adding much complexity. This would 
solve several issues and ease use of templates in many situations:

- Adding a new argument to the existing template would not be so painfull (currently you have to add argument to 
every place template is used, but that may be very long process)
- Usage of templates for infoboxes with many optional arguments could be more readable (no need to assign empty 
value for every not used argument - these values would be inlcluded in template definition)

Extending a format this way would be safe enough to include in existing wiki sites as '|' character was never used in 
{{{ parentheses, so nothing will be broken.
Comment 1 Brion Vibber 2005-09-05 20:20:55 UTC

*** This bug has been marked as a duplicate of 364 ***

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