Difference between revisions of "Template:RentalMagicaNavbar"
Jump to navigation
Jump to search
Jonathanasdf (talk | contribs) m |
Jonathanasdf (talk | contribs) m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly> |
||
− | {| id="navbar" border="1" cellpadding="5" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; padding: 0.2em; border-collapse: collapse;" |
||
+ | {{Navigation |
||
− | |- |
||
+ | | Rental Magica |
||
− | {{#if: {{{back|{{{Back|}}}}}} | {{!}} Back to [[{{{back|{{{Back}}}}}}]] |}} |
||
+ | | {{{1|}}} |
||
− | | Return to [[Rental_Magica|Main Page]] |
||
+ | | {{{2|}}} |
||
− | {{#if: {{{forward|{{{Forward|}}}}}} | {{!}} Forward to [[{{{forward|{{{Forward}}}}}}]] |}} |
||
+ | }} |
||
− | |- |
||
+ | </includeonly> |
||
− | |} |
||
<noinclude> |
<noinclude> |
||
+ | |||
− | This is a navbar for the Rental Magica project. Even if your project uses the exact same format, please create a new template specific to your project and copy the code from this template. This is to prevent possible changes to this template accidentally affecting other projects (and the fact that return to Main Page is hard-coded in). |
||
+ | This is a navbar for the Rental Magica project. Even if your project uses the exact same format, please create a new template specific to your project and copy the code from this template. This is to prevent possible changes to this template accidentally affecting other projects (and the fact that return to Main Page is hard-coded in). Currently delegates to [[Template:Navigation|the Navigation template]]. |
||
=== Usage === |
=== Usage === |
||
+ | ; 1: the link to go back to |
||
− | All parameters are optional. |
||
+ | ; 2: the link to go forward to |
||
− | ; back or Back: the page to go back to, in the format <nowiki>Link{{!}}TextToShow</nowiki> |
||
− | ; forward or Forward: the page to go forward to, in the format <nowiki>Link{{!}}TextToShow</nowiki> |
||
− | |||
<hr /> |
<hr /> |
||
− | Example |
+ | Example usage (spaces optional): |
+ | <pre> |
||
− | |||
+ | {{RentalMagicaNavbar |
||
− | <nowiki> |
||
− | + | | [[Rental_Magica_Volume_1:_Prologue | Prologue]] |
|
+ | | [[Rental_Magica_Volume_1:_Chapter_2 | Chapter 2]] |
||
− | </nowiki> |
||
+ | }} |
||
− | {{ RentalMagicaNavbar | back=Rental_Magica_Volume_1:_Prologue {{!}} Prologue | forward=Rental_Magica_Volume_1:_Chapter_2 {{!}} Chapter 2 }} |
||
+ | </pre> |
||
+ | {{RentalMagicaNavbar |
||
+ | | [[Rental_Magica_Volume_1:_Prologue | Prologue]] |
||
+ | | [[Rental_Magica_Volume_1:_Chapter_2 | Chapter 2]] |
||
+ | }} |
||
[[category:Simple_Navbars]] |
[[category:Simple_Navbars]] |
Latest revision as of 05:06, 15 December 2011
This is a navbar for the Rental Magica project. Even if your project uses the exact same format, please create a new template specific to your project and copy the code from this template. This is to prevent possible changes to this template accidentally affecting other projects (and the fact that return to Main Page is hard-coded in). Currently delegates to the Navigation template.
Usage[edit]
- 1
- the link to go back to
- 2
- the link to go forward to
Example usage (spaces optional):
{{RentalMagicaNavbar | [[Rental_Magica_Volume_1:_Prologue | Prologue]] | [[Rental_Magica_Volume_1:_Chapter_2 | Chapter 2]] }}
Back to Prologue | Return to Main Page | Forward to Chapter 2 |