Difference between revisions of "Template:Quote"
From Kitayume Wiki
(Created page with "<div style="padding: 4px; margin-right: 3em; margin-bottom: 0.8em; color: #222222; overflow: hidden; position: relative; top: 0px; left: 0px; border-bottom: 1px solid #B8D1EF;"><...") |
|||
Line 1: | Line 1: | ||
− | <div style="padding: 4px; margin-right: 3em; margin-bottom: 0.8em; color: #222222; overflow: hidden; position: relative; top: 0px; left: 0px; border-bottom: 1px solid #B8D1EF;"><div style="font-weight: bold; background-color: #B8D1EF; padding-left: 2px; padding-bottom: 2px;">''{{ #if: {{{1|}}} | {{{1}}} said:|Quote}}''</div><div style="position: absolute; top: 70px; left: 0em; color: #DCDCDC; font-size: 1000%; font-family: serif;">“</div><div style="position: absolute; top: 70px; right: 0em; color: #DCDCDC; font-size: 1000%; font-family: serif;">”</div><blockquote style="max-height: 15em; overflow: auto; margin: 12px 60px 12px 60px;">{{{2|{{color|Red|'''Error. No quote text entered.'''}}}}}</blockquote></div | + | <div style="padding: 4px; margin-right: 3em; margin-bottom: 0.8em; color: #222222; overflow: hidden; position: relative; top: 0px; left: 0px; border-bottom: 1px solid #B8D1EF;"><div style="font-weight: bold; background-color: #B8D1EF; padding-left: 2px; padding-bottom: 2px;">''{{ #if: {{{1|}}} | {{{1}}} said:|Quote}}''</div><div style="position: absolute; top: 70px; left: 0em; color: #DCDCDC; font-size: 1000%; font-family: serif;">“</div><div style="position: absolute; top: 70px; right: 0em; color: #DCDCDC; font-size: 1000%; font-family: serif;">”</div><blockquote style="max-height: 15em; overflow: auto; margin: 12px 60px 12px 60px;">{{{2|{{color|Red|'''Error. No quote text entered.'''}}}}}</blockquote></div><noinclude> |
==Usage== | ==Usage== | ||
<pre>{{quote|author|text}}</pre> | <pre>{{quote|author|text}}</pre> |
Revision as of 02:18, 18 January 2012
Usage
{{quote|author|text}}
As usual, if "text" includes equals signs, either escape them, or initiate that part with "2=". To nest quotes, you also have to prefix with "2="
Example
{{quote|Sarah|Renegade is a coder-god! I want to FUN him hard!}}
:{{quote|Lurker|2={{quote|Sarah|Renegade is a coder-god! I want to FUN him hard!}}NO WAY!!}}
Long quotes
Long quotes are displayed differently depending on which browser you are on. Browsers supporting certain style commands (e.g. Firefox) will limit the quote to around 10 lines length, and then offer a scrollbar for the rest. Browsers without support for these elements (e.g. Internet Explorer 6) will display the quote in full. Below is an example of a long quote, so you can see how it will be displayed in your browser: