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]]''. |
| + | |
| + | |
| + | '''Useful links:''' |
| + | * {{t|HPB-SB-footer-footnotes}} – footnote template to show all descriptions. |
| + | * {{m|SB|footnotes}} – Lua function, which creates a footnote. |
| | | |
| {| class=wikitable | | {| class=wikitable |
Line 58: |
Line 63: |
| | | |
| [[Category: Templates for HPB SB]] | | [[Category: Templates for HPB SB]] |
| + | [[Category: Templates with Lua]] |
| [[t-ru-lib:ЕПБ-ЛА элемент]] | | [[t-ru-lib:ЕПБ-ЛА элемент]] |
− | </noinclude><includeonly><!-- DEBUG | + | </noinclude><includeonly><!-- |
− | * author: {{{author|-}}}
| + | |
− | * source title: {{{source title|---}}}
| |
− | * archivist notes: {{{archivist notes|---}}}
| |
− | * LUA: {{#invoke: SB | footnote
| |
− | | title={{{title|}}}
| |
− | | author={{{author|}}}
| |
− | | author_signed={{{author signed|}}}
| |
− | | source_title={{{source title|}}}
| |
− | | source_details={{{source details|}}}
| |
− | | notes={{{notes|}}}
| |
− | | archivist_notes={{{archivist notes|}}}
| |
− | }}-->
| |
− | <!--
| |
− | create a footnote for additional information on item
| |
− | --{{#vardefine:footnote|<i>{{{title|}}}</i>
| |
− | {{#if: {{{author|}}}|  by {{{author}}}|  by unknown author}}
| |
− | {{#if: {{{author signed|}}}|  (signed as {{{author signed}}})|}}
| |
− | {{#if: {{{source title|}}}|, ''{{{source title}}}'' |}}
| |
− | {{#if: {{{source details|}}}|, {{{source details}}}|}}
| |
− | {{#if: {{{notes|}}}|. {{{notes}}}|}}.
| |
− | {{#if: {{{archivist notes|}}}|<br>{{{archivist notes}}}. – Archivist.|<br>{{tip|No archivist notes|Adyar archivist}}}} }}<!--
| |
| create a footnote by function "footnote" in module SB (Lua module for Scrapbooks) | | create a footnote by function "footnote" in module SB (Lua module for Scrapbooks) |
| --><div style="float: right;">{{#tag:ref| {{#invoke: SB | footnote | | --><div style="float: right;">{{#tag:ref| {{#invoke: SB | footnote |