Template:EAC guides: Difference between revisions

From Hydrogenaudio Knowledgebase
m (.)
m (.)
Line 41: Line 41:
|}
|}
<includeonly>{{#vardefine: pagename | {{PAGENAME}} }}
<includeonly>{{#vardefine: pagename | {{PAGENAME}} }}
{{#if: {{#pos: {{#var: pagename }} | and }} |
{{#vardefine: pos | {{#pos: {{#var:pagename}} | and }} }}
   {{#vardefine: sortpart | {{#sub: {{#var: pagename }} | {{#expr: {{#pos: {{#var: pagename }} | and }} + 4 }} }} }}
{{#if: {{#var:pos}} |
   {{DEFAULTSORT: {{#var: sortpart }} }}[[Category:Guides]]
   {{#vardefine: sortpart | {{#sub:{{#var:pagename}}|{{#expr:{{#var:pos}}+4}} }} }}
   {{DEFAULTSORT: {{#var:sortpart}}}}[[Category:Guides]]
   |
   |
   No "and" found in the second part.
   No "and" found in the second part.

Revision as of 12:28, 22 October 2024