Template:IsSex: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Male{{!}}Male]]&nbsp;}}♂|{{#ifeq:{{lc:{{{1|}}}}}|female|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Female|Female]]&nbsp;}}♀|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Other{{!}}Other]]&nbsp;}}⚧}}}}<!--ApplyCategory-->{{#ifeq:{{ls:{{{5|}}}|skipCategory|[[Category:{{#if:{{{3|}}}|{{{3|}}}|&nbsp;}}{{#ifeq:{{lc:{{{1|}}}}}|male|Male|{{#ifeq:{{{1|}}}|female|Female|Other}}}}{{#ifeq:{{lc:{{{2|}}}}}|yes|{{!}}&nbsp;†}}]]}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Male{{!}}Male]]&nbsp;}}♂|{{#ifeq:{{lc:{{{1|}}}}}|female|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Female|Female]]&nbsp;}}♀|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Other{{!}}Other]]&nbsp;}}⚧}}}}<!--ApplyCategory-->{{#ifeq:{{ls:{{{5|}}}}}|skipCategory|[[Category:{{#if:{{{3|}}}|{{{3|}}}|&nbsp;}}{{#ifeq:{{lc:{{{1|}}}}}|male|Male|{{#ifeq:{{{1|}}}|female|Female|Other}}}}{{#ifeq:{{lc:{{{2|}}}}}|yes|{{!}}&nbsp;†}}]]}}</includeonly><noinclude>
'''isSex''' applies a, symbol and category for desired sex.
'''isSex''' applies a, symbol and category for desired sex.
==Parameters==
==Parameters==

Revision as of 11:20, 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}}