Difference between revisions of "Template talk:SimpleNav"

From Baka-Tsuki
Jump to navigation Jump to search
m
Line 15: Line 15:
 
:The only thing that works is |f=Volume_08_Chapter_1 but then it will display 'Forward to Volume_08_Chapter_1' even though all I want is 'Chapter 1'
 
:The only thing that works is |f=Volume_08_Chapter_1 but then it will display 'Forward to Volume_08_Chapter_1' even though all I want is 'Chapter 1'
 
:It can recognize if I remove the underscores also but it can't recognize if I remove the volume.
 
:It can recognize if I remove the underscores also but it can't recognize if I remove the volume.
  +
:Also, let's say the page name is Chapter1. Can it display as 'Chapter 1' instead of 'Chapter1'? Is there an override directive?
 
:[[User:Acolyte|Acolyte]] ([[User talk:Acolyte|talk]]) 14:15, 21 July 2014 (CDT)
 
:[[User:Acolyte|Acolyte]] ([[User talk:Acolyte|talk]]) 14:15, 21 July 2014 (CDT)

Revision as of 21:30, 21 July 2014

Issue: many series have a space between "volume" and the volume number, and similarly on "chapter" and the chapter number. for example

Toaru_Majutsu_no_Index:Volume7_Chapter3 vs Tsurugi_no_Joou_to_Rakuin_no_Ko:Volume_1_Chapter_5

Is this a problem? Also, you might want to have a look at User:Zero2001's work. Beyond this, you're going to run into a lot of small, project or page specific issues.--Saganatsu (talk) 23:31, 17 May 2013 (CDT)

I already accounted for the space between number and Volume/Chapter, actually, and used a #replace for those cases, so the above two examples are no problem. It's only estimated to get messy if there's no space between the volume and chapter, for example Volume1Chapter2. Or if Volume and Chapter aren't spelled out fully and correctly, with the right cases.
Yeah, a few of the project-specific cases churned out headaches, some I can work around and others which might be more trouble than it's worth. As far as I can see there's nothing this can't solve yet, though. SAO's "Author Notes" was specifically built against, and stuff like Zero no Tsukaima's Volume1 Story1 Chapter1 would usually work with the auto-navigate function, and for the ones that don't, one can manually insert the designated page by inserting everything after the volume number (e.g. {{SimpleNav|Story1 Chapter3|Story2 Chapter1}} for the Story1 Chapter4 page). As far as I know this should work with all pages. -Akira (talk) 00:51, 18 May 2013 (CDT)


Issue: Recognizes chapters if not given back/forward but if given back/forward cannot recognize them

How would you fix up Madan no Ou to Vanadis:Volume 08 Prologue and Madan no Ou to Vanadis:Volume 08 Chapter 1?
In the Prologue I tried a |s=1 and it doesn't work. |f=Chapter_1 also doesn't work.
The only thing that works is |f=Volume_08_Chapter_1 but then it will display 'Forward to Volume_08_Chapter_1' even though all I want is 'Chapter 1'
It can recognize if I remove the underscores also but it can't recognize if I remove the volume.
Also, let's say the page name is Chapter1. Can it display as 'Chapter 1' instead of 'Chapter1'? Is there an override directive?
Acolyte (talk) 14:15, 21 July 2014 (CDT)