Template:GetCareerCat: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>AireDaleDogz
(Added a check for self-employed Sims.)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1}}}}}
<includeonly>{{#switch: {{lc:{{{1}}}}}
|retired = {{Checkmns|[[Category:Retired Sims]]}}{{Checkfns|[[Category:Retired Sims (fanon)]]}}
|retired = {{namespace detect |main=[[Category:Retired Sims]] |fanon=[[Category:Retired Sims (fanon)]] |custom content= [[Category:Retired Sims (custom)]]}}
|unemployed = {{Checkmns|[[Category:Unemployed Sims]]}}{{Checkfns|[[Category:Unemployed Sims (fanon)]]}}
|unemployed = {{Namespace detect |main=[[Category:Unemployed Sims]] |fanon=[[Category:Unemployed Sims (fanon)]] |custom content = [[Category:Unemployed Sims (custom)]]}}
|self employment
|self employment
|self-employment
|self-employment
|self employed
|self employed
|self-employed = {{Checkmns|[[Category:Self-Employed Sims]]}}{{Checkfns|[[Category:Self-Employed Sims (fanon)]]}}
|self-employed = {{Namespace detect |main=[[Category:Self-Employed Sims]] |fanon=[[Category:Self-Employed Sims (fanon)]] |custom content = [[Category:Self-Employed Sims (custom)]]}}


<!-- Part-time jobs & business employees -->
<!-- Part-Time Jobs & Business Employee -->
|manager
|manager
|employee = [[Category:Sims who work as business employees{{Checkfns|&nbsp;(fanon)}}]]
|employee = [[Category:Sims who work as business employees{{Namespace detect|fanon=&nbsp;(fanon) |custom content=&nbsp;(custom)}}]]
|fisherman = [[Category:Sims who work as fishermen{{Checkfns|&nbsp;(fanon)}}]]
|fisherman = [[Category:Sims who work as fishermen{{Namespace detect|fanon=&nbsp;(fanon) |custom content=&nbsp;(custom)}}]]
|alien test subject
|alien test subject
|babysitter
|babysitter
Line 22: Line 22:
|receptionist
|receptionist
|retail employee
|retail employee
|spa specialist = [[Category:Sims who work as {{lc:{{{1}}}}}s{{Checkfns|&nbsp;(fanon)}}]]
|spa specialist = [[Category:Sims who work as {{lc:{{{1}}}}}s{{namespace detect |fanon=&nbsp;(fanon) |custom content=&nbsp;(custom)}}]]


<!-- Afterschool activities -->
<!-- Afterschool activities -->
Line 28: Line 28:
|e-sports competitor
|e-sports competitor
|scout
|scout
|soccer team player = [[Category:Sims enrolled in afterschool activities{{Checkfns|&nbsp;(fanon)}}]]
|soccer team player = [[Category:Sims enrolled in afterschool activities{{Namespace detect|fanon=&nbsp;(fanon) |custom content=&nbsp;(custom)}}]]


<!-- Full-time careers - DEFAULT -->
<!-- Full-Time Jobs - DEFAULT -->
|[[Category:Sims who work in the {{#switch: {{lc:{{{1}}}}}
|[[Category:Sims who work in the {{#switch: {{lc:{{{1}}}}}
|acrobat = Acrobat
|acrobat = Acrobat
Line 121: Line 121:
|writer = Writer
|writer = Writer
|xtreme = X-Treme
|xtreme = X-Treme
}} career{{Checkfns|&nbsp;(fanon)}}]]
}} career{{Namespace detect |fanon=&nbsp;(fanon) |custom content=&nbsp;(custom)}}]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 18:09, 29 June 2021

Template documentation (View · Edit · History · Purge)
Description
This template is used to get the category code for careers. It is used in conjunction with Bio templates.
Syntax
{{GetCareerCat|<state>}}.

Visit Template:GetCareerCat/doc to edit this text! (How does this work?) (Refresh this text - why?)