Difference between revisions of "Template:HPB-SB-item (obsolete, without Lua)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <noinclude>This template is used | + | <noinclude>This template is used for every item in ''[[H. P. Blavatsky's Scrapbooks]]''. |
− | |||
− | |||
− | |||
{| class=wikitable | {| class=wikitable | ||
Line 15: | Line 12: | ||
| item = | | item = | ||
| type = | | type = | ||
+ | | status = | ||
| continues = | | continues = | ||
| title = | | title = | ||
Line 22: | Line 20: | ||
| date = | | date = | ||
| notes = | | notes = | ||
− | |||
| categories = | | categories = | ||
}} | }} | ||
Line 28: | Line 25: | ||
| | | | ||
* '''volume''' -- Scrapbook volume number, {{p|HPB SB volume}} | * '''volume''' -- Scrapbook volume number, {{p|HPB SB volume}} | ||
− | * '''page''' -- page number in the volume, where item starts{{p|HPB SB volume page}} | + | * '''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}} | * '''item''' -- item number on the page, {{p|HPB SB page item}} | ||
− | * '''type''' -- type of item from the list: article, poem, image, other, {{p|HPB SB item type}} | + | * '''type''' -- type of an item from the list: article, poem, image, other, {{p|HPB SB item type}} |
− | * '''continues''' -- pages where the item continues, {{p|HPB SB item pages}} | + | * '''status''' -- current status of an item from the list: wanted, proofread, ok, {{p|HPB SB item status}} |
+ | * '''continues''' -- pages where the item continues, {{p|HPB SB item continues on pages}} | ||
* '''title''' -- title of the article, poem, etc., {{p|HPB SB item title}} | * '''title''' -- title of the article, poem, etc., {{p|HPB SB item title}} | ||
* '''untitled''' -- set "Yes" for text without a title; in this case parameter "title" better to hold several words from the very begining of the text, {{p|HPB SB item untitled}} | * '''untitled''' -- set "Yes" for text without a title; in this case parameter "title" better to hold several words from the very begining of the text, {{p|HPB SB item untitled}} | ||
Line 38: | Line 36: | ||
* '''date''' -- date in format YYYY-MM-DD, {{p|HPB SB item date}} | * '''date''' -- date in format YYYY-MM-DD, {{p|HPB SB item date}} | ||
* '''notes''' -- any additional information about the item, {{p|HPB SB item notes}} | * '''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}} | |
− | * '''categories''' -- some categories for the item, additional to {{ | ||
|} | |} | ||
− | |||
[[Category: Templates for HPB SB]] | [[Category: Templates for HPB SB]] | ||
− | </noinclude><includeonly> | + | </noinclude><includeonly><!-- |
− | + | Item TITLE depends on type and status | |
− | + | -->{{#vardefine:final_title| {{{title|}}} }}<!-- | |
− | + | Mark untitled text | |
− | + | -->{{#ifeq: {{lc:{{{untitled|}}}}} | yes | |
− | + | | {{#vardefine:final_title| '''<Untitled>''' {{#if: {{{title|}}}| ({{{title}}})|}} }} | |
− | + | | | |
− | {{# | + | }}<!-- |
− | + | Do not show title before image | |
− | | | + | -->{{#ifeq: {{lc:{{{type|}}}}} | image |
− | + | | | |
− | + | | {{Style P-HPB SB. Title|{{#var:final_title}}}} | |
− | + | }}<!-- | |
− | {{# | + | Mark wanted items |
− | + | -->{{#ifeq: {{lc:{{{status|}}}}} | wanted | |
− | + | | {{Style S-HPB SB. Editors note|wanted|center}} | |
− | + | | | |
− | + | }}<!-- | |
− | + | Set SUBOBJECT with semantic properties | |
− | <!-- | + | -->{{#subobject: HPB SB item {{{volume|}}}-{{{page|}}}-{{{item|}}} |
− | {{# | ||
− | |||
− | |||
− | |||
| HPB SB volume={{{volume|}}} | | HPB SB volume={{{volume|}}} | ||
| HPB SB volume page={{{page|}}} | | HPB SB volume page={{{page|}}} | ||
+ | | HPB SB page item={{{item|}}} | ||
| HPB SB item type={{{type|}}} | | HPB SB item type={{{type|}}} | ||
+ | | 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 source={{{source|}}} | | HPB SB item source={{{source|}}} | ||
| HPB SB item date={{{date|}}} | | HPB SB item date={{{date|}}} | ||
| HPB SB item notes={{{notes|}}} | | HPB SB item notes={{{notes|}}} | ||
− | + | | HPB SB item categories={{{categories|}}}|+sep=, | |
− | + | }}</includeonly> | |
− | </includeonly> |
Revision as of 02:24, 9 December 2020
This template is used for every item in H. P. Blavatsky's Scrapbooks.
To copy | Description |
---|---|
{{HPB-SB-item | volume = | page = | item = | type = | status = | continues = | title = | untitled = | author = | source = | date = | notes = | categories = }} |
|