Difference between revisions of "Template:Infobox letter"

From Teopedia library
Jump to navigation Jump to search
m (section_russian --> russian_section)
Line 21: Line 21:
 
  | location =  
 
  | location =  
 
  | files =  
 
  | files =  
  | section_russian =  
+
  | russian_section =  
 
}}</pre>
 
}}</pre>
 
| Use semicolon to separate several items.  
 
| Use semicolon to separate several items.  
Line 45: Line 45:
 
* '''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 111: Line 111:
 
! 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 129:
 
|}
 
|}
 
[[Category: Letters]]
 
[[Category: Letters]]
{{#if: {{{section_russian|}}}| [[t-ru-lib:{{{section_russian}}}]]|}}
+
{{#if: {{{russian_section|}}}| [[t-ru-lib:{{{russian_section}}}]]|}}
 
</includeonly>
 
</includeonly>

Revision as of 09:56, 4 July 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   = 
 | concerns = 
 | summary = 
 | location = 
 | files = 
 | russian_section = 
}}
Use semicolon to separate several items.

For persons use the pattern as for ETG. Note: avoid space between initials. 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