Template:HPB-CW-comment: Difference between revisions

m
+‘view’ parameter
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>