Forum:Templates with arbitrary parameters

I want to create a template that sets semantic properties -- basically, a bit of a more user-friendly version of the #set parser function that will also happen to be backwards-compatible with my wiki's old DPL information-storage templates. The template would look like and that would basically translate into. This basically requires a template that takes arbitrary parameters -- arbitrary on both name and number. Is there a way to do this -- extract the information about parameters passed to the template? Surgo 23:44, September 23, 2009 (UTC)
 * Sure. Syntax looks like
 * Your template:Semantic then does
 * If you nest them like that, then the expansion will stop when it runs out of parameters, rather than exhaustively test every one. It's a little more friendly to the servers.
 * I don't know what syntax you were using with dpl, but if you need to massage the format of the template calls, then Autowikibrowser (AWB) is a simple tool that can get you converted fast. 03:05, September 24, 2009 (UTC)
 * I don't know what syntax you were using with dpl, but if you need to massage the format of the template calls, then Autowikibrowser (AWB) is a simple tool that can get you converted fast. 03:05, September 24, 2009 (UTC)


 * That's what I'll probably end up doing I suppose, but I was really hoping there was a way to do it with . Surgo 21:19, September 24, 2009 (UTC)