Difference between revisions of "Template:Q"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
m (Made the usage more clear.)
m
 
Line 1: Line 1:
<noinclude>This is a template for quotes.  Wrap this around quotes you write.  Remember to use the <nowiki><poem></nowiki> tag around your quotes.
<noinclude>{{documentation}}</noinclude><includeonly>{{#if:{{{2|}}}|{{colbegin|{{{2}}}}}|}}<ul class="quotes">
 
'''Usage:'''
<pre>{{q|
<poem>'''Person:''' Line
[...]</poem>
[...]
}}</pre>
 
'''Example:'''
<pre>{{q|
<poem>'''Cubert:'''  I heard alcohol makes you stupid.
'''Fry:'''  No, I'm doesn't...</poem>
<poem>'''Farnsworth:'''  And Fry, you had that brain thing.
'''Fry:'''  I already did.</poem>
}}</pre>
Produces:
{{q|
<poem>'''Cubert:'''  I heard alcohol makes you stupid.
'''Fry:'''  No, I'm doesn't...</poem>
<poem>'''Farnsworth:'''  And Fry, you had that brain thing.
'''Fry:'''  I already did.</poem>
}}</noinclude><includeonly><ul class="quotes">
{{{1}}}
{{{1}}}
</ul></includeonly>
</ul>{{#if:{{{2|}}}|{{colend}}|}}</includeonly>

Latest revision as of 15:54, 19 April 2009

Documentation for {{q}}

Use

This is a template for quotes. Wrap this around quotes you write. Remember to use the <poem> tag around your quotes.

Usage

{{q|
<poem>'''Person''': Line
[...]</poem>
[...]
}}

In addition, a second parameter can be applied to describe how many columns you want your quotes to split up into, which is practical if you are dealing with many quotes.

{{q|
<poem>'''Person''': Line
[...]</poem>
[...]
|2}}

Examples

{{q|
<poem>'''Cubert''':  I heard alcohol makes you stupid.
'''Fry''':  No, I'm doesn't...</poem>
<poem>'''Farnsworth''':  And Fry, you had that brain thing.
'''Fry''':  I already did.</poem>
}}

Produces:

    Cubert: I heard alcohol makes you stupid.
    Fry: No, I'm doesn't...

    Farnsworth: And Fry, you had that brain thing.
    Fry: I already did.

{{q|
<poem>'''Cubert''':  I heard alcohol makes you stupid.
'''Fry''':  No, I'm doesn't...</poem>
<poem>'''Farnsworth''':  And Fry, you had that brain thing.
'''Fry''':  I already did.</poem>
|2}}

Produces:

    Cubert: I heard alcohol makes you stupid.
    Fry: No, I'm doesn't...

    Farnsworth: And Fry, you had that brain thing.
    Fry: I already did.