Template:HPB-CW-header: Difference between revisions

m
+category list; +list for author
mNo edit summary
m (+category list; +list for author)
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template creates header for pages of [[HPB-CW|«H.P. Blavatsky Collected Writtings»]].  
<noinclude>This template creates header for pages of [[HPB-CW|«H. P. Blavatsky Collected Writtings»]].  




Line 10: Line 10:
{{HPB-CW-header
{{HPB-CW-header
  | item title  =  
  | item title  =  
| item subtitle=
  | item author  =  
  | item author  =  
  | volume      =  
  | volume      =  
  | pages        =  
  | pages        =  
  | publications =  
  | publications =  
  | scrapbook   =  
  | scrapbook   =  
  | previous    =  
  | previous    =  
  | next        =  
  | next        =  
  | alternatives =  
  | alternatives =  
  | translations =  
  | translations =  
| notes        =
| to do        =
| categories  =
}}
}}
</pre>
</pre>
Line 24: Line 28:
|  Use semicolon (;) as a divider in a list.
|  Use semicolon (;) as a divider in a list.
* '''item title''' -- title of an article or note; {{p|BCW item title}}
* '''item title''' -- title of an article or note; {{p|BCW item title}}
* '''item subtitle''' -- subtitle (if exist); {{p|BCW item subtitle}}
* '''item author''' -- it's either “Blavatsky H.P.” or “Zirkoff B.”; this also add an item to appropriate category: {{c|Blavatsky H.P. (works)}} or {{c|Zirkoff B. (works)}}; {{p|BCW item author}}
* '''item author''' -- it's either “Blavatsky H.P.” or “Zirkoff B.”; this also add an item to appropriate category: {{c|Blavatsky H.P. (works)}} or {{c|Zirkoff B. (works)}}; {{p|BCW item author}}
* '''volume''' -- volume number; {{p|BCW volume number}}
* '''volume''' -- volume number; {{p|BCW volume number}}
* '''pages''' -- item place in the volume, first and last pages, f.e.: 606-614; {{p|BCW item pages}}
* '''pages''' -- item place in the volume, first and last pages, f.e.: 606-614; {{p|BCW item pages}}
* '''publications''' -- list of publications in chronological order; this refers to the item, not to the BCW, so it can include publications before and after BCW;; {{p|BCW item publications}}
* '''publications''' -- list of publications in chronological order; this refers to the item, not to the BCW, so it can include publications before and after BCW;; {{p|BCW item publications}}
* '''scrapbook''' -- list of references to HPB's Scrapbooks in format: volume:first_page-last_page; for example: 1:5 or 7:250-253 or for list: 4:44-51; 5:15-22; {{p|BCW item scrapbooks reference}}
* '''scrapbook''' -- list of references to HPB's Scrapbooks in format: volume:first_page-last_page; for example: 1:5 or 7:250-253 or for the list: 4:44-51; 5:15-22; {{p|BCW item scrapbooks reference}}
* '''previous''' -- previous item (article)
* '''previous''' -- previous item (article)
* '''next''' -- next  item (article)
* '''next''' -- next  item (article)
* '''alternatives''' -- list of links to the same text on other internet websites; {{p|BCW item internet resources}}
* '''alternatives''' -- list of links to the same text on other internet websites; {{p|BCW item internet resources}}
* '''translations''' -- list of links to translation of this text; {{p|BCW item translations}}
* '''translations''' -- list of links to translation of this text; {{p|BCW item translations}}
* '''notes''' -- any notes for this item; placed under author; {{p|BCW item notes}}
* '''categories''' -- list of categories to add the page to;
* '''to do''' -- what needs to be done to improve this item; list separated by semicolon; {{p|BCW task to do}}
|}
|}


Line 47: Line 55:
  | alternatives = [http://www.katinkahesselink.net/blavatsky/articles/v4/y1883_095.htm KHL]
  | alternatives = [http://www.katinkahesselink.net/blavatsky/articles/v4/y1883_095.htm KHL]
  | translations = [https://ru.teopedia.org/lib/Блаватская_Е.П._-_Чела_и_мирские_чела Russian]
  | translations = [https://ru.teopedia.org/lib/Блаватская_Е.П._-_Чела_и_мирские_чела Russian]
| notes = Translation of foregoing French text
}}
}}
</pre>
</pre>


