Changes

Jump to navigation Jump to search
5,376 bytes added ,  13:07, 21 October 2022
Created page with "<noinclude>This template is used for every item in ''H. P. Blavatsky's Scrapbooks''. {| class=wikitable |- ! width=255px | To copy ! Description |-valign=top | <pre> {{H..."
<noinclude>This template is used for every item in ''[[H. P. Blavatsky's Scrapbooks]]''.

{| class=wikitable
|-
! width=255px | To copy
! Description
|-valign=top
| <pre>
{{HPB-SB-item
| volume =
| page =
| item =
| type =
| file =
| image size =
| status =
| continues =
| title =
| subtitle =
| untitled =
| author =
| author signed =
| source title =
| source details =
| publication date =
| original date =
| notes =
| categories =
| hide =
}}
</pre>
|
* '''volume''' -- Scrapbook volume number, {{p|HPB SB volume}}
* '''page''' -- page number in the volume, where item starts, {{p|HPB SB volume page}}
* '''item''' -- item number on the page, {{p|HPB SB page item}}
* '''type''' -- type of an item from the list: ''article, poem, notice, review, letter, telegram, card, image, other'', {{p|HPB SB item type}}
* '''file''' -- file name for an image; used if ''type=image''; shows image above ''title''; {{p|HPB SB image file name}}
* '''image size''' -- examples: "200px" (width) or "x200px" (height); default value = 150px;
* '''status''' -- current status of an item from the list: ''wanted, ok''; additionally for text: ''proofread''; for images: ''improved''; {{p|HPB SB item status}}
* '''continues''' -- pages where the item continues; separated by comma (,), {{p|HPB SB item continues on pages}}
* '''title''' -- title of the item of any type (see above), {{p|HPB SB item title}}
* '''subtitle''' -- subtitle, if exist, {{p|HPB SB item subtitle}}
* '''untitled''' -- set to "''yes''" for text without a title; in this case parameter "title" is better to hold several words from the very begining of the text, {{p|HPB SB item untitled}}
* '''author''' -- real name of the author or authors, separated by semicolon (;); format: '''Last-Name, Initials'''; {{p|HPB SB item author}}
* '''author signed''' -- the name the author singed his/her article; in case of several authors, separate names by semicolon (;); format: as in original text; {{p|HPB SB item author signed}}}
* '''source title''' -- the name of magazine or newspaper where it was published, {{p|HPB SB item source title}}
* '''source details''' -- particular place, i.e. volume, page etc., {{p|HPB SB item source details}}}
* '''publication date''' -- date of publication in this source; format: YYYY-MM-DD, {{p|HPB SB item publication date}}
* '''original date''' -- date of letter written or publication in original source; format: YYYY-MM-DD, {{p|HPB SB item original date}}
* '''notes''' -- any additional information about the item, {{p|HPB SB item notes}}
* '''categories''' -- some categories for the item, additional to {{p|HPB SB item categories}}; separated by comma (,)
* '''hide''' -- set to "''yes''" to hide all data and just set the semantic properties; used for some images and titles or subtitles altered by HPB

Each item has an ID set by {{p|HPB SB item ID}} property.
|}

[[Category: Templates for HPB SB]]
[[t-ru-lib:ЕПБ-ЛА элемент]]
</noinclude><includeonly><!--
PREPEAR TITLE considering type and status
-->{{#vardefine:final_title| {{Style P-HPB SB. Title| {{{title|}}} }} }}<!--
Mark untitled text
-->{{#ifeq: {{lc:{{{untitled|}}}}} | yes
| {{#vardefine:final_title| <h3 style="text-align: center; font-size: 120%;">'''<Untitled>''' {{#if: {{{title|}}}| ({{{title}}})|}}</h3>}}
|
}}<!--
use different style for images
-->{{#ifeq: {{lc:{{{type|}}}}} | image
| {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }} {{#if: {{{file|}}}| [[File:{{{file|}}}|{{{image size|150px}}}|center]]|}}

|
}}<!--
SHOW TITLE if hide option is not set
-->{{#ifeq: {{lc:{{{hide|}}}}} | yes
|
| {{#var:final_title}} {{#if: {{{subtitle|}}}| {{Style P-Subtitle|{{{subtitle|}}}}} |}}
}}<!--
AFTER TITLE mark wanted items
-->{{#ifeq: {{lc:{{{status|}}}}} | wanted
| {{Style S-HPB SB. Editors note|wanted|center}}
|
}}<!--
Create a footnote for additional information
--><div style"float: right;"><ref group=info><i>{{{title|}}}</i>{{#if: {{{author|}}}|&#32; by {{{author}}}|}}{{#if: {{{author signed|}}}|&#32; (signed as {{{author signed}}})|}}{{#if: {{{source title|}}}|, ''{{{source title}}}'' |}}{{#if: {{{source details|}}}|, {{{source details}}}|}}{{#if: {{{notes|}}}|. {{{notes}}}|}}.</ref><div><!--

See if it needs PROOFREADING
-->{{#ifeq: {{lc:{{{status|}}}}} | proofread
| [[Category: To be proofread]]
|
}}<!--

Set SUBOBJECT with semantic properties
-->{{#subobject: HPB SB item {{{volume|}}}-{{{page|}}}-{{{item|}}}
| HPB SB item ID ={{#invoke: SB | item_id | volume={{{volume|}}} | page={{{page|}}} | item={{{item|}}} }}
| HPB SB volume={{{volume|}}}
| HPB SB volume page={{{page|}}}
| HPB SB page item={{{item|}}}
| HPB SB item type={{{type|}}}
| HPB SB image file name={{{file|}}}
| HPB SB item status={{{status|}}}
| HPB SB item continues on pages={{{continues|}}}|+sep=,
| HPB SB item title={{{title|}}}
| HPB SB item untitled={{{untitled|}}}
| HPB SB item author={{{author|}}}|+sep=;
| HPB SB item author signed={{{author signed|}}}|+sep=;
| HPB SB item source title={{{source title|}}}
| HPB SB item source details={{{source details|}}}
| HPB SB item publication date={{{publication date|}}}
| HPB SB item original date={{{original date|}}}
| HPB SB item notes={{{notes|}}}
| HPB SB item categories={{{categories|}}}|+sep=,
}}</includeonly>

Navigation menu