Difference between revisions of "Template:Navigation"
Jump to navigation
Jump to search
Jonathanasdf (talk | contribs) |
Jonathanasdf (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table 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><table 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;"> |
||
<tr> |
<tr> |
||
− | {{#if: {{{ |
+ | {{#if: {{{2|}}} | <td>Back to {{trim|{{{2}}}}}</td>}} |
− | <td>Return to [[{{{ |
+ | <td>Return to [[{{trim|{{{1}}}}}|Main Page]]</td> |
− | {{#if: {{{ |
+ | {{#if: {{{3|}}} | <td>Forward to {{trim|{{{3}}}}}</td>}} |
</tr> |
</tr> |
||
</table></includeonly> |
</table></includeonly> |
||
Line 10: | Line 10: | ||
<pre> |
<pre> |
||
{{Navigation |
{{Navigation |
||
− | | |
+ | | Main Page (name only, no link) |
− | | |
+ | | Back Link |
− | | |
+ | | Forward Link |
}} |
}} |
||
</pre> |
</pre> |
||
+ | The back link can be left out, but the pipe must be there. |
||
− | The Back and Forward lines are optional. The order doesn't matter |
||
<hr> |
<hr> |
||
Example: |
Example: |
||
<pre> |
<pre> |
||
{{Navigation |
{{Navigation |
||
− | | |
+ | | Kyoukai Senjou no Horizon |
− | | |
+ | | [[Horizon:Volume 1A Illustrations|Novel Illustrations]] |
− | | |
+ | | [[Horizon:Volume 1A Table of Content|Table of Content]] |
}} |
}} |
||
</pre> |
</pre> |
||
{{Navigation |
{{Navigation |
||
− | | |
+ | | Kyoukai Senjou no Horizon |
− | | |
+ | | [[Horizon:Volume 1A Illustrations|Novel Illustrations]] |
− | | |
+ | | [[Horizon:Volume 1A Table of Content|Table of Content]] |
}} |
}} |
||
[[category:Simple Navbars]] |
[[category:Simple Navbars]] |
Latest revision as of 04:42, 15 December 2011
Usage:
{{Navigation | Main Page (name only, no link) | Back Link | Forward Link }}
The back link can be left out, but the pipe must be there.
Example:
{{Navigation | Kyoukai Senjou no Horizon | [[Horizon:Volume 1A Illustrations|Novel Illustrations]] | [[Horizon:Volume 1A Table of Content|Table of Content]] }}
Back to Novel Illustrations | Return to Main Page | Forward to Table of Content |