User:Idofen/GSOC TEI

The following tags of TEI have been discovered.

Name (firstname/lsstname/last_initial/related_author/inverse_names arguments)
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-name.html

This name should be an umbrella if any of the arguments are given. For related_author the Author tag should be used.

The following tags should be used to break down the names even more. The first one is the surname TEI. It should be used on the LastName if it is given. The forename tag should also be utilized and tagged in name parameters sent to the template in order to comply with TEI standards, but there is no way to know this without complex string manipulation, which, I'm guessing, is not very fun with Wikipedia templates.

The @full parameter should be used if the firstname and lastname parameters are given to the template. The @sort parameter should be used depending upon the inverse_names parameter. These would be included in the Author tag.

TEI has a lot of specifications that may not be automated by this template without more information or arguments. For example, the use of the word "of" or "var" or professional roles such as "Dr." or "Mr." that may be included in the First, or last name, but one would not expect it to be included in the template as it stands. They can be found here.

Birth (birthyear argument)
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-birth.html

The TEI date tag should also be included with this tag, as the Birth tag covers information on birth in general. The date tag can specify this. This should also be included in the deathyear argument.

When implementing this tag, the parameter "when" can be used to specify a specific date, but would require interpretation of the input data (which also gets complicated, depending upon standards followed).

Death (deathyear argument)
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-death.html

Same the the above (Birth), but for death, if provided.

Parameters (birthyear/deathyear arguments)
There are many parameters given for dates, but since the template can take in any date format, with not specification or seperate argument these can not be properly tagged.

String parsing can be used to figure out the "when" parameter, but that seems a bit over the top. The best solution in my opinion is to let the writer of the wiki document figure that out.

Desc (description argument)
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-desc.html

This can be used to describe the person's works and production. Other tags will have to be implemented by the user, as this is a generic sentence or two. This tag also does not seem to fit perfectly, but the tag DESCRIP doesn't seem to work.

N/A (image argument)
Unless information about the image in question can be pulled into the page, encoding data that doesn't actually end up displayed on the page doesn't really work. This is text encoding, so this makes sense. If the argument image_caption is applied, than figDesk should be used.

LinkGrp and @target (wikipedia/wikiquote/commons/... argument)
http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-linkGrp.html

The rest of these are reference links, and thus LinkGrp should be used if more than one is supplied. Each one should include @target, as the link TEI is deprecated.

The rest of the arguments are for formatting only and should not have any equivalent TEI tags.