Template:IsSex: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|[[:Category:Male{{!}}Male]] ♂|{{#ifeq:{{lc:{{{1|}}}}}|female|Female ♀|[[:Category:Other{{!}}Other]] ⚧}}}}<...")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|[[:Category:Male{{!}}Male]] ♂|{{#ifeq:{{lc:{{{1|}}}}}|female|[[:Category:Female|Female]] ♀|[[:Category:Other{{!}}Other]] ⚧}}}}<!--ApplyCategory--><!--[[Category:{{#ifeq:{{lc:{{{1|}}}}}|male|Male|{{#ifeq:{{{1|}}}|female|Female|Other}}}}]]--></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==
<nowiki>{{isSex|<male/female/other>|(Dead?)<yes/no>|<species>|<onlyicon>|<skipCategory>}}</nowiki>
==Example use==
==Example use==
  <nowiki>{{isSex|Male}}</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}}