Difference between revisions of "Template:Persname"

From MarineLives
Jump to: navigation, search
(template for inline markup of person names)
 
m (typo)
Line 18: Line 18:
 
|Mentioned in page={{FULLPAGENAME}}
 
|Mentioned in page={{FULLPAGENAME}}
 
}}
 
}}
}}}}<noinclude>This template can be embedded directly in transcribed text to markup up person names. It's named after and roughly analagous to the TEI element persName.
+
}}}}<noinclude>This template can be embedded directly in transcribed text to mark up person names. It's named after and roughly analagous to the TEI element persName.
  
 
==Parameters==
 
==Parameters==

Revision as of 13:29, July 17, 2016

This template can be embedded directly in transcribed text to mark up person names. It's named after and roughly analagous to the TEI element persName.

Parameters


Parameter names can be omitted if the values are entered in this order:

  1. transcribed_name required the person's name as transcribed from the original document. Linked to Property:Name transcribed as.
  2. person_key optional the name of a page for the person if they can be identified. Linked to Property:Identified as person.
  3. possible_person_key optional Names of one or more pages separated by ; for possible people if they can't be positively identified. Linked to Property:Could be person.
  4. person_role optional A person's role in the document, such as deponent. If no value is entered, it defaults to 'Mentioned'. Linked to Property:Performs role in document.


Only one of person_key and possible_person_key should be used. If you use one of them, leave the other blank.

Example Usage


Unidentified person


To mark up a string as a person's name without making any claims about who it is or what their role in the document is:

{{persname|John Smith}}

Unidentified person with role


To mark up a string as a deponent's name without making any claims about who it is:

{{persname|John Smith|||deponent}}

or

{{persname|John Smith| person_role = deponent}}

Identified person


To mark up a string as a deponent's name and link to the page for an identified person:

{{persname|John Smith|John Smith, merchant captain||deponent}}

Multiple possibilities


To mark up a string as a deponent's name and link to the pages for more than one person:

{{persname|John Smith||John Smith, merchant captain;John Smith, army officer|deponent}}