Template:IsSex: Difference between revisions

From Shadow Chronicles - Mortal
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq:{{lc:{{{1|}}}}}|male|{{#ifeq:{{lc:{{{4|}}}}}|onlyicon||[[:Category:Male{{!}}Male]] }}♂|{{#ifeq:{{lc:{{{1|}}}}}|female|{{#ifeq:{{lc:{{{4|}}}}}|onlyi...")
 
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--><!--[[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==
  <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>

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