Changes

Jump to navigation Jump to search
m
Pavel Malakhov moved page Template:HPB-SB-item to Template:HPB-SB-item (obsolete, without Lua) without leaving a redirect
Line 13: Line 13:  
  | type =  
 
  | type =  
 
  | file =
 
  | file =
 +
| image size =
 +
| image position =
 
  | status =  
 
  | status =  
 
  | continues =  
 
  | continues =  
Line 36: 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 55: Line 58:     
[[Category: Templates for HPB SB]]
 
[[Category: Templates for HPB SB]]
 +
[[t-ru-lib:ЕПБ-ЛА элемент]]
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
   PREPEAR TITLE considering type and status
 
   PREPEAR TITLE considering type and status
Line 65: 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|}}} }} }} [[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}}}]]|}}
    
  |  
 
  |  
Line 80: Line 84:  
}}<!--
 
}}<!--
 
   Show additional information
 
   Show additional information
-->{{#if: {{{author|}}}|{{Style S-HPB SB. Editors note|<small>by {{{author}}}{{#if: {{{author signed|}}}| (signed: {{{author signed}}})|}}</small>|center}}|}}<!--
+
-->{{#if: {{{hide|}}}| <!-- show nothing -->|<div style="font-size: 85%; width: 80%; text-align: center; margin: 0 auto;">{{Style S-HPB SB. Editors note| {{#if: {{{author|}}}| '''author:''' {{{author}}}|}} {{#if: {{{author signed|}}}|&#32; (signed: {{{author signed}}})|}} {{#if: {{{source title|}}}| '''source:''' ''{{{source title}}}'' |}} {{#if: {{{source details|}}}|, {{{source details}}}|}} {{#if: {{{notes|}}}| '''notes:''' {{{notes}}}|}} |}}</div><!--
-->{{#if: {{{source title|}}}|{{Style S-HPB SB. Editors note|<small>{{{source title}}}{{#if: {{{source details|}}}|, {{{source details}}}|}}</small>|center}}|}}<!--
+
--><div style="width: 100%; margin-top: 1em;"></div>}}<!-- bottom margin 
-->{{#if: {{{notes|}}}|{{Style S-HPB SB. Editors note|<small>{{{notes}}}</small>|center}}|}}<!--
      
   See if it needs PROOFREADING
 
   See if it needs PROOFREADING

Navigation menu