Template:PrettyQuote/doc
From WikiEducator
A pretty way to display quotes.
Contents
Usage
The markup on the left produces the quote on the right:
"Learning is finding out what you already know. Doing is demonstrating that you know it. Teaching is reminding others that they know just as well as you. You are all learners, doers, and teachers."
|
(Richard Bach, Illusions) |
{{PrettyQuote |theme=blues |width=45 |align=right |theQuote= "Learning is finding out what you already know. Doing is demonstrating that you know it. Teaching is reminding others that they know just as well as you. You are all learners, doers, and teachers." |author=Richard Bach |source=Illusions }}
Parameters
- theme - a colour scheme for the pattern indicated with a theme name (see 'Themes' below)
- width - an integer indicating the width as a percentage of screen space available
- theQuote - the text of the quote, no quotes and no formatting predefined
- author - name of the author. If not specified the word "unknown" will be dispayed.
- source - an optional parameter indicating the source.
Themes
The theme parameter is the name of a theme defined in template {{Box-theme}}. Available themes are illustrated here.
To create a new theme edit template {{Box-theme}}. Last time I checked this template was protected (let me know if you want a new theme to be included or create a separate theme template).
See Also
- {{LinedQuote}}
Tests
No theme, no align, no width:
"Text of the quote ..."
|
(A.N. Author, The Source Book) |
To Do
- Consider a general style parameter or two.