Template:Quote box: Difference between revisions

Kostas (talk | contribs)
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
  <div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9;">
  <div class="quote-box" style="margin: {{{margin|1em}}} {{{align|auto}}}; width: {{{width|80%}}}; padding: 10px; border: 1px solid #aaa; background-color: #f9f9f9; color: black">
     <blockquote style="margin: 0;">{{{quote|}}}</blockquote>
     <blockquote style="margin: 0;">{{{quote|}}}</blockquote>{{#if:{{{source|}}}| <small>'''- {{{source|}}}'''}}</small>
  </div>
  </div>
</includeonly>
</includeonly>
Line 23: Line 23:
|width=100px
|width=100px
|align=left
|align=left
|quote=Example of an important quote}}
|quote=Example of an important quote
|source=Clinton the CAT}}
</nowiki>
</nowiki>
</pre>
</pre>
Line 30: Line 31:
|width=100px
|width=100px
|align=left
|align=left
|quote=Example of an important quote}}
|quote=Example of an important quote
|source=Clinton the CAT}}
[[Category:Styling templates]]
[[Category:Styling templates]]
== Template Data ==
== Template Data ==
Line 58: Line 60:
"description": "The quote to include in the box",
"description": "The quote to include in the box",
"required": true
"required": true
},
        "source": {
"description": "The name of the source & reference to include in the box",
"required": false
}
}
},
},