Template:Infobox document: Difference between revisions

From Teopedia
(Created page with "<noinclude>This template creates information box for an archives item and places the page into {{c|Documents}} category. {| class=wikitable ! width=285px | To copy ! Descript...")
 
No edit summary
Line 69: Line 69:
|- 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}} [[Category: Letters from @@]]|;&#32;}}
! {{#arraymap:{{{from_person|}}}|;|@@| {{#set:Name=@@|Document author=@@}} {{#formredlink:target=@@|form=ETG_article}} |;&#32;}}
|- valign=top
|- valign=top
| style="text-align: right;" | Organization:
| style="text-align: right;" | Organization:
! [[Letter send from::{{{from_organization|}}}]]
! [[Organization issuer::{{{from_organization|}}}]]
|- valign=top
|- valign=top
| style="text-align: right;" | Place:
| style="text-align: right;" | Place:
! [[Letter send from::{{{from_place|}}}]]
! [[Document place::{{{from_place|}}}]]
|- valign=top
|- valign=top
| style="text-align: right;" | Date:
| style="text-align: right;" | Date:
! [[Letter sending date::{{{from_date|}}}]]
! [[Document date::{{{from_date|}}}]]
|- valign=top
|- valign=top
| style="text-align: right;" | Language(s):
| style="text-align: right;" | Language(s):
Line 87: Line 87:
|- 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}} [[Category: Letters to @@]]|;&#32;}}
! {{#arraymap:{{{to_person|}}}|;|@@| {{#set:Name=@@|Document receiver=@@}} {{#formredlink:target=@@|form=ETG_article}}|;&#32;}}
|- valign=top
|- valign=top
| style="text-align: right;" |  {{tip|Place|Where sent to, or where received}}:
| style="text-align: right;" |  {{tip|Place|Where sent to, or where received}}:
! [[Letter send to::{{{to_place|}}}]]
! [[Document destination::{{{to_place|}}}]]
|- valign=top
|- valign=top
| style="text-align: right;" | {{tip|Date|When received}}:
| style="text-align: right;" | {{tip|Date|When received}}:
! [[Letter receiving date::{{{to_date|}}}]]
! [[Document duration::{{{to_date|}}}]]


|-
|-
Line 108: Line 108:
|- valign=top
|- valign=top
| style="text-align: right;" | {{tip|Concerns|Something or someone the document concerns, which may or may not be mentioned or named directly}}:
| style="text-align: right;" | {{tip|Concerns|Something or someone the document concerns, which may or may not be mentioned or named directly}}:
! {{#arraymap:{{{concerns|}}}|;|@@| [[Letter concerns::@@]] |;&#32;}}
! {{#arraymap:{{{concerns|}}}|;|@@| [[Document concerns::@@]] |;&#32;}}


|-
|-

Revision as of 11:01, 9 April 2022

This template creates information box for an archives item and places the page into «Documents» category.

To copy Description
{{Infobox document
 | title =
 | subtitle =
 | number =
 | from_person =
 | from_organization =
 | from_place  = 
 | from_date   = 
 | language = 
 | to_person = 
 | to_place  = 
 | to_date   = 
 | mentioned_persons = 
 | mentioned_places  = 
 | mentioned_other   = 
 | concerns = 
 | summary = 
 | location = 
 | files = 
 | categories =
 | section_russian = 
}}
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