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

From Teopedia library
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
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{{!}}{{!}}
 
}}
 
}}
  
Examples:
+
'''Variants:'''
----
+
<pre>
 +
{{Style S-HPB SB. Editors note|some text}}
 +
{{Style S-HPB SB. Editors note|some text|alignment}}
 +
</pre>
 +
 
 +
* '''alignment''' could be: left, center, right. See {{t|Style}} template.
 +
 
 +
 
 +
==Examples==
 +
 
 
1. '''<nowiki>{{Style S-HPB SB. Editors note|Some editor's note}}</nowiki>''':
 
1. '''<nowiki>{{Style S-HPB SB. Editors note|Some editor's note}}</nowiki>''':
 
{{Style S-HPB SB. Editors note|Some note}}
 
{{Style S-HPB SB. Editors note|Some note}}
Line 18: Line 27:
  
 
[[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: #afdafc; font-variant: normal;
  | #default = {{#tag:span style="color: #8B4513; background: #FFE4B5;"|<{{{1|}}}>}}
+
  |allign={{{2|}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 15:45, 16 June 2021

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||}}


Variants:

{{Style S-HPB SB. Editors note|some text}}
{{Style S-HPB SB. Editors note|some text|alignment}}
  • alignment could be: left, center, right. See {{Style}} template.


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>