Difference between revisions of "Template:Infobox letter"

From Teopedia library
Jump to navigation Jump to search
m (+header)
m
Line 45: Line 45:
  
 
[[Category: Templates]]
 
[[Category: Templates]]
</noinclude><includeonly>__NOFACTBOX__ {{Hide TOC}} <div style="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 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}} }}
+
! {{#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:
! Adyar [[Letter send from::{{{from_place|}}}]]
+
! [[Letter send from::{{{from_place|}}}]]
 
|- valign=top
 
|- valign=top
 
| style="text-align: right;" | Date:
 
| style="text-align: right;" | Date:
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}} }}
+
! {{#arraymap:{{{to_person|}}}|;|@@| {{#set:Name=@@}} {{#formredlink:target=@@|form=ETG_article}} }}
 
|- valign=top
 
|- valign=top
 
| style="text-align: right;" | Place:
 
| style="text-align: right;" | Place:

Revision as of 16:10, 7 February 2022

This template creates information box for a letter.

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