Template:HPB-CW-comment: Difference between revisions

m
default = span
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>