Template:HPB-SB-item: Difference between revisions
(+image position) |
m (+indent above article) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This template is used for every item in ''[[H. P. Blavatsky's Scrapbooks]]''. | <noinclude>This template is used for every item in ''[[H. P. Blavatsky's Scrapbooks]]''. | ||
Treat image collage as a single item. | |||
| Line 34: | Line 36: | ||
| archivist notes = | | archivist notes = | ||
| categories = | | categories = | ||
| language = | |||
| translator = | |||
| hide = | | hide = | ||
}} | }} | ||
| Line 59: | Line 63: | ||
* '''archivist notes''' -- notes made by Adyar archivist | * '''archivist notes''' -- notes made by Adyar archivist | ||
* '''categories''' -- some categories for the item, additional to {{p|HPB SB item categories}}; separated by comma (,) | * '''categories''' -- some categories for the item, additional to {{p|HPB SB item categories}}; separated by comma (,) | ||
* '''language''' -- language of an item, the pasted cut, which could be translated from some original text; default = English; {{p|HPB SB item language}} | |||
* '''translator''' -- who translated into English; {{p|HPB SB item translator}} | |||
* '''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 | * '''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. | Each item has an ID set by {{p|HPB SB item ID}} property. | ||
|} | |} | ||
== See also == | |||
* {{t|HPB-SB-item (obsolete, without Lua)}} – old, obsolete template. | |||
[[Category: Templates for HPB SB]] | [[Category: Templates for HPB SB]] | ||
[[Category: Templates with Lua]] | [[Category: Templates with Lua]] | ||
[[t-ru-lib:ЕПБ- | [[t-ru-lib:ЕПБ-Альбомы. Элемент]] | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
| Line 79: | Line 88: | ||
| notes={{{notes|}}} | | notes={{{notes|}}} | ||
| archivist_notes={{{archivist notes|}}} | | archivist_notes={{{archivist notes|}}} | ||
| language={{{language|}}} | |||
| translator={{{translator|}}} | |||
}} }}</div><!-- | }} }}</div><!-- | ||
PREPEAR TITLE considering type and status | PREPEAR TITLE considering type and status | ||
-->{{#vardefine:final_title| {{Style P-HPB SB. Title| {{{title|}}} }} }}<!-- | -->{{#vardefine:final_title| {{Style P-HPB SB. Title| {{{title|}}} }} }}<!-- | ||
mark untitled text | |||
-->{{#ifeq: {{lc:{{{untitled|}}}}} | yes | -->{{#ifeq: {{lc:{{{untitled|}}}}} | yes | ||
| {{#vardefine:final_title| <h3 style="text-align: center; font-size: 120%;">'''<Untitled>''' {{#if: {{{title|}}}| ({{{title}}})|}}</h3>}} | | {{#vardefine:final_title| <h3 style="text-align: center; font-size: 120%;">'''<Untitled>''' {{#if: {{{title|}}}| ({{{title}}})|}}</h3>}} | ||
| Line 95: | Line 106: | ||
}}<!-- | }}<!-- | ||
SHOW TITLE and subtitle | SHOW TITLE and subtitle | ||
-->{{#var:final_title}} | -->{{#if: {{{hide|}}} | | ||
{{#if: {{{subtitle|}}}| {{Style P-Subtitle|{{{subtitle|}}}}} |}}<!-- | |{{Vertical space|2em}} | ||
{{#var:final_title}} | |||
{{#if: {{{subtitle|}}}| {{Style P-Subtitle|{{{subtitle|}}}}} |}} | |||
}}<!-- | |||
see if it needs PROOFREADING | |||
-->{{#ifeq: {{lc:{{{status|}}}}} | proofread | -->{{#ifeq: {{lc:{{{status|}}}}} | proofread | ||
| [[Category: To | | [[Category:SB. To proofread]] | ||
| | | | ||
}}<!-- | }}<!-- | ||
Add to CTD categories | |||
-->{{#arraymap:{{{categories|}}}|,|@@|[[Category:SB. @@]]}}<!-- | |||
set SUBOBJECT with semantic properties | |||
-->{{#subobject: HPB SB item {{{volume|}}}-{{{page|}}}-{{{item|}}} | -->{{#subobject: HPB SB item {{{volume|}}}-{{{page|}}}-{{{item|}}} | ||
| HPB SB item ID ={{#invoke: SB | item_id | volume={{{volume|}}} | page={{{page|}}} | item={{{item|}}} }} | | HPB SB item ID ={{#invoke: SB | item_id | volume={{{volume|}}} | page={{{page|}}} | item={{{item|}}} }} | ||
| Line 124: | Line 141: | ||
| HPB SB item notes={{{notes|}}} | | HPB SB item notes={{{notes|}}} | ||
| HPB SB item categories={{{categories|}}}|+sep=, | | HPB SB item categories={{{categories|}}}|+sep=, | ||
| HPB SB item language={{{language|}}} | |||
| HPB SB item translator={{{translator|}}}|+sep=; | |||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 01:25, 21 May 2025
This template is used for every item in H. P. Blavatsky's Scrapbooks.
Treat image collage as a single item.
Useful links:
- {{HPB-SB-footer-footnotes}} – footnote template to show all descriptions.
- [[SB|footnotes]] – Lua function, which creates a footnote.
| To copy | Description |
|---|---|
{{HPB-SB-item
| volume =
| page =
| item =
| type =
| file =
| image size =
| image position =
| status =
| continues =
| title =
| subtitle =
| untitled =
| author =
| author signed =
| source title =
| source details =
| publication date =
| original date =
| notes =
| archivist notes =
| categories =
| language =
| translator =
| hide =
}}
|
Each item has an ID set by [[HPB SB item ID]] property. |
See also
- {{HPB-SB-item (obsolete, without Lua)}} – old, obsolete template.