Difference between revisions of "Template:Anabasis/doc"
Jump to navigation
Jump to search
blackwiki>Erutuon (documentation modified from Template:Thucydides/doc) |
m (6 revisions imported) |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
| + | {{Underused external link template|1=http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:}} | ||
| + | '''<nowiki>{{Anabasis|language|book|chapter|first section in range|last section in range}}</nowiki>''' | ||
| − | ''' | + | Link to Greek text of [[Xenophon]]'s ''[[Anabasis (Xenophon)|Anabasis]]'' 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 author and work. Put in '''shortref''' as the last parameter to display the name of work; put in '''ref''' to display both author and name of work. | ||
{| style="border: 1px solid white; background: none; text-align: left; width: 40em;" | {| style="border: 1px solid white; background: none; text-align: left; width: 40em;" | ||
| − | ! <nowiki>{{Anabasis}}</nowiki> !! → !! {{Anabasis}} !! default book and chapter = 1. | + | ! <nowiki>{{Anabasis|en}}</nowiki> !! → !! {{Anabasis|en}} !! default book and chapter = 1.1 |
| − | |||
| − | |||
|- | |- | ||
| − | ! <nowiki>{{Anabasis|2 | + | ! <nowiki>{{Anabasis|en|2}}</nowiki> !! → !! {{Anabasis|en|2}} !! book set; default chapter = 1 |
|- | |- | ||
| − | ! <nowiki>{{Anabasis|2|3 | + | ! <nowiki>{{Anabasis|en|2|3}}</nowiki> !! → !! {{Anabasis|en|2|3}} !! book and chapter set |
|- | |- | ||
| − | ! <nowiki>{{Anabasis|2|3|4 | + | ! <nowiki>{{Anabasis|en|2|3|4}}</nowiki> !! → !! {{Anabasis|en|2|3|4}} !! book, chapter, and section set |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| − | ! <nowiki>{{Anabasis|2|3| | + | ! <nowiki>{{Anabasis|en|2|3|4|5}}</nowiki> !! → !! {{Anabasis|en|2|3|4|5}} !! book, chapter, and section range set |
|- | |- | ||
| − | ! <nowiki>{{Anabasis|2|3 | + | ! <nowiki>{{Anabasis|en|2|3|shortref}}</nowiki> !! → !! {{Anabasis|en|2|3|shortref}} |
|- | |- | ||
| − | ! <nowiki>{{Anabasis|2|3|4| | + | ! <nowiki>{{Anabasis|en|2|3|4|ref}}</nowiki> !! → !! {{Anabasis|en|2|3|4|ref}} |
|} | |} | ||
| − | + | <includeonly>{{Sandbox other|| | |
[[Category:Specific-source templates|{{PAGENAME}}]] | [[Category:Specific-source templates|{{PAGENAME}}]] | ||
[[Category:External link templates|{{PAGENAME}}]] | [[Category:External link templates|{{PAGENAME}}]] | ||
[[Category:Perseus Project templates|{{PAGENAME}}]] | [[Category:Perseus Project templates|{{PAGENAME}}]] | ||
| + | }}</includeonly> | ||
Latest revision as of 14:41, 21 October 2020
| This is a documentation subpage for Template:Anabasis. It contains usage information, categories and other content that is not part of the original template page. |
Template:Underused external link template {{Anabasis|language|book|chapter|first section in range|last section in range}}
Link to Greek text of Xenophon's Anabasis 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 author and work. Put in shortref as the last parameter to display the name of work; put in ref to display both author and name of work.
| {{Anabasis|en}} | → | 1 | default book and chapter = 1.1 |
|---|---|---|---|
| {{Anabasis|en|2}} | → | 2 | book set; default chapter = 1 |
| {{Anabasis|en|2|3}} | → | 2.3 | book and chapter set |
| {{Anabasis|en|2|3|4}} | → | 2.3.4 | book, chapter, and section set |
| {{Anabasis|en|2|3|4|5}} | → | 2.3.4–5 | book, chapter, and section range set |
| {{Anabasis|en|2|3|shortref}} | → | Anabasis 2.3 | |
| {{Anabasis|en|2|3|4|ref}} | → | Xenophon, Anabasis 2.3.4 |