Difference between revisions of "Template:Infobox letter"

From Teopedia library
Jump to navigation Jump to search
m
m (+link to Russian section)
Line 20: Line 20:
 
  | location =  
 
  | location =  
 
  | files =  
 
  | files =  
 +
| lang_russian
 
}}</pre>
 
}}</pre>
 
| Use semicolon to separate several items.  
 
| Use semicolon to separate several items.  
Line 42: Line 43:
 
* '''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}}
 +
* '''lang_russian''' -- wiki page in Russian section
 
|}
 
|}
  
 
[[Category: Templates]]
 
[[Category: Templates]]
 +
[[t-ru-lib:Шаблон:Карточка письма]]
 
</noinclude><includeonly>{{Hide title}} __NOFACTBOX__ <div style="margin-left: 10px; border: 1px #120a8f solid;  font-family:Arial, sans-serif; width:300px; float: right; {{css|border-radius|10}}">
 
</noinclude><includeonly>{{Hide title}} __NOFACTBOX__ <div style="margin-left: 10px; border: 1px #120a8f solid;  font-family:Arial, sans-serif; width:300px; float: right; {{css|border-radius|10}}">
 
<div style="text-align: center;">'''Letter data'''</div>
 
<div style="text-align: center;">'''Letter data'''</div>
Line 100: Line 103:
 
|- valign=top
 
|- valign=top
 
| colspan=2 | {{#arraymap:{{{files|}}}|;|@@|[[File:@@|90px]]{{#set:Files of original=@@}}|&#32;}}
 
| colspan=2 | {{#arraymap:{{{files|}}}|;|@@|[[File:@@|90px]]{{#set:Files of original=@@}}|&#32;}}
 +
|- valign=top
 +
! colspan=2 | <div style="background: #9999ff; padding-left: 5px;">Other languages</div>
 +
|- valign=top
 +
| colspan=2 | {{#if: {{{lang_russian|}}}| [[t-ru-lib:{{{lang_russian}}}|Russian]]|}}
 
|-
 
|-
 
| colspan=2 | __TOC__
 
| colspan=2 | __TOC__
Line 117: Line 124:
 
|}
 
|}
 
[[Category: Letters]]
 
[[Category: Letters]]
 +
{{#if: {{{lang_russian|}}}| [[t-ru-lib:{{{lang_russian}}}]]|}}
 
</includeonly>
 
</includeonly>

Revision as of 09:24, 23 March 2022

This template creates information box for a letter and places the page into «Letters» category and "Letters from ..." and "Letters to ..." sub-categories.

To copy Description
{{Infobox letter
 | from_person = 
 | from_place  = 
 | from_date   = 
 | language = 
 | to_person = 
 | to_place  = 
 | to_date   = 
 | mentioned_persons = 
 | mentioned_places  = 
 | mentioned_other   = 
 | summary = 
 | location = 
 | files = 
 | lang_russian
}}
Use semicolon to separate several items.

For persons use the pattern as for ETG. For example:

  1. one person: Blavatsky H. P.
  2. several persons: Zhelikhovsky V. P.; Olcott H. S.

Date format: YYYY-MM-DD. For example: 1891-07-16