Difference between revisions of "Template:SAO Nav"
m (More Compact) |
m |
||
Line 2: | Line 2: | ||
| style="background:#cee0f2; width:20%;" align="center"|{{#if:{{{prev|}}}|[[{{{prev}}}|Prev]]|Prev NA}} |
| style="background:#cee0f2; width:20%;" align="center"|{{#if:{{{prev|}}}|[[{{{prev}}}|Prev]]|Prev NA}} |
||
| style="background:#cee0f2; width:55%;" align="center"|<span style="float:left;" class="plainlinks"><font style="font-size:10px; font-family:tahoma;">[[{{fullurl:Template:SAO Nav|action=view}} v] [[Template Talk:SAO Nav|d]] [{{fullurl:Template:SAO Nav|action=edit}} e]]</font></span>[[Sword Art Online]] |
| style="background:#cee0f2; width:55%;" align="center"|<span style="float:left;" class="plainlinks"><font style="font-size:10px; font-family:tahoma;">[[{{fullurl:Template:SAO Nav|action=view}} v] [[Template Talk:SAO Nav|d]] [{{fullurl:Template:SAO Nav|action=edit}} e]]</font></span>[[Sword Art Online]] |
||
− | ! style="background:#cee0f2; width:25%;" align="center"|{{#if:{{{next|}}}|[[{{{next}}}|Next]]|Next NA}} |
+ | ! style="background:#cee0f2; width:25%;" align="center"|<span style="color:transparent">--</span>{{#if:{{{next|}}}|[[{{{next}}}|Next]]|Next NA}}<span style="color:transparent">--</span><!--spans necessary to keep in middle, so do not remove.--> |
|- |
|- |
||
|colspan="3" style="border-top:1px solid #cee0f2;"| |
|colspan="3" style="border-top:1px solid #cee0f2;"| |
Revision as of 02:02, 29 December 2011
Documentation and Testing
Info: Navigation box for Sword Art Online
Usage: {{SAO Nav|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: {{SAO Nav}}
Prev NA | [v d e]Sword Art Online | --Next NA-- | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example 2: {{SAO Nav|prev=Sword Art Online:Volume 1 Chapter 1}}
Prev | [v d e]Sword Art Online | --Next NA-- | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example 3: {{SAO Nav|next=Sword Art Online:Volume 1 Chapter 3}}
Prev NA | [v d e]Sword Art Online | --Next-- | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Example 4: {{SAO Nav|prev=Sword Art Online:Volume 1 Chapter 1|next=Sword Art Online:Volume 1 Chapter 3}}
Prev | [v d e]Sword Art Online | --Next-- | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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.