Hi all,
I want to make a template page where, if I use it without arguments, the parameter {{{1}}} has the value {{PAGENAME}}, but if I do use an argument, the parameter {{{1}}} has the value with which I'm calling.
Is that possible?
Sorry if this is not the proper list. Also sorry for even asking the question, but after close to an hour looking through the documentation in meta and en, I still don't know if this is possible.
AstroNomer
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
wiki pedista wrote:
I want to make a template page where, if I use it without arguments, the parameter {{{1}}} has the value {{PAGENAME}}, but if I do use an argument, the parameter {{{1}}} has the value with which I'm calling. Is that possible?
This is not currently possible, but I'm sure it's pretty easy to code. In general, I think we need a "default value" syntax in the templates.
Timwi
wikitech-l@lists.wikimedia.org