Difference between revisions of "User:BlckKnght"

From Baka-Tsuki
Jump to navigation Jump to search
m (typofix)
(describe new SubpageNavBox designed last night)
Line 1: Line 1:
  +
About me:
Hmm, not much to say about myself right now.
 
   
  +
I'm a 25 year old white male living in Tucson, Arizona. Over five years I have studied about two and a half years worth towards degree in Computer Science.
----
 
   
  +
I've enjoyed anime fansubs and manga scanslations for several years now, and I've often wanted to contribute to the community. As I don't speak Japanese and my photoshop/video editing skills are pretty meagre, I've not been able to do much so far. I have scanned several chapters of the [http://animenewsnetwork.com/encyclopedia/manga.php?id=3517 Twin Spica Manga], but only one chapter has been translated so far (more may come this summer!).
Navigation demo:
 
   
  +
Anyway, after being bitten by the Haruhism bug I found this project via the AnimeSuki forums. I've been very impressed by some of the contributors, many of whom have worked on other translation projects that I have enjoyed in the past. I have pretty decent spelling and grammar, so I'm going to contribute as much as I can to the editing of these novels. Being something of a programming geek, I'm also interested in doing interesting things in the Wiki, such as the navigation templates demoed below.
Use this kind of code at the start of a volume:
 
   
  +
----
<nowiki>{{NavigationForwardBack|volume=Volume1|next=Chapter1}}</nowiki>
 
   
  +
Navigation demo:
Which yields:
 
{{NavigationForwardBack|volume=Volume1|next=Chapter1}}
 
   
  +
:''Er, recent changes have broken my older demo stuff. I've removed it to get to the good stuff that was farther down.'' --[[User:BlckKnght|BlckKnght]] 13:19, 8 June 2006 (PDT)
   
  +
I've created a new fully automatic navigation box, [[Template:AutoNavBox]]. Currently it should work from each chapter of volume 1, and I set it to treat this page as if it was chapter 5. Here's a demo:
Use this in the middle of a volume:
 
 
<nowiki>{{NavigationForwardBack|volume=Volume1|previous=Chapter2|next=Chapter4}}</nowiki>
 
 
Which yields:
 
{{NavigationForwardBack|volume=Volume1|previous=Chapter2|next=Chapter4}}
 
 
 
And finally, use this code at the end of a volume:
 
 
<nowiki>{{NavigationForwardBack|volume=Volume1|previous=Author's Notes}}</nowiki>
 
 
It yields:
 
{{NavigationForwardBack|volume=Volume1|previous=Author's Notes|}}
 
 
 
I'm not especially attached to the styling of the links, but I hope people like the template magic. I may try later working on a version that will automatically discover the previous and next page based on just a single argument.
 
 
----
 
 
Update: I've created a new fully automatic navigation box, [[Template:AutoNavBox]]. Currently it should work from each chapter of volume 1, and I set it to treat this page as if it was chapter 5. Here's a demo:
 
   
 
The code: <nowiki>{{AutoNavBox}}</nowiki>
 
The code: <nowiki>{{AutoNavBox}}</nowiki>
Line 40: Line 20:
 
{{AutoNavBox}}
 
{{AutoNavBox}}
   
  +
To add additional pages, edit [[Template:Volume]] to specify what volume the page is in, [[Template:Next Page]] to say what comes next and [[Template:Previous Page]] to specify what comes before. Leave out of the previous or next templates pages that do not have anything before or after them, respectively (such as the first and last chapters of a volume).
The current version of this may be rather hard on the server, so I'm not going to start putting it into the real pages yet. I have an idea that should improve things a lot that I'll get to work on in an hour or two.
 
   
--20:56, 18 May 2006 (PDT)
+
--21:35, 18 May 2006 (PDT)
   
  +
I've created a new version of the Nav box, designed to work on subpages. If subpages are enabled for the main namespace in the wiki, we could use this for the navigation. The advantage of the system is that the navigation code is split up onto separate pages, one for volume (and an additional top level set that allows you to navigate between volume pages!). Check out [[/Volume 1]] for an example of how that works. The navigation information is on [[/Next]], [[/Previous]], [[/Volume 1/Next]] and [[/Volume 1/Previous]]. The code to include the nav box is: <nowiki>{{SubpageNavBox}}</nowiki>
Ok, the further improved version is done. It should work for all pages in Volume 1. To add additional pages, edit [[Template:Volume]] to specify what volume the page is in, [[Template:Next Page]] to say what comes next and [[Template:Previous Page]] to specify what comes before. Leave out of the previous or next templates pages that do not have anything before or after them, respectively (such as the first and last chapters of a volume).
 
   
--21:35, 18 May 2006 (PDT)
+
--[[User:BlckKnght|BlckKnght]] 13:19, 8 June 2006 (PDT)

Revision as of 22:19, 8 June 2006

About me:

I'm a 25 year old white male living in Tucson, Arizona. Over five years I have studied about two and a half years worth towards degree in Computer Science.

I've enjoyed anime fansubs and manga scanslations for several years now, and I've often wanted to contribute to the community. As I don't speak Japanese and my photoshop/video editing skills are pretty meagre, I've not been able to do much so far. I have scanned several chapters of the Twin Spica Manga, but only one chapter has been translated so far (more may come this summer!).

Anyway, after being bitten by the Haruhism bug I found this project via the AnimeSuki forums. I've been very impressed by some of the contributors, many of whom have worked on other translation projects that I have enjoyed in the past. I have pretty decent spelling and grammar, so I'm going to contribute as much as I can to the editing of these novels. Being something of a programming geek, I'm also interested in doing interesting things in the Wiki, such as the navigation templates demoed below.


Navigation demo:

Er, recent changes have broken my older demo stuff. I've removed it to get to the good stuff that was farther down. --BlckKnght 13:19, 8 June 2006 (PDT)

I've created a new fully automatic navigation box, Template:AutoNavBox. Currently it should work from each chapter of volume 1, and I set it to treat this page as if it was chapter 5. Here's a demo:

The code: {{AutoNavBox}}

The result: Template:AutoNavBox

To add additional pages, edit Template:Volume to specify what volume the page is in, Template:Next Page to say what comes next and Template:Previous Page to specify what comes before. Leave out of the previous or next templates pages that do not have anything before or after them, respectively (such as the first and last chapters of a volume).

--21:35, 18 May 2006 (PDT)

I've created a new version of the Nav box, designed to work on subpages. If subpages are enabled for the main namespace in the wiki, we could use this for the navigation. The advantage of the system is that the navigation code is split up onto separate pages, one for volume (and an additional top level set that allows you to navigate between volume pages!). Check out /Volume 1 for an example of how that works. The navigation information is on /Next, /Previous, /Volume 1/Next and /Volume 1/Previous. The code to include the nav box is: {{SubpageNavBox}}

--BlckKnght 13:19, 8 June 2006 (PDT)