Template:HPB-CW-comment: Difference between revisions

From Teopedia
m (+‘view’ parameter)
m (default = span)
 
Line 10: Line 10:
where view could be one of the following^
where view could be one of the following^
* '''center''' -- uses tag <nowiki><p></nowiki> with text align = center
* '''center''' -- uses tag <nowiki><p></nowiki> with text align = center
* '''footnote''' -- uses tag <nowiki><span></nowiki>
* '''footnote''' -- uses tag <nowiki><span></nowiki> (default)
* if nothing is set, uses tag <nowiki><div></nowiki>


On every option text color is grey.
On every option text color is grey.
Line 24: Line 23:
</noinclude><includeonly>{{#switch: {{{view|}}}  
</noinclude><includeonly>{{#switch: {{{view|}}}  
  | center = <p style="color: grey; text-align: center;">{{{1|}}}</p>  
  | center = <p style="color: grey; text-align: center;">{{{1|}}}</p>  
  | footnote = <span style="color: grey;">{{{1|}}}</span>
  | footnote  
  | #default = <div style="color: grey;">{{{1|}}}</div>
  | #default = <span style="color: grey;">{{{1|}}}</span>
}}</includeonly>
}}</includeonly>

Latest revision as of 12:29, 14 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> (default)

On every option text color is grey.


Example:

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