Template:Slashcheck: Difference between revisions

From ihaveahax's Site
Jump to navigationJump to search
(Created page with "{{#vardefine: lenminus1 | {{#expr: {{#len: {{FULLPAGENAME}} }} - 1 }} }}{{#vardefine: withoutlast | {{#sub: {{FULLPAGENAME}} | 0 | {{#var: lenminus1 }} }} }}{{#ifeq: {{#sub: {...")
 
No edit summary
 
Line 1: Line 1:
{{#vardefine: lenminus1 | {{#expr: {{#len: {{FULLPAGENAME}} }} - 1 }} }}{{#vardefine: withoutlast | {{#sub: {{FULLPAGENAME}} | 0 | {{#var: lenminus1 }} }} }}{{#ifeq: {{#sub: {{FULLPAGENAME}} | {{#var: lenminus1 }} | {{#var: lenminus1 }} }} | / | {{#ifexist: {{#var: withoutlast }} | = Did you mean: [[:{{#var: withoutlast }}|{{#var: withoutlast }}]] = }} |  }}
{{#vardefine: lenminus1 | {{#expr: {{#len: {{FULLPAGENAME}} }} - 1 }} }}{{#vardefine: withoutlast | {{#sub: {{FULLPAGENAME}} | 0 | {{#var: lenminus1 }} }} }}{{#ifeq: {{#sub: {{FULLPAGENAME}} | {{#var: lenminus1 }} | {{#var: lenminus1 }} }} | / | {{#ifexist: {{#var: withoutlast }} | = Did you mean: [[:{{#var: withoutlast }}|{{#var: withoutlast }}]] = }} |  }}<noinclude>Since [[mw:Extension:Variables]] might not work in the future this needs to be redone, but later.

Latest revision as of 09:49, 29 May 2021

Since mw:Extension:Variables might not work in the future this needs to be redone, but later.