Difference between revisions of "Template:Infobox letter"

From Teopedia library
Jump to navigation Jump to search
m
m (+header)
Line 24: Line 24:
  
 
For persons use the pattern as for [[Form:ETG_article|ETG]]. For example:  
 
For persons use the pattern as for [[Form:ETG_article|ETG]]. For example:  
# one person: Blavatsky, H. P.
+
:# one person: Blavatsky, H. P.
# several persons: Zhelikhovsky V. P.; Olcott, H. S.
+
:# several persons: Zhelikhovsky V. P.; Olcott, H. S.
  
 
Date format: YYYY-MM-DD. For example: 1891-07-16
 
Date format: YYYY-MM-DD. For example: 1891-07-16
Line 45: Line 45:
  
 
[[Category: Templates]]
 
[[Category: Templates]]
</noinclude><includeonly><div style="border: 1px #120a8f solid;  font-family:Arial, sans-serif; width:300px; float: right; {{css|border-radius|10}}">
+
</noinclude><includeonly>__NOFACTBOX__ {{Hide TOC}} <div style="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:
Line 100: Line 100:
 
! [[Mentioned place::{{{location|}}}]]
 
! [[Mentioned place::{{{location|}}}]]
 
|- valign=top
 
|- valign=top
| colspan=2 | {{#arraymap:{{{files|}}}|;|@@|[[File:@@|90px]]{{#set:Files of original=@@}}| }}
+
| colspan=2 | {{#arraymap:{{{files|}}}|;|@@|[[File:@@|90px]]{{#set:Files of original=@@}}|&#32;}}
 
|-
 
|-
 
| colspan=2 | __TOC__
 
| colspan=2 | __TOC__
 
|}
 
|}
 
</div>
 
</div>
</div>__NOFACTBOX__</includeonly>
+
</div>
 +
{{Style P-Title|Letter}}
 +
{| style="margin: 0 auto;"
 +
|-
 +
| align=right | from: || '''{{{from_person|}}}'''
 +
|-
 +
| align=right | to:  || '''{{{to_person|}}}'''
 +
|-
 +
| align=right | date:  || ''{{{from_date|}}}''
 +
|}
 +
</includeonly>

Revision as of 16:04, 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