Template:Herodotus/doc

From Wikipedia, the free encyclopedia

{{Herodotus|language|book|chapter|first section in range|last section in range}}

Link to Greek text of Herodotus' Histories at the Perseus Project by book, chapter, and section number. Sections are sometimes called lines. Adding the last section in a range does not change the link URL, since pages on Perseus include only one section.

The first parameter is language: gr or el for Greek, en for English.

Normally the template does not display the name of the author and the work.

{{Herodotus|en}} 1.1 default book and chapter = 1.1
{{Herodotus|en|2}} 2.1 book set; default chapter = 1
{{Herodotus|en|2|3}} 2.3 book and chapter set
{{Herodotus|en|2|3|4}} 2.3.4 book, chapter, and section set
{{Herodotus|en|2|3|4|5}} 2.3.4–5 book, chapter, and section range set

Placing ref in any parameter after the second adds the name of author and work.

{{Herodotus|en|2|ref}} Herodotus, Histories 2.1
{{Herodotus|en|2|3|ref}} Herodotus, Histories 2.3
{{Herodotus|en|2|3|4|ref}} Herodotus, Histories 2.3.4
{{Herodotus|en|2|3|4|5|ref}} Herodotus, Histories 2.3.4–5

Placing shortref in any parameter after the second produces a shortened version, for cases in which the template is used in multiple refs.

{{Herodotus|en|2|shortref}} Herodotus 2.1
{{Herodotus|en|2|3|shortref}} Herodotus 2.3
{{Herodotus|en|2|3|4|shortref}} Herodotus 2.3.4
{{Herodotus|en|2|3|4|5|shortref}} Herodotus 2.3.4–5