Jump to content

Template:Infobox letter: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 21: Line 21:
  | files =  
  | files =  
}}</pre>
}}</pre>
| Use comma to separate several items (semicolon for file names).
| Use semicolon to separate several items.
 
For persons use the pattern as for [[Form:ETG_article|ETG]]. For example:
# one person: Blavatsky, H. P.
# several persons: Zhelikhovsky V. P.; Olcott, H. S.
 
Date format: YYYY-MM-DD. For example: 1891-07-16
 
* '''from_person''' -- properties: {{p|Name}}, {{p|Letter author}}
* '''from_person''' -- properties: {{p|Name}}, {{p|Letter author}}
* '''from_place''' -- property {{p|Letter send from}}
* '''from_place''' -- property {{p|Letter send from}}
Line 34: Line 41:
* '''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''' -- use semicolon (;) as separator in list; property {{p|Files of original}}
* '''files''' -- property {{p|Files of original}}
|}
|}


Line 47: Line 54:
|- valign=top
|- valign=top
| style="text-align: right; width: 75px;" | Author(s):
| style="text-align: right; width: 75px;" | Author(s):
! {{#arraymap:{{{from_person|}}}|,|@@| {{#set:Name=@@}} [[Letter sender::@@]] {{#formredlink:target=@@|form=ETG_article}} }}
! {{#arraymap:{{{from_person|}}}|;|@@| {{#set:Name=@@}} [[Letter sender::@@]] {{#formredlink:target=@@|form=ETG_article}} }}
|- valign=top
|- valign=top
| style="text-align: right;" | Place:
| style="text-align: right;" | Place:
Line 56: Line 63:
|- valign=top
|- valign=top
| style="text-align: right;" | Language(s):
| style="text-align: right;" | Language(s):
! {{#arraymap:{{{language|}}}|,|@@| [[Used language::@@]]}}
! {{#arraymap:{{{language|}}}|;|@@| [[Used language::@@]]}}


|-
|-
Line 62: Line 69:
|- valign=top
|- valign=top
| style="text-align: right;" | Receiver(s):
| style="text-align: right;" | Receiver(s):
! {{#arraymap:{{{to_person|}}}|,|@@| {{#set:Name=@@}} [[Letter receiver::@@]] {{#formredlink:target=@@|form=ETG_article}} }}
! {{#arraymap:{{{to_person|}}}|;|@@| {{#set:Name=@@}} [[Letter receiver::@@]] {{#formredlink:target=@@|form=ETG_article}} }}
|- valign=top
|- valign=top
| style="text-align: right;" | Place:
| style="text-align: right;" | Place:
Line 74: Line 81:
|- valign=top
|- valign=top
| style="text-align: right;" | Person(s):
| style="text-align: right;" | Person(s):
! {{#arraymap:{{{mentioned_persons|}}}|,|@@| {{#set:Name=@@}} [[Mentioned person::@@]] {{#formredlink:target=@@|form=ETG_article}} }}
! {{#arraymap:{{{mentioned_persons|}}}|;|@@| {{#set:Name=@@}} [[Mentioned person::@@]] {{#formredlink:target=@@|form=ETG_article}} }}
|- valign=top
|- valign=top
| style="text-align: right;" | Place:
| style="text-align: right;" | Place:
Line 83: Line 90:


|-
|-
! colspan=2 | <div style="background: #9999ff; padding-left: 5px;">Summary</div>
! colspan=2 | <div style="background: #9999ff; padding-left: 5px;">Summary and notes</div>
|-  
|-  
| colspan=2 | [[Summary note::{{{summary|}}}]]
| colspan=2 | [[Summary note::{{{summary|}}}]]