Changes

Jump to navigation Jump to search
Created page with "<noinclude>This template based on template {{t|Infobox letter}}, it implements one part of it – it sets the same semantic properties for a letter, but do not display any inf..."
<noinclude>This template based on template {{t|Infobox letter}}, it implements one part of it – it sets the same semantic properties for a letter, but do not display any information on the page. The purpose is to include the page in query result on givven properties. The page is placed into {{c|Letters}} category and "Letters from ..." and "Letters to ..." sub-categories.

{| class=wikitable
! width=285px | To copy
! Description
|- valign=top
|<pre>
{{Letter properties
| from_person =
| from_place =
| from_date =
| language =
| to_person =
| to_place =
| to_date =
| mentioned_persons =
| mentioned_places =
| mentioned_other =
| concerns =
| summary =
| location =
| files =
| russian_section =
}}</pre>
| Use semicolon to separate several items.

For persons use the pattern as for [[Form:ETG_article|ETG]]. '''Note''': avoid space between initials. 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 sender}}
* '''from_place''' -- property {{p|Letter send from}}
* '''from_date''' -- when a letter was written; property {{p|Letter sending date}}
* '''language''' -- property {{p|Used language}}
* '''to_person''' -- properties: {{p|Name}}, {{p|Letter receiver}}
* '''to_place''' -- where a letter was received; property {{p|Letter send to}}
* '''to_date''' -- when a letter was received; property {{p|Letter receiving date}}
* '''mentioned_persons''' -- properties: {{p|Name}}, {{p|Mentioned person}}
* '''mentioned_places''' -- property {{p|Mentioned place}}
* '''mentioned_other''' -- something important, mentioned in a letter; property {{p|Mentioned item}}
* '''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}}
* '''location''' -- where the original letter is located now, its archive index; property {{p|Location of original}}
* '''files''' -- property {{p|Files of original}}
* '''russian_section''' -- wiki page in Russian section
|}

[[Category: Templates]]
[[t-ru-lib:Шаблон:Свойства письма]]
</noinclude><includeonly><!--
Process lists
-->{{#arraymap:{{{from_person|}}}|;|@@| {{#set:Name=@@|Letter sender=@@}} [[Category: Letters from @@]] |}}<!--
-->{{#arraymap:{{{language|}}}|;|@@| {{#set:Used language=@@}}<!--
-->{{#arraymap:{{{to_person|}}}|;|@@| {{#set:Name=@@|Letter receiver=@@}} [[Category: Letters to @@]] |}}<!--
-->{{#arraymap:{{{mentioned_persons|}}}|;|@@| {{#set:Name=@@|Mentioned person=@@}} |}}<!--
-->{{#arraymap:{{{mentioned_places|}}}|;|@@| {{#set:Mentioned place=@@|}}<!--
-->{{#arraymap:{{{mentioned_other|}}}|;|@@| {{#set:Mentioned item=@@|}}<!--
-->{{#arraymap:{{{concerns|}}}|;|@@| {{#set:Letter concerns=@@|}}<!--
-->{{#arraymap:{{{files|}}}|;|@@| {{#set:Files of original=@@}}|&#32;}}<!--

Process single properties
-->{{#set: Letter send from={{{from_place|}}}
| Letter sending date={{{from_date|}}}
| Letter send to={{{to_place|}}}
| Letter receiving date={{{to_date|}}}
| Summary note={{{summary|}}}
| Files of original={{{location|}}}
| Property2=value2
| Property2=value2
| Property2=value2
}}<!--

Add to category and set link to Russian page
-->[[Category: Letters]]{{#if: {{{russian_section|}}}| [[t-ru-lib:{{{russian_section}}}]]|}}</includeonly>

Navigation menu