साँचा:Pg
साँचा विवरणपृष्ठ[देखें] [संपादित करें] [इतिहास] [ताज़ा करें]
TOCIndex usage[सम्पादन]
This template generates a wiki-readable Table of Contents for a work. It is used in conjunction with {{pg}} to create page links within a work. It takes the following syntax:
{{subst:TOCIndex |Title of Work |1|Introduction |12|First Chapter |56|Second Chapter }}
and so forth.
Pg usage[सम्पादन]
This template is used in conjunction with {{TOCIndex}} to generate page links within a book. First a TOC index page must be generated with {{TOCIndex}}, e.g. at Name of Book/TOCIndex. Then, this template can be used with the following syntax:
{{subst:pg|location=Name of Book/TOCIndex|page=2}}
or, more simply:
{{subst:pg|Name of Book/TOCIndex|2}}
ऊपर दिया गया विवरणपृष्ठ साँचा:TOCIndex/doc से ट्रांसक्लूड किया गया है। (संपादित करें | इतिहास) संपादकगण इस साँचे के sandbox (बनाएँ | मिरर करें) और testcases (बनाएँ) पन्नों पर अपने प्रयोग/परीक्षण कर सकते हैं। इस साँचे के उपपृष्ठ देखें। |