Difference between revisions of "Template:Curse"
Jump to navigation
Jump to search
Rocketsoup (talk | contribs) |
Rocketsoup (talk | contribs) |
||
Line 7: | Line 7: | ||
-->{{#vardefine:curseLower|{{lc:{{{1}}}}}}}<!-- | -->{{#vardefine:curseLower|{{lc:{{{1}}}}}}}<!-- | ||
-->{{#vardefine:cursePrefixLen|1}}<!-- | -->{{#vardefine:cursePrefixLen|1}}<!-- | ||
+ | -->{{#ifeq:{{#sub:{{#var:curseLower}}|0|7}}|motherf|{{#vardefine:cursePrefixLen|7}}}}<!-- | ||
+ | -->{{#ifeq:{{#sub:{{#var:curseLower}}|0|5}}|dumbf|{{#vardefine:cursePrefixLen|5}}}}<!-- | ||
-->{{#ifeq:{{#sub:{{#var:curseLower}}|0|2}}|sh|{{#vardefine:cursePrefixLen|2}}}}<!-- | -->{{#ifeq:{{#sub:{{#var:curseLower}}|0|2}}|sh|{{#vardefine:cursePrefixLen|2}}}}<!-- | ||
-->{{#vardefine:curseSuffixLen|1}}<!-- | -->{{#vardefine:curseSuffixLen|1}}<!-- | ||
+ | -->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|hole|{{#vardefine:curseSuffixLen|4}}}}<!-- | ||
+ | -->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|face|{{#vardefine:curseSuffixLen|4}}}}<!-- | ||
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-3}}|ing|{{#vardefine:curseSuffixLen|3}}}}<!-- | -->{{#ifeq:{{#sub:{{#var:curseLower}}|-3}}|ing|{{#vardefine:curseSuffixLen|3}}}}<!-- | ||
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-3}}|est|{{#vardefine:curseSuffixLen|3}}}}<!-- | -->{{#ifeq:{{#sub:{{#var:curseLower}}|-3}}|est|{{#vardefine:curseSuffixLen|3}}}}<!-- |
Revision as of 20:32, 25 April 2020
Usage example:
{{Curse|heck}}