[[Category: Templates]]
[[Category: Templates]]
[[Category: Templates for HPB CW]]
[[Category: Templates for BCW]]
[[t-ru-lib:Шаблон:ССЕПБ. Навигационная панель]]
</noinclude><includeonly>__NOFACTBOX__
</noinclude><includeonly>__NOFACTBOX__
{{Hide title}} [[Category: HPB CW]] [[Category: {{{item author|}}} (works)]] <!--  
{{Hide title}} [[Category: HPB CW]] {{#arraymap:{{{item author|}}}|;|@@|[[Category: @@ (works)]]}} {{#arraymap:{{{categories|}}}|;|@@|[[Category:@@]]}}<!--  
   set semantic propertiesy
   set semantic propertiesy  
-->{{#set: BCW item title={{{item title|}}}
-->{{#set: BCW item title={{{item title|}}}
  |BCW item author={{{item author|}}}
|BCW item subtitle={{{item subtitle|}}}
  |BCW item author={{{item author|}}}|+sep=;
  |BCW volume number={{{volume|}}}
  |BCW volume number={{{volume|}}}
  |BCW item pages={{{pages|}}}
  |BCW item pages={{{pages|}}}
  |BCW item publications={{{publications|}}}|+sep=;
  |BCW item publications={{{publications|}}}
  |BCW item internet resources={{{alternatives|}}}|+sep=;
  |BCW item internet resources={{{alternatives|}}}
  |BCW item translations={{{translations|}}}|+sep=;
  |BCW item translations={{{translations|}}}
  |BCW item scrapbooks reference={{{scrapbook|}}}|+sep=;
  |BCW item scrapbooks reference={{{scrapbook|}}}
|BCW item notes={{{notes|}}}
|BCW task to do={{{to do|}}}|+sep=;
}}<!--  
}}<!--  


Line 70: Line 83:
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
<div style=" width:100%; background: #EAECF0; border: 1px solid #A2A9B1; padding: 5px 5px 10px 5px; {{css|border-radius|5}}">
{{Style P-Book|{{{item title|}}}}}
{{Style P-Book|{{{item title|}}}}}
{{Style P-Author|by {{{item author|}}}}}
{{Style P-Subtitle|{{{item subtitle|}}}}}
<center>[[HPB-CW|H.P. Blavatsky Collected Writtings]], vol. {{{volume|}}}, page(s) {{{pages|}}}</center>
{{Style P-Author|by {{CTD show name|{{{item author|}}}|mode=full FL}} }}
<center>[[HPB-CW|H. P. Blavatsky Collected Writtings]], vol. {{{volume|}}}, page(s) {{{pages|}}}</center>
<div style="font-size: 85%;"><!-- additional information -->
<div style="font-size: 85%;"><!-- additional information -->
<p style="text-indent: 0;">Publications: <span class="plainlinks">{{{publications|}}}</span> </p>
<p style="text-indent: 0;">Publications: <span class="plainlinks">{{{publications|}}}</span> </p>
<p style="text-indent: 0;"><span style="border-bottom:1px dotted gray; cursor:help;" title="This text is also available on the following websites">Also at:</span>  <span class="plainlinks">{{{alternatives|}}}</span> </p>
<p style="text-indent: 0;"><span style="border-bottom:1px dotted gray; cursor:help;" title="This text is also available on the following websites">Also at:</span>  <span class="plainlinks">{{{alternatives|}}}</span> </p>
<p style="text-indent: 0;">In other languages: <span class="plainlinks">{{{translations|}}}</span> </p>
<p style="text-indent: 0;">In other languages: <span class="plainlinks">{{{translations|}}}</span> </p>
{{#if: {{{scrapbooks|}}}
{{#if: {{{scrapbook|}}}
  | <p style="text-indent: 0;">In <span class="H. P. Blavatsky's Scrapbooks">Scrapbooks</span>: {{#arraymap:{{{scrapbooks|}}}|;|@@|[[HPB-SB-{{#explode:@@|:|0}}-{{#explode:{{#explode:@@|:|1}}|-|0}}|@@]]}}</p>
  | <p style="text-indent: 0;">In <span style="border-bottom:1px dotted gray; cursor:help;" title="H. P. Blavatsky's Scrapbooks has a reference to this text">Scrapbooks</span>: {{SB add link|{{{scrapbook|}}}}}</p>
|}}
{{#if: {{{notes|}}}|<p style="text-indent: 0;">Notes: {{{notes}}}</p>|}}
{{#if: {{{to do|}}}
| <p style="text-indent: 0; color: grey;"><span style="border-bottom:1px dotted gray; cursor:help;" title="What needs to be done to improve this item.">Tasks</span>: {{{to do|}}}</p>
  |}}
  |}}
<!--  navigation bar on book -->
<!--  navigation bar on book -->
Line 87: Line 105:
-->&nbsp;&nbsp; [[HPB-CW|☰]] &nbsp;&nbsp;<!--
-->&nbsp;&nbsp; [[HPB-CW|☰]] &nbsp;&nbsp;<!--
   next item
   next item
-->[[{{{next|}}}|>>]]
-->[[{{{next|}}}|>>]]&nbsp;&nbsp;<!--
  link to BCW page info form
-->| [[Special:RunQuery/BCW page info|page]]
</div>
</div>
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>