Template:HPB-CW-comment: Difference between revisions

From Teopedia
mNo edit summary
m (+‘view’ parameter)
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>
* if nothing is set, uses tag <nowiki><div></nowiki>


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




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

Revision as of 11:05, 10 February 2025

This template highlights comments by Boris de Zirkoff in «H.P. Blavatsky Collected Writtings», placed in main text. His comments in footnotes are marked "—Compiler", and are not highlighted.


To copy:

{{HPB-CW-comment|}}
{{HPB-CW-comment|view=|}}

where view could be one of the following^

  • center -- uses tag <p> with text align = center
  • footnote -- uses tag <span>
  • if nothing is set, uses tag <div>

On every option text color is grey.


Example:

Some text in HPB's article. [B. Zirkoff comment inside.] And text goes on.