Template talk:Unit

User:Coax75ohm is interested in including a category tagging for gender if a unit is male or female. Question would be, well, how would this be handled?

We can do something simple like including an if parser function with a parameter named just male. If "male" is not filled in with anything other than whitespace, the unit is female. If "male" is filled with something other than whitespace, the unit is female. Something rather simple like this:

On the other hand, we could have both male and female parameters.

{{#if {{male|}}} | | }} {{#if {{male|}}} | | }}

Just something to think about. Fairingrey (talk) 20:51, December 7, 2014 (UTC)