الگو:Sourcetext
ظاهر
این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
There is a discussion about the use of Bible templates and external sites at Wikipedia:Citing sources/Bible. This can be useful for those who use this template for Bible citations. |
Description[ویرایش]
Template for linking to standardised ویکینبشته texts.
Usage[ویرایش]
|source= |
the source text (must be defined, or the template will generate an error) |
|version= |
version of the source text (optional, use if there is more than one version of a text, for example, Bible translations, etc) |
|book= |
the book of the source text (optional, use if chapters or books are defined as subpages) |
|chapter= |
the chapter of the book of the source text (chapter/anchor of the book) |
|verse= |
the verse of the chapter of the book of the source text (verse of the book) |
|range= |
specific verse range (optional range, will not link to these verses, will only display); use the character "–" (–). |
|nobook= |
if defined, will not display a book name |
|showsource= |
if defined, will display the title of the source text |
Examples[ویرایش]
- Code: {{Sourcetext|source=Bible|version=King James|book=1 Samuel|chapter=1|verse=10|range=, 18}}, {{Sourcetext|source=Bible|version=King James|book=1 Samuel|chapter=3|verse=11|range=–21|nobook=}}
- Renders as: 1 Samuel 1:10, 18, 3:11–21
- Code: {{Sourcetext|source=Bible|version=King James|book=Esther|chapter=4|verse=6|range=–10}}
- Renders as: Esther 4:6–10
- Code: {{Sourcetext|source=The Canterbury Tales|book=The Wife of Bath's Prologue and Tale|chapter=19}}
- Renders as: The Wife of Bath's Prologue and Tale 19
- Code: {{Sourcetext|source=The Man From Snowy River}}
- Renders as: The Man From Snowy River
- Code: {{Sourcetext|source=The Doctrine and Covenants|book=D&C 91|verse=1|range=–12|showsource=y}}
- Renders as: The Doctrine and Covenants, D&C 91:1–12