Template:Daftary-The Ismailis
- This template uses WP:SSTS see that page for complete system documentation
This template generates citations to The Ismāʻı̄lı̄s: Their History and Doctrines by Cambridge University Press.
The key=value parameters such as |author=, |title=, etc. are defined in Module:SST/shards/I under book keys ISMAILIS_DAFTARY_1990 and ISMAILIS_DAFTARY_2007.
For editions:
To cite the first edition include |edition=1st. Otherwise it will display the second edition (2007).
Usage
- Default
{{Daftary-The Ismailis}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. ISBN 978-0-521-61636-2.
- Single Page
{{Daftary-The Ismailis |page=42}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. p. 42. ISBN 978-0-521-61636-2.
- Multiple Pages
{{Daftary-The Ismailis |pages=42-43, 44-45, 250}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. pp. 42-43, 44-45, 250. ISBN 978-0-521-61636-2.
Options
Supplement and override parameters
You have the option to supplement or override parameters.
- Supplement: You can add additional parameters supported by
{{cite book}}such as|quote=,|ref=, etc. - Override: You can override parameters already defined by the template such as
|url=
Chapters
To link to a specific chapter, use |chapter= for the title and |chapter-page= for the starting page number. This generates a dedicated URL for the chapter. Use the exact page number that will be in the URL (e.g., either "42" for a printed page number, or "n17" if the machine leaf number is required).
{{Daftary-The Ismailis |chapter=Introduction |chapter-page=12}}
- Daftary, Farhad (2007). "Introduction". The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. ISBN 978-0-521-61636-2.
Roman Numerals & Leaf Mapping
Standard page numbers link automatically. However, pages with Roman numerals (e.g., xiii) or unnumbered plates may require a machine "leaf number" or "sequence number" to route the URL correctly depending on the digital host.
Use the format display@machine, where "display" is the printed page number and "machine" is the physical leaf required by the digital library.
| Host Service | Code | SST Format | Resulting Link | Citation and Destination Printed Page |
|---|---|---|---|---|
| Internet Archive | n | 42 | .../page/42 |
42 |
| Internet Archive | n | xii@n7 | .../page/n7 |
xii |
| HathiTrust | s | 42 | Not Available | Does not support printed-page-number linking |
| HathiTrust | s | 42@s54 | ...&seq=54 |
42 |
| Project Gutenberg | u | 42 | .../pg78102-images.html#page-42 |
42 |
| Project Gutenberg | u | 42@u42 | .../pg78102-images.html#page-42 |
42 |
| Wikisource | w | 42 | Not Available | Does not support printed-page-number linking |
| Wikisource | w | 42@w54 | [[s:Page:FileName.pdf/54|42]] |
42 |
| Wikisource | w | 42@w"Chapter 1" | [[s:Page:FileName.pdf/Chapter_1|42]] |
42 |
| Google Books | g | 42 | ...&pg=PA42 |
42 |
| Google Books | g | 42@gPA42 | ...&pg=PA42 |
42 |
| Google Books | g | xii@gPR7 | ...&pg=PR7 |
xii |
{{Daftary-The Ismailis |page=xiii@n7}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. p. xiii. ISBN 978-0-521-61636-2.
{{Daftary-The Ismailis |pages=xiii@n7-xiv, 15 [Atlantic]}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. pp. xiii, 15. ISBN 978-0-521-61636-2.
Search
If the digital library supports it, you can search inside the book.
- Inline Search: To search a word or phrase, use square brackets `[search term]` after the page number.
{{Daftary-The Ismailis |page=42 [Atlantic]}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. p. 42. ISBN 978-0-521-61636-2.
{{Daftary-The Ismailis |pages=42 [Gothic], 45 [Revival]}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. pp. 42, 45. ISBN 978-0-521-61636-2.
- Citation-Level Search: If there is no page number, use
|ia-search=(Internet Archive only).
{{Daftary-The Ismailis |ia-search=Empire}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. ISBN 978-0-521-61636-2.
- Disable search: Search can be disabled in two places. Within each instance of the template:
{{Daftary-The Ismailis |page=42 |ia-search=none}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. p. 42. ISBN 978-0-521-61636-2.
- Or the default can be changed in Module:SST/shards/I. This affects all instances of the template.
- Dummy search: When hosted on the Internet Archive, a "dummy" search string is created by default. The purpose is to ensure the page opens correctly; it helps when pages are otherwise blocked. You can disable dummy search with 'Disable search' (above).
Display
Use |ia-display= to control how the Internet Archive reader displays.
- Full-screen mode for each instance of the template
{{Daftary-The Ismailis |page=42 |ia-display=full screen}}
- Daftary, Farhad (2007). The Ismāʿı̄lı̄s: Their History and Doctrines (Second ed.). Cambridge: Cambridge University Press. p. 42. ISBN 978-0-521-61636-2.
- Or, the default can be changed in Module:SST/shards/I. This affects all instances of the template.
Documentation
The examples in this documentation are based on stock / generic page numbers and search terms; they may not work precisely for this particular book. You may customize this doc page to fit the book and remove this notice when done.
For more details on the underlying system, see Wikipedia:SSTS.
TemplateData
TemplateData for Daftary-The Ismailis
Generates citations to The Ismāʻı̄lı̄s: Their History and Doctrines by Cambridge University Press.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| page | page | Page number
| String | optional |
| pages | pages | Multiple page numbers
| String | optional |
| chapter-page | chapter-page | Page number where the chapter begins (creates chapter URL)
| String | optional |
| ia-search | ia-search | Custom search term to highlight. Use 'none' to disable.
| String | optional |
| ia-display | ia-display | Use 'full screen' to bypass the 2-up reader.
| String | optional |
| edition | edition | Standard CS1 parameter; use '1st' or '2nd' | String | optional |
| chapter | chapter | Standard CS1 parameter | String | optional |
| quote | quote | Standard CS1 parameter | String | optional |
| ref | ref | Standard CS1 parameter | String | optional |