# Illustrated Companion to the Latin Dictionary/RICH-2K/Project guidelines
## Project Guidelines

* External links are restricted to the sections References and External links. Therefore...
** No external links in the body of the article (this includes Interwiki-links, e.g. to a Wikipedia-article). Links in the article itself are restricted to the Illustrated Companion.
* After adding all references, remove the hidden category [[RICH-2K/References missing or incomplete]] from the article.
* When adding text in ancient Greek, use the lang template, e.g. {{lang|grc|ἀμφιθάλαμος}} to indicate, that the text is in that language. See the template's description page.
* Images:
** Some articles refer to images from other another article (e.g. "next illustration"). When including these illustrations in such articles, use the original caption of that image and make it a link to the article in which it is originally used.

## Adding references

The original articles in Anthony Rich's Illustrated Companion to the Latin Dictionary, and Greek Lexicon contain many written authorities. Some examples for these, as given in the article Abolla:
* Serv. ad Virg. Aen. v. 421
* Varro, ap. Non., s. v. p. 538. Mercer
* Juv. iv. 76.
* Suet. Cal. 35.
* Mart. Ep. viii. 48.
Having these articles in wiki-format allows adding references with links to online sources. The project page Recommended editions provides a list of some online editions. If any written authority is on this list, then the recommended edition should be used for citing online texts.
The links in the Recommended editions-page direct only to the work as such. Therefore, the user has to find the specific passage and link to it.
The workflow for adding references:
* Find an article missing online references. For a list of these articles see Category:RICH-2K/References missing or incomplete.
* Choose a reference in the selected article.
* Find a suitable online edition. Choose one from the Recommended editions-page mentioned above.
* Find the specific passage and copy a link to it. If the edition provides permalinks, then use these.
* Create a citation to the specific passage using the Cite book-Template. See below.
* Create a named reference in the body of the article. See below.
* Add the reference to the References section. See below.
* Move on to the next reference in the article.
Once all "written authorities" of an article are covered by online references, the category [[Category:RICH-2K/References missing or incomplete]] can be removed. Do not remove it as long as there is a single unresolved reference.

### Creating citations

The citations needed to refer to editions and passages found online are implemented using the Template:Cite book. For some texts, the page Recommended editions already provides such citations. Enter the source editor and copy the respective citation. One of the above references (Juv. iv. 76.) refers to Juvenal's Satires. The "Cite book"-text provided by the Recommended editions page is:
    {{Cite book|url=http://data.perseus.org/texts/urn:cts:latinLit:phi1276.phi001 |title=Satires |last=Juvenal |first=Decimus Junius |year=1918}}
However, this citation is valid only for the work as such and the link leads to the beginning of Juvenal's text. The citation in the article should lead to the specific passage, instead. Once we have a link to the specific passage, we can rewrite the Cite book-text like this:
    {{Cite book|chapterurl=http://data.perseus.org/citations/urn:cts:latinLit:phi1276.phi001.perseus-lat1:1.4 |chapter=iv. 76.|title=Satires |last=Juvenal |first=Decimus Junius |year=1918}}
This is resolved by the software as: Juvenal, Decimus Junius (1918). "iv. 76.". Satires. http://data.perseus.org/citations/urn:cts:latinLit:phi1276.phi001.perseus-lat1:1.4. And right there, on line 76, we find the word abolla this reference is about.

### Adding named references

Once we have a citation in the Cite book-format, a named reference has to be added to the body of the text. To do so, directly after the "written authority" in the text (Juv. iv. 76. in the above example) a wikitext-reference has to be added:
    <ref name="REF_NAME"/>.
The slash at the end indicates that there is no closing tag. That closing tag is not needed, because the text for the reference, the Cite book-block in this case, is not embedded within the body of the text, but in the section References. It would be possible to embed the text of the reference in the body of the article, but that would make editing the article more difficult.
The REF_NAME has to be unique for the wiki page. In this case we might use Juv-iv-76 or Juvenal iv, 76. You can choose any name, but something expressive, clear and short is easier to use.

### Implementing the References

The initial version of the article may contain the following lines:
The line {{reflist}} has to be removed and replaced by:
Next we put the <ref>-blocks we just created inside the references-block. For the above example, we get:
References implemented in this way are called list-defined references. For more about this subject, see the Wikipedia-help page about it. The advantages of this method:
* Decluttering of the body of the article.
* Facilitate the separation of footnotes and references.

## Adding articles

When adding articles, the following template has to be used:
* The first line ({{Template:Illustrated...}} includes the navigation box of the Illustrated Companion.
* The == Footnotes == block is optional and only needed, if both content footnotes and online references for written authorites are provided in the same article.
** Note: For footnotes the reference in the article has the format <ref group="Note" name="REF_NAME"/>.
* The == References == block creates an area which will contain the online references for any written authority given in the article.
* The line [[Category:RICH-2K/Articles]] marks the page as an article of the Illustrated Companion. Only pages with this category will be displayed when using the Random article-function in the navigation box.
* Lastly, add a category from the Classed Index, so that users will find the article when exploring the Illustrated Companion using that hierarchy of subject categories.