Line 2: |
Line 2: |
| * {{t|HPB-SB TOC header}} | | * {{t|HPB-SB TOC header}} |
| * {{t|HPB-SB TOC records}} | | * {{t|HPB-SB TOC records}} |
− | * {{t|HPB-SB TOC ending}} | + | * {{t|HPB-SB table ending}} |
| | | |
| [[Category: Templates for Scrapbooks]] | | [[Category: Templates for Scrapbooks]] |
Line 9: |
Line 9: |
| |- valign=top | | |- valign=top |
| | [[{{{wiki page|}}}|{{{page|}}}]]{{#if: {{{continues|}}}|, {{#arraymap:{{{continues|}}}|,|@@|[[HPB-SB-{{{#userparam|}}}-@@|@@]]}} |}} | | | [[{{{wiki page|}}}|{{{page|}}}]]{{#if: {{{continues|}}}|, {{#arraymap:{{{continues|}}}|,|@@|[[HPB-SB-{{{#userparam|}}}-@@|@@]]}} |}} |
− | | {{{title|}}} {{#if: {{{subtitle|}}}|<br> <small>{{{subtitle}}}</small>|}} | + | | <!-- an item could be untitled in two ways: (1) parameter 'untitled' set to 'yes'; (2) parameter 'title' is empty. In first case parameter 'title' holds a few first words from text. |
| + | -->{{#if: {{{title|}}}| {{#vardefine:title|{{{title|}}}}} | {{#vardefine:title|<untitled>}} }}{{#switch: {{{status|}}} |
| + | | wanted = {{#if: {{{untitled|}}}| <untitled> ({{#var:title}}...) | {{#var:title}} }} |
| + | | #default = {{#if: {{{untitled|}}}| <untitled> ([[{{{wiki page|}}}|{{#var:title}}...]]) | [[{{{wiki page|}}}|{{#var:title}}]] }} |
| + | }} {{#if: {{{subtitle|}}}|<br> <small>{{{subtitle}}}</small>|}}<br> |
| + | <div style="color: grey; font-size:80%; margin-top: -0.5em;"><span title="Item identifier in Scrapbooks">ID: {{{ID}}}</span></div> |
| | {{{author|}}} | | | {{{author|}}} |
− | | {{{source|}}}{{#if: {{{details|}}}|, {{{details}}}|}} | + | | {{{source|}}}{{#if: {{{details|}}}|<span style="color: grey;">, {{{details}}}</span>|}} |
− | | {{{date|}}} {{#if: {{{date|}}} | + | | {{#if: {{{publication|}}} |
− | | {{{date|}}} {{#if: {{{original date|}}}|<br><span style="color: grey;">({{{original date}}})</span>|}} | + | | {{{publication|}}} {{#if: {{{original date|}}}|<br><span style="color: grey;">({{{original date}}})</span>|}} |
| | {{#if: {{{original date|}}}|<span style="color: grey;">{{{original date}}}</span>|}} | | | {{#if: {{{original date|}}}|<span style="color: grey;">{{{original date}}}</span>|}} |
| }} | | }} |