Template:HPB-CW-comment: Difference between revisions

m
default = span
(Created page with "<noinclude>This template highlights comments by Boris de Zirkoff in «H.P. Blavatsky Collected Writtings», placed in main text. His comments in footnotes are marke...")
 
m (default = span)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:


'''To copy''':
'''To copy''':
<pre>{{HPB-CW-comment|}}</pre>
<pre>
{{HPB-CW-comment|}}
{{HPB-CW-comment|view=|}}
</pre>


where view could be one of the following^
* '''center''' -- uses tag <nowiki><p></nowiki> with text align = center
* '''footnote''' -- uses tag <nowiki><span></nowiki> (default)


'''Usage''':
On every option text color is grey.
<pre>{{HPB-CW-comment|Comment}}</pre>




Line 14: Line 19:
Some text in HPB's article. <span style="color: grey;">[B. Zirkoff comment inside.]</span> And text goes on.  
Some text in HPB's article. <span style="color: grey;">[B. Zirkoff comment inside.]</span> And text goes on.  


 
[[Category: Templates for BCW]]
</noinclude><includeonly><span style="color: grey;">{{{1|}}}</span></includeonly>
[[t-ru-lib:Шаблон:CCЕПБ. Комментарий]]
</noinclude><includeonly>{{#switch: {{{view|}}}
| center = <p style="color: grey; text-align: center;">{{{1|}}}</p>
| footnote
| #default = <span style="color: grey;">{{{1|}}}</span>
}}</includeonly>