Template:IsSex: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Male{{!}}Male]] }}♂|{{#ifeq:{{lc:{{{1|}}}}}|female|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Female|Female]] }}♀|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Other{{!}}Other]] }}⚧}}}}<!--ApplyCategory--> | <includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Male{{!}}Male]] }}♂|{{#ifeq:{{lc:{{{1|}}}}}|female|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Female|Female]] }}♀|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Other{{!}}Other]] }}⚧}}}}<!--ApplyCategory-->{{#ifeq:{{lc:{{{5|}}}}}|skipCategory|[[Category:{{#if:{{{3|}}}|{{{3|}}}| }}{{#ifeq:{{lc:{{{1|}}}}}|male|Male|{{#ifeq:{{{1|}}}|female|Female|Other}}}}{{#ifeq:{{lc:{{{2|}}}}}|yes|{{!}} †}}]]}}</includeonly><noinclude> | ||
'''isSex''' applies a, symbol and category for desired sex. | '''isSex''' applies a, symbol and category for desired sex. | ||
==Parameters== | ==Parameters== | ||
<nowiki>{{isSex|<male/female/other>|(Dead?)<yes/no>|<species>|<onlyicon>}}</nowiki> | <nowiki>{{isSex|<male/female/other>|(Dead?)<yes/no>|<species>|<onlyicon>|<skipCategory>}}</nowiki> | ||
==Example use== | ==Example use== | ||
<nowiki>{{isSex|Male|Yes|Kindred|onlyicon}}</nowiki> | <nowiki>{{isSex|Male|Yes|Kindred|onlyicon}}</nowiki> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> |
Latest revision as of 14:00, 2 August 2017
isSex applies a, symbol and category for desired sex.
Parameters
{{isSex|<male/female/other>|(Dead?)<yes/no>|<species>|<onlyicon>|<skipCategory>}}
Example use
{{isSex|Male|Yes|Kindred|onlyicon}}