Hard Light Productions Forums

Community Projects => The FreeSpace Wiki Project => Topic started by: Fury on June 06, 2010, 03:37:05 am

Title: Extension:ParserFunctions
Post by: Fury on June 06, 2010, 03:37:05 am
Requested by Wanderer, now installed.
http://www.mediawiki.org/wiki/Extension:ParserFunctions
Title: Re: Extension:ParserFunctions
Post by: Wanderer on June 06, 2010, 05:41:01 am
Absolutely marvelous.. Now the tables in the wiki can be written in far more comprehensive format (from the end user POV)

http://www.hard-light.net/wiki/index.php/Template:Ship_box
Title: Re: Extension:ParserFunctions
Post by: Snail on June 06, 2010, 06:20:41 am
This is the thingy that allows you to omit unused parameters right? (instead of N/A)
Title: Re: Extension:ParserFunctions
Post by: The E on June 06, 2010, 06:48:31 am
Could this be used in the weapons/beams/ships templates to turn the tbl flags into notes, as seen here: http://www.hard-light.net/wiki/index.php/TerSlashBlue#Notes ?
That is, give it the flags string from the tbl, and it would create these explanatory notes?
Title: Re: Extension:ParserFunctions
Post by: Wanderer on June 06, 2010, 10:53:49 am
This is the thingy that allows you to omit unused parameters right? (instead of N/A)
Exactly

Could this be used in the weapons/beams/ships templates to turn the tbl flags into notes, as seen here: http://www.hard-light.net/wiki/index.php/TerSlashBlue#Notes ?
That is, give it the flags string from the tbl, and it would create these explanatory notes?
Yes


Main thing however is that this now makes it easier to use the templates for the end-users (ie. normal wiki editors).