Line 14: |
Line 14: |
| | term to show = | | | term to show = |
| | person = | | | person = |
| + | | short name = |
| | origin = | | | origin = |
| | variations = | | | variations = |
Line 36: |
Line 37: |
| </pre> | | </pre> |
| | ''Name:'' | | | ''Name:'' |
− | * '''term''' -- term or name in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names, for example: ''Blavatsky, Helena Petrovna'' or ''Blavatsky, H.P.'' (consider comma after last name); {{p|CTD term sortable}}, {{p|CTD term}} | + | * '''term''' -- term or name in full length in sortable form, i.e. without diacritical marks and if it is a name, it should be in following order: Last Name, Other Names, for example: ''Blavatsky, Helena Petrovna'' or ''Monier-Williams, Sir Monier'' (consider comma after last name); {{p|CTD term sortable}}, {{p|CTD term}} |
| * '''term to show''' -- the same term with diacritical marks (if exist) and stress mark (if needed); if term is a name then put it in a full form in regular order, for example: ''Helena Petrovna Blavatsky''; {{p|CTD term to show}}, {{p|CTD term}} | | * '''term to show''' -- the same term with diacritical marks (if exist) and stress mark (if needed); if term is a name then put it in a full form in regular order, for example: ''Helena Petrovna Blavatsky''; {{p|CTD term to show}}, {{p|CTD term}} |
| * '''person''' -- "yes" if it is a person, in this case term will be added to category {{c|Persons}} and semantic properties {{p|Name}} and {{p|Full name}} are set; ''full name'' is a name set in ''term to show'' parameter or equals ''term'' otherwise | | * '''person''' -- "yes" if it is a person, in this case term will be added to category {{c|Persons}} and semantic properties {{p|Name}} and {{p|Full name}} are set; ''full name'' is a name set in ''term to show'' parameter or equals ''term'' otherwise |
− | * '''person shortly''' -- short version of name for bibliography, i.e. ''Blavatsky, H. P.'' or ''Slaughter, Rev. W. B.''; {{p|Short name}} | + | * '''short name''' -- short version of name for bibliography, i.e. ''Blavatsky, H. P.'' or ''Slaughter, Rev. W. B.'' or ''Mirville, J.-E. de''; {{p|Short name}} |
| * '''origin''' -- spelling in original language, original meaning, etymology; {{p|CTD term origin}} | | * '''origin''' -- spelling in original language, original meaning, etymology; {{p|CTD term origin}} |
| * '''variations''' -- different spellings (list separated by ";"); {{p|CTD term variations}}, {{p|CTD term}} | | * '''variations''' -- different spellings (list separated by ";"); {{p|CTD term variations}}, {{p|CTD term}} |
Line 117: |
Line 118: |
| -->{{#vardefine:person|{{lc: {{{person|}}} }}}}<!-- turn letters to lower case | | -->{{#vardefine:person|{{lc: {{{person|}}} }}}}<!-- turn letters to lower case |
| -->{{#switch: {{#var:person}} | | -->{{#switch: {{#var:person}} |
− | | yes = {{#set: Name={{{term}}}|Short name={{{person shortly}}}}} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]] | + | | yes = {{#set: Name={{{term|}}}|Short name={{{short name|}}}}} {{#if: {{{term to show|}}}| {{#set: Full name={{{term to show|}}}}} | {{#set: Full name={{{term|}}}}} }}[[Category: Persons]] |
| | default = [[Category: CTD terms]] | | | default = [[Category: CTD terms]] |
| }}<!-- | | }}<!-- |