Difference between revisions of "Template:Style S-HPB SB. Editors note"

From Teopedia library
Jump to navigation Jump to search
(design via Style template)
Line 1: Line 1:
 
<noinclude>{{Text for symbol styles
 
<noinclude>{{Text for symbol styles
  | description = '''Editor's note'''. This style is used in [[Blavatsky H.P. Scrapbooks]] to highlight editor's notes. The second optional parameter can set alightment to center or to the right
+
  | description = This style is used in [[Blavatsky H.P. Scrapbooks]] to highlight '''editor's notes'''. The second optional parameter can set text alignment to right, left or center. See {{t|Style}} template.
 
  | modifications = text color; background color
 
  | modifications = text color; background color
 
  | to copy = Style S-HPB SB. Editors note{{!}}{{!}}
 
  | to copy = Style S-HPB SB. Editors note{{!}}{{!}}
Line 18: Line 18:
  
 
[[Category: Templates for HPB SB]]
 
[[Category: Templates for HPB SB]]
</noinclude><includeonly>{{#switch: {{{2|}}}
+
</noinclude><includeonly>{{Style
  | center = <div align=center>{{#tag:span style="color: #8B4513; background: #FFE4B5;"|<{{{1|}}}>}}</div>
+
  |text={{{1|}}}
  | right = <div align=right>{{#tag:span style="color: #8B4513; background: #FFE4B5;"|<{{{1|}}}>}}</div>
+
  |css=color: #8B4513; background: #FFE4B5;
  | #default = {{#tag:span style="color: #8B4513; background: #FFE4B5;"|<{{{1|}}}>}}
+
  |allign={{{2|}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 13:40, 16 June 2020

This symbol style is used to highlight letters or symbols inside paragraph. To highlight whole paragraph use templates for paragraph styles.
This style is used in Blavatsky H.P. Scrapbooks to highlight editor's notes. The second optional parameter can set text alignment to right, left or center. See {{Style}} template.


Modifications:

  • text color
  • background color


To copy:

{{Style S-HPB SB. Editors note||}}


Examples:


1. {{Style S-HPB SB. Editors note|Some editor's note}}: Some note

2. {{Style S-HPB SB. Editors note|Editor's note centered|center}}:

Editor's note centered

3. {{Style S-HPB SB. Editors note|Editor's note at the right|right}}:

Editor's note at the right