Last modified: 2009-03-17 04:29:18 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 T4357, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2357 - Parser function to provide loop functionality
Parser function to provide loop functionality
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 6794 (view as bug list)
Depends on:
Blocks: 2376
  Show dependency treegraph
 
Reported: 2005-06-08 20:43 UTC by Marius
Modified: 2009-03-17 04:29 UTC (History)
1 user (show)

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


Attachments

Description Marius 2005-06-08 20:43:25 UTC
I would like to produce templates with lists. E.g. I want to create a page that
lists the courses that professors teach. Professor A might have 3 courses,
professor B might have 5. It would be easy to have a template that accepts a
random number of variables instead of a set number.
For example, the template could look like the following:
processall x*: '''x*'''
a template call such as {{name|x1=IT101|x2=IT114|x3=SLA442|...|xn=??????}}
should print out all the variables in bold.
Comment 1 Minh Nguyễn 2006-03-06 00:43:16 UTC
You might be interested in [[m:Template:Foreach]].
Comment 2 Rob Church 2006-12-27 10:14:09 UTC
*** Bug 6794 has been marked as a duplicate of this bug. ***

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


Navigation
Links