Template:Infobox letter: Difference between revisions

From Teopedia
(Created page with "<noinclude>This template creates information box for a letter. {| class=wikitable ! width=285px | To copy ! Description |- valign=top |<pre> {{Infobox letter | from_person =...")
 
mNo edit summary
Line 21: Line 21:
  | files =  
  | files =  
}}</pre>
}}</pre>
| Use comma to separate several items.
| Use comma to separate several items (semicolon for file names).
* '''from_person''' -- properties: {{p|Name}}, {{p|Letter author}}
* '''from_person''' -- properties: {{p|Name}}, {{p|Letter author}}
* '''from_place''' -- property {{p|Letter send from}}
* '''from_place''' -- property {{p|Letter send from}}
Line 34: Line 34:
* '''summary''' -- brief summary of content; property {{p|Summary note}}
* '''summary''' -- brief summary of content; property {{p|Summary note}}
* '''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''' -- use semicolon (;) as separator in list; property {{p|Files of original}}
|}
|}


Line 93: Line 93:
! [[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=@@}}| }}
|-
|-
| colspan=2 | __TOC__
| colspan=2 | __TOC__

Revision as of 12:28, 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 comma to separate several items (semicolon for file names).