Template:ShanaNavbar: Difference between revisions

From Baka-Tsuki
Jump to navigation Jump to search
Jonathanasdf (talk | contribs)
added example & category
Jonathanasdf (talk | contribs)
No edit summary
 
Line 1: Line 1:
{| 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;"
<includeonly>
|-
{{Navigation
{{#if: {{{back|{{{Back|}}}}}} | {{!}} Back to [[{{{back|{{{Back}}}}}}]] |}}
    | Shakugan no Shana
| Return to [[Shakugan_no_Shana|Main Page]]
    | {{{1|}}}
{{#if: {{{forward|{{{Forward|}}}}}} | {{!}} Forward to [[{{{forward|{{{Forward}}}}}}]] |}}
    | {{{2|}}}
|-
}}
|}
</includeonly>
<noinclude>
<noinclude>


This is a navbar for the Shakugan no Shana 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). [[Template:RentalMagicaNavbar|Original source]] of this template.
This is a navbar for the Shakugan no Shana 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 ===
All parameters are optional.
; 1: the link to go back to
; back or Back: the page to go back to, in the format <nowiki>Link{{!}}TextToShow</nowiki>
; 2: the link to go forward to
; forward or Forward: the page to go forward to, in the format <nowiki>Link{{!}}TextToShow</nowiki>
 
<hr />
<hr />


Example usage (spaces optional):
Example usage (spaces optional):
 
<pre>
<nowiki>
{{ShanaNavbar  
{{ ShanaNavbar | back=Shakugan_no_Shana:Volume5_Interlude1 {{!}} Interlude 1 | forward=Shakugan_no_Shana:Volume5_Interlude2 {{!}} Interlude 2 }}
    | [[Shakugan_no_Shana:Volume5_Interlude1 | Interlude 1]]
</nowiki>
    | [[Shakugan_no_Shana:Volume5_Interlude2 | Interlude 2]]
{{ ShanaNavbar | back=Shakugan_no_Shana:Volume5_Interlude1 {{!}} Interlude 1 | forward=Shakugan_no_Shana:Volume5_Interlude2 {{!}} Interlude 2 }}
}}
</pre>
{{ShanaNavbar  
    | [[Shakugan_no_Shana:Volume5_Interlude1 | Interlude 1]]
    | [[Shakugan_no_Shana:Volume5_Interlude2 | Interlude 2]]
}}


[[category:Simple_Navbars]]
[[category:Simple_Navbars]]
</noinclude>
</noinclude>

Latest revision as of 03:16, 15 December 2011


This is a navbar for the Shakugan no Shana 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):

{{ShanaNavbar 
    | [[Shakugan_no_Shana:Volume5_Interlude1 | Interlude 1]]
    | [[Shakugan_no_Shana:Volume5_Interlude2 | Interlude 2]]
}}