Template:HPB-SB-item: Difference between revisions
No edit summary |
(+image position) |
||
Line 19: | Line 19: | ||
| file = | | file = | ||
| image size = | | image size = | ||
| image position = | |||
| status = | | status = | ||
| continues = | | continues = | ||
Line 43: | Line 44: | ||
* '''file''' -- file name for an image; used if ''type=image''; shows image above ''title''; {{p|HPB SB image file name}} | * '''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; | * '''image size''' -- examples: "200px" (width) or "x200px" (height); default value = 150px; | ||
* '''image position''' -- options: left, right, center (default); usefull for images in text | |||
* '''status''' -- current status of an item from the list: ''wanted, ok''; additionally for text: ''proofread''; for images: ''improved''; {{p|HPB SB item status}} | * '''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}} | * '''continues''' -- pages where the item continues; separated by comma (,), {{p|HPB SB item continues on pages}} | ||
Line 88: | Line 90: | ||
use different style for images | use different style for images | ||
-->{{#ifeq: {{lc:{{{type|}}}}} | image | -->{{#ifeq: {{lc:{{{type|}}}}} | image | ||
| {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }} {{#if: {{{file|}}}| [[File:{{{file|}}}|{{{image size|150px}}}|center]]|}} | | {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }} {{#if: {{{file|}}}| [[File:{{{file|}}}|{{{image size|150px}}}|{{{image position|center}}}]]|}} | ||
| | | |
Revision as of 14:15, 11 December 2022
This template is used for every item in H. P. Blavatsky's Scrapbooks.
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 = | hide = }} |
Each item has an ID set by [[HPB SB item ID]] property. |