Difference between revisions of "Template:SimpleNav"
Jump to navigation
Jump to search
m (Probably as done as it's worthwhile to improve.) |
m (AKAAkira moved page User:AKAAkira/SimpleNav to Template:SimpleNav: Thoroughly tested, shouldn't break) |
(No difference)
|
Revision as of 10:00, 18 May 2013
Return to Main Page |
Warning: This template is only guaranteed to work on pages which has their naming conventions CONSISTENT. Specifically: *There must be a colon (:) after the series title; *Both the words Volume and Chapter are in the title, spelled correctly; *The word Volume must immediately precede the volume number; *The word Chapter must immediately precede the chapter number; *For the above two, the latter must succeed the former; and *For the auto-navigate function to work, the s (starting chapter) and e (ending chapter) arguments must be correct and the chapter must IMMEDIATELY succeed the former, with a space in between. Notes: {{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|:}}}} produces the title of the series {{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}|:}}}} produces everything after the colon in the title {{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}} produces the zero-based position right after 'e' in the word "Volume" in the title {{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| {{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}} produces everything after the volume number (including the space immediately after, though this should be ignorable).