This is your site for solutions. Please contribute your knowledge, leave a note, support Appropedia or let the world know about this resource.

Template:Quotebox

From Appropedia

Jump to: navigation, search

Contents

[edit] This template is not ready for use

For a start, why does the {{#ifeq: work in Wikipedia but not in Appropedia, displayed as nowiki text??

{{#ifeq:{{{align}}}|center|
}}{|width="{{{width}}}" align="right" cellspacing="4" cellpadding="4" style="border: 2px solid #aaa; font-size: 90%; padding: 4px; margin: 0 1em; margin-{{{align}}}:0; background-color: #f9f9f9;clear:{{{align}}};"

|- |align="center"|{{{quote}}}
—{{{source}}}

|}{{#ifeq:{{{align}}}|center|
}}

[edit] Usage

{{quotebox|align=right|size=250px|quote=I am Andrew Ryan and I am here to ask you a question:<br>Is a man not entitled to the sweat of his own brow?<br><br>No, says the man in Washington. It belongs to the poor.<br>No, says the man in the Vatican. It belongs to God.<br>No, says the man in Moscow. It belongs to everyone.<br><br>I rejected those answers. Instead, I chose something<br>different. I chose the impossible. I chose…<br><center>'''''Rapture'''''.</center>|source=Andrew Ryan}}

produces:


{{#ifeq:right|center|
}}{|width="{{{width}}}" align="right" cellspacing="4" cellpadding="4" style="border: 2px solid #aaa; font-size: 90%; padding: 4px; margin: 0 1em; margin-right:0; background-color: #f9f9f9;clear:right;"

|-

|align="center"|I am Andrew Ryan and I am here to ask you a question:
Is a man not entitled to the sweat of his own brow?

No, says the man in Washington. It belongs to the poor.
No, says the man in the Vatican. It belongs to God.
No, says the man in Moscow. It belongs to everyone.

I rejected those answers. Instead, I chose something
different. I chose the impossible. I chose…
<center>
Rapture.

—Andrew Ryan

|}{{#ifeq:right|center|</center>}}

[edit] Where to use

For userboxes and to make pages nicer looking. More functional quote templates for use as part of the body of the article are found at... (Category:Quotation templates?)

[edit] Attribution

This page is copied from Wikipedia:Template:Quotebox. Some modifications will be tried out to make it simpler to use (e.g. not required HTML break tags).

Please add this page to one or more categories. See Appropedia:Categorization for more information on categories.
Personal tools