Difference between revisions of "Template:Quote"

From Kitayume Wiki
Jump to: navigation, search
(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;">&ldquo;</div><div style="position: absolute; top: 70px; right: 0em; color: #DCDCDC; font-size: 1000%; font-family: serif;">&rdquo;</div><blockquote style="max-height: 15em; overflow: auto; margin: 12px 60px 12px 60px;">{{{2|{{color|Red|'''Error. No quote text entered.'''}}}}}</blockquote></div></includeonly><noinclude>
+
<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;">&ldquo;</div><div style="position: absolute; top: 70px; right: 0em; color: #DCDCDC; font-size: 1000%; font-family: serif;">&rdquo;</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

Quote
Error. No quote text entered.

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!}}
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!!}}
Lurker
Sarah
Renegade is a coder-god! I want to FUN him hard!
NO WAY!! O_O

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:

Renegade

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam elit. Cras malesuada. Nulla sed eros. Aenean non libero quis arcu convallis sagittis. Pellentesque gravida lectus eu nulla. Nullam iaculis, lectus vitae laoreet ornare, metus lorem fringilla nisl, et condimentum risus velit id felis. Proin pretium interdum enim. Nullam elementum volutpat neque. Donec magna arcu, scelerisque at, pulvinar et, lacinia sed, lorem. Quisque leo. Praesent sed metus a sem ullamcorper suscipit. Sed vel ligula et tortor iaculis pulvinar. Ut lorem diam, dignissim nec, pellentesque eget, accumsan vel, orci. Nunc rutrum neque at urna. Donec justo..

Ut accumsan est quis lectus. Nullam hendrerit sollicitudin lectus. Donec tristique enim nec sem. Duis dictum mi non ipsum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum felis mauris, scelerisque vel, ultricies sit amet, bibendum quis, nulla. Suspendisse potenti. Fusce ut augue eget mi gravida faucibus. Morbi ac turpis. Morbi vitae arcu vitae sem facilisis tincidunt. Maecenas laoreet nunc sed sem. Maecenas vehicula nisi id est. In nisi ligula, dictum id, blandit eget, molestie id, ligula. Sed augue. Maecenas mi elit, ultrices ac, condimentum vitae, venenatis nec, ante. Nam vestibulum iaculis purus..

Aenean luctus facilisis leo. Curabitur quam ipsum, dignissim ac, laoreet at, convallis nec, ante. Proin sit amet enim. Nam tempor erat et risus. Etiam tempus tempor massa. Morbi tincidunt lobortis tortor. Nunc quis pede. Aliquam nisi tortor, accumsan eu, accumsan id, feugiat id, lorem. In lobortis elit et eros. In pharetra felis ut enim.