Jump to content

Template:HPB-SB TOC records: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
* {{t|HPB-SB table ending}}   
* {{t|HPB-SB table ending}}   


[[Category: Templates for Scrapbooks]]
[[Category: Templates for HPB SB]]
[[Category: Templates for templates]]
[[Category: Templates for templates]]
</noinclude><includeonly>
</noinclude><includeonly>
|- valign=top
|- valign=top
| [[{{{wiki page|}}}|{{{page|}}}]]{{#if: {{{continues|}}}|, {{#arraymap:{{{continues|}}}|,|@@|[[HPB-SB-{{{#userparam|}}}-@@|@@]]}} |}}
| [[{{{wiki page|}}}|{{{page|}}}]]{{#if: {{{continues|}}}|, {{#arraymap:{{{continues|}}}|,|@@|[[HPB-SB-{{{#userparam|}}}-@@|@@]]}} |}}
| {{#switch: {{{status|}}}  
| <!-- 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.
   | wanted =  {{#if: {{{untitled|}}}| <Untitled> ({{{title|}}}...)|{{{title|}}}}}
-->{{#if: {{{title|}}}| {{#vardefine:title|{{{title|}}}}} | {{#vardefine:title|<untitled>}} }}{{#switch: {{{status|}}}  
   | #default = {{#if: {{{untitled|}}}| <Untitled> ([[{{{wiki page|}}}|{{{title|no title}}}...]]) | [[{{{wiki page|}}}|{{{title|no title}}}]] }}
   | 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>
   }} {{#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>
<div style="color: grey; font-size:80%; margin-top: -0.5em;"><span title="Item identifier in Scrapbooks">ID: {{{ID}}}</span></div>