Editing
Template talk:SimpleNav
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
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.--[[User:Saganatsu|Saganatsu]] ([[User talk:Saganatsu|talk]]) 23:31, 17 May 2013 (CDT) :I already accounted for the space between number and Volume/Chapter, actually, and used a <code>#replace</code> 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. <code><nowiki>{{</nowiki>SimpleNav|Story1 Chapter3|Story2 Chapter1}}</code> for the Story1 Chapter4 page). As far as I know this ''should'' work with all pages. -[[User:AKAAkira|Akira]] ([[User talk:AKAAkira|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? :[[User:Acolyte|Acolyte]] ([[User talk:Acolyte|talk]]) 14:15, 21 July 2014 (CDT) ::Ugh... I didn't see that one coming. Um, for the Madan no Ou pages, I didn't account for the fact that some pages would put in a number like "08" instead of just "8". That's why the template's not auto-navigating--it's trying to look for the nonexistent page "Madan no Ou to Vanadis:Volume 8 Chapter 1", and so on. Gonna be a drag to get around... ::Anyway, there ''is'' a solution for both of your problems--the same solution, and one that I appear to have forgotten to write into the usage section... There're two more arguments called '''forwardname''' and '''backname''', or '''fn''' and '''bn''' for short. As its name implies, it puts up a custom name for whatever the next link is going to be. For V8 Prologue of Madan no Ou, you would have to put in '''|f=Volume_08_Chapter_1''' and then '''|fn=Chapter 1'''. The same for your hypothetical Chapter1 page--you won't have to put in anything for the '''forward''' argument (assuming all goes well), you just have to put in '''|fn=Chapter 1'''. ::(As a side note, underscores ( _ ) always count as a space when used in links, so Chapter_1 and Chapter 1 is pretty much equivalent. Only time they'll actually be necessary is on external links, where you actually have to distinguish between the URL and the substitute text. Of course, they're good for readability too.) ::Thanks for bringing it up, and hope this helps. -[[User:AKAAkira|Akira]] ([[User talk:AKAAkira|talk]]) 14:09, 30 July 2014 (CDT) :::Yes that sounds perfect as what I intended. Thanks. [[User:Acolyte|Acolyte]] ([[User talk:Acolyte|talk]]) 14:32, 30 July 2014 (CDT)
Summary:
Please note that all contributions to Baka-Tsuki are considered to be released under the TLG Translation Common Agreement v.0.4.1 (see
Baka-Tsuki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, please solve the following captcha:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit
Add topic
View history
More
Search
Navigation
Charter of Guidance
Project Presentation
Recent Changes
Categories
Quick Links
About Baka-Tsuki
Getting Started
Rules & Guidelines
IRC: #Baka-Tsuki
Discord server
Annex
MAIN PROJECTS
Alternative Languages
Teaser Projects
Web Novel Projects
Audio Novel Project
Network
Forum
Facebook
Twitter
IRC: #Baka-Tsuki
Discord
Youtube
Completed Series
Baka to test to shoukanjuu
Chrome Shelled Regios
Clash of Hexennacht
Cube Γ Cursed Γ Curious
Fate/Zero
Hello, Hello and Hello
Hikaru ga Chikyuu ni Itakoro......
Kamisama no Memochou
Kamisu Reina Series
Leviathan of the Covenant
Magika no Kenshi to Basileus
Masou Gakuen HxH
Maou na Ore to Fushihime no Yubiwa
Owari no Chronicle
Seirei Tsukai no Blade Dance
Silver Cross and Draculea
A Simple Survey
Ultimate Antihero
The Zashiki Warashi of Intellectual Village
One-shots
Amaryllis in the Ice Country
(The) Circumstances Leading to Waltraute's Marriage
Gekkou
Iris on Rainy Days
Mimizuku to Yoru no Ou
Tabi ni Deyou, Horobiyuku Sekai no Hate Made
Tada, Sore Dake de Yokattan Desu
The World God Only Knows
Tosho Meikyuu
Up-to-Date (Within 1 Volume)
Heavy Object
Hyouka
I'm a High School Boy and a Bestselling Light Novel author, strangled by my female classmate who is my junior and a voice actress
The Unexplored Summon://Blood-Sign
Toaru Majutsu no Index: Genesis Testament
Regularly Updated
City Series
Kyoukai Senjou no Horizon
Visual Novels
Anniversary no Kuni no Alice
Fate/Stay Night
Tomoyo After
White Album 2
Original Light Novels
Ancient Magic Arc
Dantega
Daybreak on Hyperion
The Longing Of Shiina Ryo
Mother of Learning
The Devil's Spice
Tools
What links here
Related changes
Special pages
Page information