Template:Nav: Difference between revisions

From Baka-Tsuki
Jump to navigation Jump to search
Vaelis (talk | contribs)
mNo edit summary
Arczyx (talk | contribs)
m The "back" link had some [] around it. Tried to fix it and failed
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
{{#ifeq: {{#rpos:{{{2}}}|{{{1}}}}}|0| | {{!}} [[{{#sub:{{{2}}}|{{#rpos:{{#sub:{{{2}}}|0|{{#pos:{{{2}}}|{{{1}}}}}|0}}|{{{3}}}}}|{{#expr:{{#pos:{{{2}}}|{{{1}}}|0}}-1-{{#rpos:{{#sub:{{{2}}}|0|{{#pos:{{{2}}}|{{{1}}}}}|0}}|{{{3}}}}}}}}}|Back]]}}
{{#ifeq: {{#rpos:{{{2}}}|{{{1}}}}}|0| | {{!}} [[{{#sub:{{{2}}}|{{#rpos:{{#sub:{{{2}}}|0|{{#pos:{{{2}}}|{{{1}}}}}|0}}|{{{3}}}}}|{{#expr:{{#pos:{{{2}}}|{{{1}}}|0}}-1-{{#rpos:{{#sub:{{{2}}}|0|{{#pos:{{{2}}}|{{{1}}}}}|0}}|{{{3}}}}}}}}}|Back]]}}
| [[{{{3}}}|Return to Main Page]]
| [[{{{3}}}|Return to Main Page]]
{{#ifeq: {{#pos:{{{{{2}}}}}|{{{3}}}|{{#expr:{{#pos:{{{{{2}}}}}|{{{1}}}|0}}+1+{{#len:{{{1}}}}}+1}}}} | | | {{!}} [[{{#sub:{{{{{2}}}}}|{{#expr:{{#pos:{{{{{2}}}}}|{{{1}}}|0}}+1+{{#len:{{{1}}}}}}}|{{#expr:{{#pos:{{{{{2}}}}}|{{{3}}}|{{#expr:1+{{#pos:{{{{{2}}}}}|{{{1}}}|0}}+{{#len:{{{1}}}}}+1}}}}-{{#expr:2+{{#pos:{{{{{2}}}}}|{{{1}}}|0}}+{{#len:{{{1}}}}}}}}}}}|Forward]]}}
{{#ifeq: {{#pos:{{{2}}}|{{{3}}}|{{#expr:{{#pos:{{{2}}}|{{{1}}}|0}}+1+{{#len:{{{1}}}}}+1}}}} | | | {{!}} [[{{#sub:{{{2}}}|{{#expr:{{#pos:{{{2}}}|{{{1}}}|0}}+1+{{#len:{{{1}}}}}}}|{{#expr:{{#pos:{{{2}}}|{{{3}}}|{{#expr:1+{{#pos:{{{2}}}|{{{1}}}|0}}+{{#len:{{{1}}}}}+1}}}}-{{#expr:2+{{#pos:{{{2}}}|{{{1}}}|0}}+{{#len:{{{1}}}}}}}}}}}|Forward]]}}
|-
|-
|}</includeonly>
|}</includeonly>

Latest revision as of 02:13, 15 December 2012