Line 1: |
Line 1: |
| <noinclude>This template creates information box for a letter and places the page into {{c|Letters}} category and "Letters from ..." and "Letters to ..." sub-categories. | | <noinclude>This template creates information box for a letter and places the page into {{c|Letters}} category and "Letters from ..." and "Letters to ..." sub-categories. |
| + | |
| + | Use template {{t|Letter properties}} if you don't want to show any information about letter. |
| | | |
| {| class=wikitable | | {| class=wikitable |
Line 11: |
Line 13: |
| | from_date = | | | from_date = |
| | language = | | | language = |
| + | | translator = |
| | to_person = | | | to_person = |
| | to_place = | | | to_place = |
Line 21: |
Line 24: |
| | location = | | | location = |
| | files = | | | files = |
− | | section_russian = | + | | russian_section = |
| }}</pre> | | }}</pre> |
| | Use semicolon to separate several items. | | | Use semicolon to separate several items. |
| | | |
− | For persons use the pattern as for [[Form:ETG_article|ETG]]. For example: | + | For persons use the pattern as for [[Form:ETG_article|ETG]]. '''Note''': avoid space between initials. For example: |
− | :# one person: Blavatsky H. P. | + | :# one person: Blavatsky H.P. |
− | :# several persons: Zhelikhovsky V. P.; Olcott H. S. | + | :# several persons: Zhelikhovsky V.P.; Olcott H.S. |
| | | |
| Date format: YYYY-MM-DD. For example: 1891-07-16 | | Date format: YYYY-MM-DD. For example: 1891-07-16 |
Line 35: |
Line 38: |
| * '''from_date''' -- when a letter was written; property {{p|Letter sending date}} | | * '''from_date''' -- when a letter was written; property {{p|Letter sending date}} |
| * '''language''' -- property {{p|Used language}} | | * '''language''' -- property {{p|Used language}} |
| + | * '''translator''' -- translator into English; property {{p|Translator}} |
| * '''to_person''' -- properties: {{p|Name}}, {{p|Letter receiver}} | | * '''to_person''' -- properties: {{p|Name}}, {{p|Letter receiver}} |
| * '''to_place''' -- where a letter was received; property {{p|Letter send to}} | | * '''to_place''' -- where a letter was received; property {{p|Letter send to}} |
Line 41: |
Line 45: |
| * '''mentioned_places''' -- property {{p|Mentioned place}} | | * '''mentioned_places''' -- property {{p|Mentioned place}} |
| * '''mentioned_other''' -- something important, mentioned in a letter; property {{p|Mentioned item}} | | * '''mentioned_other''' -- something important, mentioned in a letter; property {{p|Mentioned item}} |
− | * '''concerns''' -- something or someone the letter concerns; it may or may not be mentioned or named {{p|Letter concerns}} | + | * '''concerns''' -- something or someone the letter concerns, which may or may not be mentioned or named directly {{p|Letter concerns}} |
| * '''summary''' -- brief summary of content; property {{p|Summary note}} | | * '''summary''' -- brief summary of content; property {{p|Summary note}} |
| * '''location''' -- where the original letter is located now, its archive index; property {{p|Location of original}} | | * '''location''' -- where the original letter is located now, its archive index; property {{p|Location of original}} |
| * '''files''' -- property {{p|Files of original}} | | * '''files''' -- property {{p|Files of original}} |
− | * '''section_russian''' -- wiki page in Russian section | + | * '''russian_section''' -- wiki page in Russian section |
| |} | | |} |
| | | |
Line 67: |
Line 71: |
| |- valign=top | | |- valign=top |
| | style="text-align: right;" | Language(s): | | | style="text-align: right;" | Language(s): |
− | ! {{#arraymap:{{{language|}}}|;|@@| [[Used language::@@]]}} | + | ! {{#arraymap:{{{language|}}}|;|@@| [[Used language::@@]]}}{{#if: {{{translator|}}}|<br>({{tip|trans.|Translated into English}} by {{{translator}}})|}} |
| | | |
| |- | | |- |
Line 93: |
Line 97: |
| ! {{#arraymap:{{{mentioned_other|}}}|;|@@| [[Mentioned item::@@]] |; }} | | ! {{#arraymap:{{{mentioned_other|}}}|;|@@| [[Mentioned item::@@]] |; }} |
| |- valign=top | | |- valign=top |
− | | style="text-align: right;" | {{tip|Concerns|Something or someone the letter concerns. It may or may not be mentioned or named literally}}: | + | | style="text-align: right;" | {{tip|Concerns|Something or someone the letter concerns, which may or may not be mentioned or named directly}}: |
| ! {{#arraymap:{{{concerns|}}}|;|@@| [[Letter concerns::@@]] |; }} | | ! {{#arraymap:{{{concerns|}}}|;|@@| [[Letter concerns::@@]] |; }} |
| | | |
Line 105: |
Line 109: |
| |- valign=top | | |- valign=top |
| | style="text-align: right;" | Location: | | | style="text-align: right;" | Location: |
− | ! [[Mentioned place::{{{location|}}}]] | + | ! {{{location|}}} {{#set:Files of original={{{location|}}}}} |
| |- valign=top | | |- valign=top |
| | colspan=2 | {{#arraymap:{{{files|}}}|;|@@|[[File:@@|90px]]{{#set:Files of original=@@}}| }} | | | colspan=2 | {{#arraymap:{{{files|}}}|;|@@|[[File:@@|90px]]{{#set:Files of original=@@}}| }} |
Line 111: |
Line 115: |
| ! colspan=2 | <div style="background: #9999ff; padding-left: 5px;">Other languages</div> | | ! colspan=2 | <div style="background: #9999ff; padding-left: 5px;">Other languages</div> |
| |- valign=top | | |- valign=top |
− | | colspan=2 | {{#if: {{{section_russian|}}}| [[:t-ru-lib:{{{section_russian}}}|Russian]]|}} | + | | colspan=2 | {{#if: {{{russian_section|}}}| [[:t-ru-lib:{{{russian_section}}}|Russian]]|}} |
| |- | | |- |
| | colspan=2 | __TOC__ | | | colspan=2 | __TOC__ |
Line 129: |
Line 133: |
| |} | | |} |
| [[Category: Letters]] | | [[Category: Letters]] |
− | {{#if: {{{section_russian|}}}| [[t-ru-lib:{{{section_russian}}}]]|}} | + | {{#if: {{{russian_section|}}}| [[t-ru-lib:{{{russian_section}}}]]|}} |
| </includeonly> | | </includeonly> |