Template:IsSex: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
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]]&nbsp;}}♂|{{#ifeq:{{lc:{{{1|}}}}}|female|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Female|Female]]&nbsp;}}♀|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Other{{!}}Other]]&nbsp;}}⚧}}}}<!--ApplyCategory--><!--[[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:{{lc:{{{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==
  <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}}