Template:Memorabilia/doc

< Template:Memorabilia
Revision as of 20:12, 25 April 2020 by Wikipedia>Vanisaac (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{Memorabilia|book|chapter|first section in range|last section in range}}

Link to Greek text of Xenophon's Memorabilia 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.

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

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

Ref in any parameter except the first adds the name of author and work.

{{Memorabilia|2|ref=y}} Xenophon, Memorabilia 2
{{Memorabilia|2|3|ref=y}} Xenophon, Memorabilia 2.3
{{Memorabilia|2|3|4|ref=y}} Xenophon, Memorabilia 2.3.4
{{Memorabilia|2|3|4|5|ref=y}} Xenophon, Memorabilia 2.3.4–5

Shortref in any parameter except the first produces a shortened version, for cases in which the template is used in multiple refs.

{{Memorabilia|2|ref=short}} Xenophon 2
{{Memorabilia|2|3|ref=short}} Xenophon 2.3
{{Memorabilia|2|3|4|ref=short}} Xenophon 2.3.4
{{Memorabilia|2|3|4|5|ref=short}} Xenophon 2.3.4–5