Template:Infobox letter: Difference between revisions

From Teopedia
mNo edit summary
m (+sub-categories)
Line 1: Line 1:
<noinclude>This template creates information box for a letter and places the page into {{c|Letters}} category.
<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.


{| class=wikitable
{| class=wikitable
Line 54: 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}} |;&#32;}}
! {{#arraymap:{{{from_person|}}}|;|@@| {{#set:Name=@@|Letter sender=@@}} {{#formredlink:target=@@|form=ETG_article}} [[Category: Letters from @@]]|;&#32;}}
|- valign=top
|- valign=top
| style="text-align: right;" | Place:
| style="text-align: right;" | Place:
Line 69: 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}} |;&#32;}}
! {{#arraymap:{{{to_person|}}}|;|@@| {{#set:Name=@@|Letter receiver=@@}} {{#formredlink:target=@@|form=ETG_article}} [[Category: Letters to @@]]|;&#32;}}
|- valign=top
|- valign=top
| style="text-align: right;" | Place:
| style="text-align: right;" | Place:

Revision as of 02:30, 8 February 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 = 
}}
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