Template:SimpleNav: Difference between revisions
Jump to navigation
Jump to search
Not bad for seven hours of work. |
Added auto function covering "Author Notes", as opposed to "Afterword" |
||
| Line 4: | Line 4: | ||
{{#if:{{{1|}}}|{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}{{{1}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}{{{1}}}|{{{1}}}]]}}| | {{#if:{{{1|}}}|{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}{{{1}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}{{{1}}}|{{{1}}}]]}}| | ||
{{#switch:{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}} | {{#switch:{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}} | ||
|Illustrations={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{# | |Illustrations={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}-1}}}} Afterword|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}-1}}}} Afterword|Volume {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}-1}} Afterword]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{# | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}-1}}}} Author Notes|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}-1}}}} Author Notes|Volume {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}-1}} Author Notes]]}}}} | ||
|Prologue={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Illustrations|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Illustrations|Illustrations]]}} | |Prologue={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Illustrations|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Illustrations|Illustrations]]}} | ||
|Epilogue={{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|Chapter {{{e}}}]]| | |Epilogue={{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|Chapter {{{e}}}]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|Chapter {{{e}}}]]}}}} | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|Chapter {{{e}}}]]}}}} | ||
|Afterword={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Epilogue|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Epilogue|Epilogue]]| | |Afterword={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Epilogue|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Epilogue|Epilogue]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|Chapter {{{e}}}]]| | |||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|Chapter {{{e}}}]]}}}}}} | |||
|Author Notes={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Epilogue|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Epilogue|Epilogue]]| | |||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|Chapter {{{e}}}]]| | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{e}}}|Chapter {{{e}}}]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|Chapter {{{e}}}]]}}}}}} | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|{{!}} Back to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{e}}}|Chapter {{{e}}}]]}}}}}} | ||
| Line 26: | Line 29: | ||
|Prologue={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{s|1}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{s|1}}}|Chapter {{{s|1}}}]]| | |Prologue={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{s|1}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter {{{s|1}}}|Chapter {{{s|1}}}]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{s|1}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{s|1}}}|Chapter {{{s|1}}}]]}}}} | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{s|1}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Chapter{{{s|1}}}|Chapter {{{s|1}}}]]}}}} | ||
|Epilogue={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Afterword|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Afterword|Afterword]]}} | |Epilogue={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Afterword|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Afterword|Afterword]]| | ||
|Afterword={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{# | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Author Notes|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|{{#sub:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}}}}}Author Notes|Author notes]]}}}} | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{# | |Afterword={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}+1}}}} Illustrations|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}+1}}}} Illustrations|Volume {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}+1}} Illustrations]]}} | ||
|Author Notes={{#ifexist:{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}+1}}}} Illustrations|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}|Volume}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}|Volume}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|Volume}}+6}}}}| }}}}+1}}}} Illustrations|Volume {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}|{{#pos:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}| }}}}+1}} Illustrations]]}} | |||
|{{#ifeq:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}|{{{e}}}| | |{{#ifeq:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}|{{{e}}}| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Epilogue|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Epilogue|Epilogue]]| | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Epilogue|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Epilogue|Epilogue]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Afterword|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Afterword|Afterword]]}}}}| | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Afterword|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Afterword|Afterword]]| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Author Notes|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}Author Notes|Author Notes]]}}}}}}| | |||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}|Chapter}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}+1}}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}|Chapter}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}+1}}}}|Chapter {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}+1}}]]}}}}}}| | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}|Chapter}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}+1}}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|Chapter}}}}{{#replace:{{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}|Chapter}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}+1}}}}|Chapter {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Chapter}}+7}}}}+1}}]]}}}}}}| | ||
{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|:}}}}:{{#replace:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|:}}+1}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}+1}}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|:}}}}:{{#replace:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|:}}+1}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}+1}}}}|Volume {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}+1}}]]}}}}}} | {{#ifexist:{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|:}}}}:{{#replace:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|:}}+1}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}+1}}}}|{{!}} Forward to [[{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|:}}}}:{{#replace:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|:}}+1}}}}|{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}|{{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}+1}}}}|Volume {{#expr:{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|Volume}}+6}}}}+1}}]]}}}}}} | ||
Revision as of 03:12, 18 May 2013
| Return to Main Page |
Under construction. Not fully tested yet.
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).