Difference between revisions of "Template:Curse"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
-->{{#vardefine:curseSuffix|{{#sub:{{{1}}}|{{#ifeq:{{#var:curseSuffixLen}}|0||{{#expr:-1*{{#var:curseSuffixLen}}}}}}}}}}<!--
 
-->{{#vardefine:curseSuffix|{{#sub:{{{1}}}|{{#ifeq:{{#var:curseSuffixLen}}|0||{{#expr:-1*{{#var:curseSuffixLen}}}}}}}}}}<!--
 
-->{{#vardefine:curseMiddle|{{#sub:{{{1}}}|{{#var:cursePrefixLen}}|{{#expr:-1*{{#var:curseSuffixLen}}}}}}}}<!--
 
-->{{#vardefine:curseMiddle|{{#sub:{{{1}}}|{{#var:cursePrefixLen}}|{{#expr:-1*{{#var:curseSuffixLen}}}}}}}}<!--
 +
-->
 +
* 1 = {{{1}}}
 +
* curseLower = {{#var:curseLower}}
 +
* cursePrefixLen = {{#var:cursePrefixLen}}
 +
* curseSuffixLen = {{#var:curseSuffixLen}}
 +
* cursePrefix = {{#var:cursePrefix}}
 +
* curseMiddle = {{#var:curseMiddle}}
 +
* curseSuffix = {{#var:curseSuffix}}
 +
<!--
 
--><span class="rsCurse"><!--
 
--><span class="rsCurse"><!--
 
   --><span class="rsCursePrefix">{{#var:cursePrefix}}</span><!--
 
   --><span class="rsCursePrefix">{{#var:cursePrefix}}</span><!--

Revision as of 10:18, 4 April 2020

Usage example:

{{Curse|heck}}