Jump to content

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

m
+image position
mNo edit summary
m (+image position)
Line 14: Line 14:
  | file =
  | file =
  | image size =  
  | image size =  
| image position =
  | status =  
  | status =  
  | continues =  
  | continues =  
Line 37: Line 38:
* '''file''' -- file name for an image; used if ''type=image''; shows image above ''title''; {{p|HPB SB image file name}}  
* '''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;
* '''image size''' -- examples: "200px" (width) or "x200px" (height); default value = 150px;
* '''image position''' -- values: left, right, center (default);
* '''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 67: Line 69:
   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|}}} }} }} {{#if: {{{file|}}}| [[File:{{{file|}}}|{{{image size|150px}}}|center]]|}}
  | {{#vardefine:final_title| {{Style P-HPB SB. Image title| {{{title|}}} }} }} {{#if: {{{file|}}}| [[File:{{{file|}}}|{{{image size|150px}}}|{{{image position|center}}}]]|}}


  |  
  |