Difference between revisions of "User:BlckKnght"
(Demo new navigation templates) |
|||
Line 30: | Line 30: | ||
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. |
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 result: |
||
+ | {{AutoNavBox}} |
||
+ | |||
+ | 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) |
Revision as of 05:56, 19 May 2006
Hmm, not much to say about myself right now.
Navigation demo:
Use this kind of code at the start of a volume:
{{NavigationForwardBack|volume=Volume1|next=Chapter1}}
Which yields:
Template:NavigationForwardBack
Use this in the middle of a volume:
{{NavigationForwardBack|volume=Volume1|previous=Chapter2|next=Chapter4}}
Which yields: Template:NavigationForwardBack
And finally, use this code at the end of a volume:
{{NavigationForwardBack|volume=Volume1|previous=Author's Notes}}
It yields:
Template:NavigationForwardBack
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: {{AutoNavBox}}
The result: Template:AutoNavBox
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)