Template:Nav Doc: Difference between revisions
Jump to navigation
Jump to search
m Changing to all Nav form |
|||
Line 1: | Line 1: | ||
==Documentation and Testing== | ==Documentation and Testing== | ||
'''Info:''' Navigation box for '''[[ | '''Info:''' Navigation box for '''{{#if:{{{seriesname|}}}|[[{{{seriesname}}}]]|NA}}''' | ||
'''Usage:''' <nowiki>{{ | '''Usage:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}|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: | ||
'''Example 1:''' <nowiki>{{ | '''Example 1:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>}}</nowiki> | ||
{{ | {{{{#if:{{{navname|}}}|{{{navname}}}|}}}} | ||
'''Example 2:''' <nowiki>{{ | '''Example 2:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|prev=</nowiki>{{#if:{{{pre|}}}|{{{pre}}}|}}<nowiki>}}</nowiki> | ||
{{ | {{{{#if:{{{navname|}}}|{{{navname}}}|}}|prev={{#if:{{{pre|}}}|{{{pre}}}|}}}} | ||
'''Example 3:''' <nowiki>{{ | '''Example 3:''' <nowiki>{{</nowiki>{{#if:{{{navname|}}}|{{{navname}}}|}}<nowiki>|next=</nowiki>{{#if:{{{nex|}}}|{{{nex}}}|}}<nowiki>}}</nowiki> | ||
{{ | {{{{#if:{{{navname|}}}|{{{navname}}}|}}|next={{#if:{{{nex|}}}|{{{nex}}}|}}}} | ||
'''Example 4:''' <nowiki>{{ | '''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}}}|}}}} | ||
'''Credits:''' Special Thanks to '''[[User:Larethian|Larethian]]''' for the next/previous idea on [[Template:Itsuten:Navbox]]. | '''Credits:''' Special Thanks to '''[[User:Larethian|Larethian]]''' for the next/previous idea on [[Template:Itsuten:Navbox]]. |
Revision as of 09:34, 7 August 2011
Documentation and Testing
Info: Navigation box for NA
Usage: {{|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:
Example 1: {{}}
{{{{navname}}}}
Example 2: {{|prev=}}
{{|prev=}}
Example 3: {{|next=}}
{{|next=}}
Example 4: {{|prev=|next=}}
{{|prev=|next=}}
Credits: Special Thanks to Larethian for the next/previous idea on Template:Itsuten:Navbox.