Template:Nav Doc: Difference between revisions
Jump to navigation
Jump to search
m Changing to all Nav form |
mNo edit summary |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOEDITSECTION__ | |||
==Documentation and Testing== | ==Documentation and Testing== | ||
'''Info:''' Navigation box for '''{{#if:{{{seriesname|}}}|[[{{{seriesname}}}]]| | '''Info:''' Navigation box for '''{{#if:{{{seriesname|}}}|[[{{{seriesname}}}]]|}}''' | ||
'''Usage:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}|prev=Previous Page Name|next=Next Page Name}}</nowiki> | '''Usage:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|prev=Previous Page Name|next=Next Page Name}}</nowiki> | ||
'''Note:''' Do '''NOT''' put links in the prev and next parameters. Only the page names. The template will automatically do the rest of the work. As shown below: | '''Note:''' Do '''NOT''' put links in the prev and next parameters. Only the page names. The template will automatically do the rest of the work. As shown below: | ||
Line 8: | Line 9: | ||
'''Example 1:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>}}</nowiki> | '''Example 1:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>}}</nowiki> | ||
{{ | {{{{{navname}}}}} | ||
'''Example 2:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|prev=</nowiki>{{#if:{{{pre|}}}|{{{pre}}}|}}<nowiki>}}</nowiki> | {{#if:{{{pre|}}}|'''Example 2:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|prev=</nowiki>{{#if:{{{pre|}}}|{{{pre}}}|}}<nowiki>}}</nowiki> | ||
{{{{#if:{{{navname|}}}|{{{navname}}}|}}|prev={{#if:{{{pre|}}}|{{{pre}}}|}}}} | {{{{#if:{{{navname|}}}|{{{navname}}}|}}|prev={{#if:{{{pre|}}}|{{{pre}}}|}}}} | ||
'''Example 3:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|next=</nowiki>{{#if:{{{nex|}}}|{{{nex}}}|}}<nowiki>}}</nowiki> | |}}{{#if:{{{nex|}}}|'''Example 3:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|next=</nowiki>{{#if:{{{nex|}}}|{{{nex}}}|}}<nowiki>}}</nowiki> | ||
{{{{#if:{{{navname|}}}|{{{navname}}}|}}|next={{#if:{{{nex|}}}|{{{nex}}}|}}}} | {{{{#if:{{{navname|}}}|{{{navname}}}|}}|next={{#if:{{{nex|}}}|{{{nex}}}|}}}} | ||
|}}{{#if:{{{pre|}}}|{{#if:{{{nex|}}}|'''Example 4:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|prev=</nowiki>{{#if:{{{pre|}}}|{{{pre}}}|}}<nowiki>|next=</nowiki>{{#if:{{{nex|}}}|{{{nex}}}|}}<nowiki>}}</nowiki> | |||
{{{{#if:{{{navname|}}}|{{{navname}}}|}}|prev={{#if:{{{pre|}}}|{{{pre}}}|}}|next={{#if:{{{nex|}}}|{{{nex}}}|}}}} | |||
|}}|}}'''PS:''' If you still don't get how to use this template, then you're beyond hope. XD. | |||
'''Credits:''' Special Thanks to '''[[User:Larethian|Larethian]]''' for the next/previous idea on [[Template:Itsuten:Navbox]]. | '''Credits:''' | ||
* Thanks to '''[[User:Zero2001|Zero2001]]''' for the base design as well as debugging and fixes on improvements. | |||
* Special Thanks to '''[[User:Larethian|Larethian]]''' for the next/previous idea on [[Template:Itsuten:Navbox]]. | |||
<noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 03:44, 1 February 2014
Documentation and Testing
'Info: Navigation box for '
Usage: {{|prev=Previous Page Name|next=Next Page Name}}
Note: Do NOT put links in the prev and next parameters. Only the page names. The template will automatically do the rest of the work. As shown below:
Example 1: {{}}
{{{{{navname}}}}}
PS: If you still don't get how to use this template, then you're beyond hope. XD.
Credits:
- Thanks to Zero2001 for the base design as well as debugging and fixes on improvements.
- Special Thanks to Larethian for the next/previous idea on Template:Itsuten:Navbox.