Difference between revisions of "Template:Prettyblockquote"

From NoskeWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- begin Prettyblockquote--><blockquote style="background: white; border: 1px solid rgb(153, 153, 153); padding: 1em; width: {{{width|100%}}};"><!-- end Prettyblockquote --><noinclude>
+
<!-- begin Prettyblockquote--><blockquote style="border: 1px solid rgb(153, 153, 153); padding: 1em; width: {{{width|90%}}}; background: {{{background|white}}};"><!-- end Prettyblockquote --><noinclude>
 
</blockquote>
 
</blockquote>
  
Line 20: Line 20:
 
{{Prettyblockquote_end}}
 
{{Prettyblockquote_end}}
  
{{Prettyblockquote|width=200px}}
+
{{Prettyblockquote|width=300px|background=#f3f3f3}}
In this one we added "|width=200px"
+
In this one we added "|width=300px|background=#f3f3f3"
 
{{Prettyblockquote_end}}
 
{{Prettyblockquote_end}}
  

Latest revision as of 23:08, 13 October 2023


This template is for a pretty block quote. Use it like this:


{{Prettyblockquote}}
Now write stuff inside and end with a closing tag or:
{{Prettyblockquote_end}}

To give:


Now write stuff inside and end with a closing tag or:

In this one we added "|width=300px|background=#f3f3f3"


... NOTE: You can also end it with: </blockquote>