Line 44: |
Line 44: |
| * '''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 {{p|HPB SB item categories}} |
− | * '''hide''' -- set to "''yes''" to hide all data and just set the semantic properties; used by images and titles or subtitles altered by HPB | + | * '''hide''' -- set to "''yes''" to hide all data and just set the semantic properties; used for some images and titles or subtitles altered by HPB |
| |} | | |} |
| | | |
| [[Category: Templates for HPB SB]] | | [[Category: Templates for HPB SB]] |
| </noinclude><includeonly><!-- | | </noinclude><includeonly><!-- |
− | Item TITLE depends on type and status | + | PREPEAR TITLE considering type and status |
| -->{{#vardefine:final_title| {{Style P-HPB SB. Title| {{{title|}}} }} }}<!-- | | -->{{#vardefine:final_title| {{Style P-HPB SB. Title| {{{title|}}} }} }}<!-- |
| Mark untitled text | | Mark untitled text |
Line 56: |
Line 56: |
| | | | | |
| }}<!-- | | }}<!-- |
− | Do not show title or subtitle | + | use different style for images |
| + | -->{{#ifeq: {{lc:{{{type|}}}}} | image |
| + | | {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }} |
| + | | |
| + | }}<!-- |
| + | SHOW TITLE if hide option is not set |
| -->{{#ifeq: {{lc:{{{hide|}}}}} | yes | | -->{{#ifeq: {{lc:{{{hide|}}}}} | yes |
| | | | | |
| | {{#var:final_title}} {{#if: {{{subtitle|}}}| {{Style P-Subtitle|{{{subtitle|}}}}} |}} | | | {{#var:final_title}} {{#if: {{{subtitle|}}}| {{Style P-Subtitle|{{{subtitle|}}}}} |}} |
| }}<!-- | | }}<!-- |
− | Mark wanted items | + | AFTER TITLE mark wanted items |
| -->{{#ifeq: {{lc:{{{status|}}}}} | wanted | | -->{{#ifeq: {{lc:{{{status|}}}}} | wanted |
| | {{Style S-HPB SB. Editors note|wanted|center}} | | | {{Style S-HPB SB. Editors note|wanted|center}} |