On 24/05/2005, at 6:34 PM, Ira Abramov wrote:
Quoting =?iso-8859-2?Q?Micha=B3 Gawro=F1ski?=, from
the post of
Mon, 23 May:
On my wiki (about football) i have thousends of
matches, like that:
looks like a serious headache to keep it all on a wiki rather than
generate this from a database. the plus side of a database application
will be the ability to do all sorts of fun statistics too.
On a related point, does anyone have an example or reference for a
template in which one or more fields may or may not require
repetition when called? What I mean is, for example, if you wanted to
describe the colour of each car in the queue at the traffic lights
outside your house each morning at 08:00. Each day you would create a
new page using the template. However, every day, the number of cars
would vary between 0 and n. Is there a way of building this sort of
variable in to a template so that it can be called with a different
number of colours (in this example) for each car in the queue?
Before anyone gets worried, I'm not creating a car counting Wiki.
It's just an example.
--
rik