Difference between revisions of "Template:Curse"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
-->{{#vardefine:curseSuffixLen|1}}<!--
 
-->{{#vardefine:curseSuffixLen|1}}<!--
 
-->{{#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}}|-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}}}}<!--

Revision as of 10:45, 4 April 2020

Usage example:

{{Curse|heck}}