On Mon, Dec 24, 2012 at 5:00 AM, mediawiki-l-request@lists.wikimedia.orgwrote:
I'm creating pages that represent stores, and the format of every store page is identical, so each store page transcludes the same store template (which is used approximately like this: {{ store_template | storeID }}). But stores belong to different categories depending on the kinds of goods they sell. I have a parser function that, given the storeID, can fetch the right good type from a database, so I want to use that function in the store_template to categorize every store page dynamically.
You should have a look at Semantic MediaWiki http://semantic-mediawiki.org and perhaps get yourself a copy of http://workingwithmediawiki.com/
hth Frank