Jump to content

Template:Infobox document: Difference between revisions

m
+type
No edit summary
m (+type)
 
Line 7: Line 7:
|<pre>
|<pre>
{{Infobox document
{{Infobox document
  | title =
| type =
  | subtitle =
  | title =  
  | number =
  | subtitle =  
  | from_person =
  | number =  
  | from_organization =
  | from_person =  
  | from_organization =  
  | from_place  =  
  | from_place  =  
  | from_date  =  
  | from_date  =  
Line 25: Line 26:
  | location =  
  | location =  
  | files =  
  | files =  
  | categories =
  | categories =  
  | section_russian =  
  | section_russian =  
}}</pre>
}}</pre>
Line 36: Line 37:
Date format: YYYY-MM-DD. For example: 1891-07-16
Date format: YYYY-MM-DD. For example: 1891-07-16


* '''title''' -- document title: letter, passport, etc.; {{p|Document title}}
* '''type''' -- document type: letter, passport, etc.; {{p|Document type}}
* '''title''' -- document title; {{p|Document title}}
* '''subtitle''' -- document subtitle; {{p|Document subtitle}}
* '''subtitle''' -- document subtitle; {{p|Document subtitle}}
* '''number''' -- document number; {{p|Document number}}
* '''number''' -- document number; {{p|Document number}}
Line 60: Line 62:
[[Category: Templates]]
[[Category: Templates]]
[[t-ru-lib:Шаблон:Карточка документа]]
[[t-ru-lib:Шаблон:Карточка документа]]
</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}}">
</noinclude><includeonly>{{Hide title}} __NOFACTBOX__ {{#set:Document type={{{type|}}}}}<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;">'''[[Document title::{{{title|}}}]]'''</div>
<div style="text-align: center;">'''[[Document title::{{{title|}}}]]'''</div>
<div style="text-align: center; font-size: 80%;">{{#if: {{{subtitle|}}}| [[Document subtitle::{{{subtitle|}}}]]<br>|}}{{#if: {{{number|}}}|No. [[Document number::{{{number}}}]]|}}</div>
<div style="text-align: center; font-size: 80%;">{{#if: {{{subtitle|}}}| [[Document subtitle::{{{subtitle|}}}]]<br>|}}{{#if: {{{number|}}}|No. [[Document number::{{{number}}}]]|}}</div>