Difference between revisions of "Template:Curse"

From Co-Optitude Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
-->{{#vardefine:cursePrefixLen|1}}<!--
 
-->{{#vardefine:cursePrefixLen|1}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|0|7}}|motherf|{{#vardefine:cursePrefixLen|7}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|0|7}}|motherf|{{#vardefine:cursePrefixLen|7}}}}<!--
 +
-->{{#ifeq:{{#sub:{{#var:curseLower}}|0|6}}|bullsh|{{#vardefine:cursePrefixLen|6}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|0|5}}|dumbf|{{#vardefine:cursePrefixLen|5}}}}<!--
 
-->{{#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}}|-7}}|goddamn|{{#vardefine:curseSuffixLen|4}}}}<!--
 +
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|head|{{#vardefine:curseSuffixLen|4}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|hole|{{#vardefine:curseSuffixLen|4}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|hole|{{#vardefine:curseSuffixLen|4}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|face|{{#vardefine:curseSuffixLen|4}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|face|{{#vardefine:curseSuffixLen|4}}}}<!--
 +
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-4}}|shit|{{#vardefine:curseSuffixLen|0}}}}<!--
 
-->{{#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}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-3}}|ass|{{#vardefine:curseSuffixLen|0}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-3}}|ass|{{#vardefine:curseSuffixLen|0}}}}<!--
 +
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-2}}|ch|{{#vardefine:curseSuffixLen|2}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-2}}|ed|{{#vardefine:curseSuffixLen|2}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-2}}|ed|{{#vardefine:curseSuffixLen|2}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-2}}|er|{{#vardefine:curseSuffixLen|2}}}}<!--
 
-->{{#ifeq:{{#sub:{{#var:curseLower}}|-2}}|er|{{#vardefine:curseSuffixLen|2}}}}<!--

Latest revision as of 19:43, 9 May 2020

Usage example:

{{Curse|heck}}