Jump to content

Template:HPB-SB-item (obsolete, without Lua): Difference between revisions

+file, +image size
mNo edit summary
(+file, +image size)
Line 12: Line 12:
  | item =  
  | item =  
  | type =  
  | type =  
| file =
  | status =  
  | status =  
  | continues =  
  | continues =  
Line 33: Line 34:
* '''item''' -- item number on the page, {{p|HPB SB page item}}
* '''item''' -- item number on the page, {{p|HPB SB page item}}
* '''type''' -- type of an item from the list: ''article, poem, notice, review, letter, telegram, card, image, other'', {{p|HPB SB item type}}
* '''type''' -- type of an item from the list: ''article, poem, notice, review, letter, telegram, card, image, other'', {{p|HPB SB item type}}
* '''file''' -- file name for an image; used if ''type=image''; shows image above ''title''; {{p|HPB SB image file name}}
* '''image size''' -- examples: "200px" (width) or "x200px" (height); default value = 150px;
* '''status''' -- current status of an item from the list: ''wanted, ok''; additionally for text: ''proofread''; for images: ''improved''; {{p|HPB SB item status}}
* '''status''' -- current status of an item from the list: ''wanted, ok''; additionally for text: ''proofread''; for images: ''improved''; {{p|HPB SB item status}}
* '''continues''' -- pages where the item continues; separated by comma (,), {{p|HPB SB item continues on pages}}
* '''continues''' -- pages where the item continues; separated by comma (,), {{p|HPB SB item continues on pages}}
Line 62: Line 65:
   use different style for images
   use different style for images
-->{{#ifeq: {{lc:{{{type|}}}}} | image
-->{{#ifeq: {{lc:{{{type|}}}}} | image
  | {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }}
  | {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }} [[File:{{{file|}}}|{{{image size|150px}}}|center]]
 
  |  
  |  
}}<!--
}}<!--
Line 93: Line 97:
  | HPB SB page item={{{item|}}}
  | HPB SB page item={{{item|}}}
  | HPB SB item type={{{type|}}}
  | HPB SB item type={{{type|}}}
| HPB SB image file name={{{file|}}}
  | HPB SB item status={{{status|}}}
  | HPB SB item status={{{status|}}}
  | HPB SB item continues on pages={{{continues|}}}|+sep=,
  | HPB SB item continues on pages={{{continues|}}}|+sep=,