Template:CyzChaptersNav: Difference between revisions

From Rangjung Yeshe Wiki Texts
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Chos dbyings rin po che'i mdzod/Chapter {{#expr:{{{1}}}-1}}|Previous Chapter]]   [[Chos dbyings rin po che'i mdzod/Chapter {{#expr:{{{1}}}=1}}|Next Chapter]]
<noinclude>
== Alternative Chapter Navigation Template ==
This template creates "Previous Chapter" and "Next Chapter" navigation links without using the #expr function.
 
=== Usage ===
<pre>
{{AltChapterNav|5}}
</pre>
 
This creates links to Chapter 4 (previous) and Chapter 6 (next).
</noinclude>
[[Chos dbyings rin po che'i_mdzod]]&nbsp;&nbsp;&nbsp;
<includeonly>{{#switch:{{{1}}}
|0=[[Chos dbyings rin po che'i mdzod/Introduction |Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 1|Next Chapter]]
|1=[[Chos dbyings rin po che'i mdzod/Introduction |Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 2|Next Chapter]]
|2=[[Chos dbyings rin po che'i mdzod/Chapter 1|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 3|Next Chapter]]
|3=[[Chos dbyings rin po che'i mdzod/Chapter 2|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 4|Next Chapter]]
|4=[[Chos dbyings rin po che'i mdzod/Chapter 3|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 5|Next Chapter]]
|5=[[Chos dbyings rin po che'i mdzod/Chapter 4|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 6|Next Chapter]]
|6=[[Chos dbyings rin po che'i mdzod/Chapter 5|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 7|Next Chapter]]
|7=[[Chos dbyings rin po che'i mdzod/Chapter 6|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 8|Next Chapter]]
|8=[[Chos dbyings rin po che'i mdzod/Chapter 7|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 9|Next Chapter]]
|9=[[Chos dbyings rin po che'i mdzod/Chapter 8|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 10|Next Chapter]]
|10=[[Chos dbyings rin po che'i mdzod/Chapter 9|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 11|Next Chapter]]
|11=[[Chos dbyings rin po che'i mdzod/Chapter 10|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 12|Next Chapter]]
|12=[[Chos dbyings rin po che'i mdzod/Chapter 11|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Chapter 13|Next Chapter]]
|13=[[Chos dbyings rin po che'i mdzod/Chapter 12|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Conclusion|Next Chapter]]
|14=[[Chos dbyings rin po che'i mdzod/Chapter 13|Previous Chapter]]&nbsp;&nbsp;&nbsp;[[Chos dbyings rin po che'i mdzod/Conclusion|Next Chapter]]
|#default=[[Chos dbyings rin po che'i mdzod|Main Page]]
}}</includeonly>
<noinclude>{{CyzTmplCategory}}</noinclude>

Latest revision as of 10:01, 25 March 2025

Alternative Chapter Navigation Template

This template creates "Previous Chapter" and "Next Chapter" navigation links without using the #expr function.

Usage

{{AltChapterNav|5}}

This creates links to Chapter 4 (previous) and Chapter 6 (next).

Chos dbyings rin po che'i_mdzod