Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:Quotation"

From DFO World Wiki
Jump to: navigation, search
(Hurr durr)
(added option for longer quotes)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="margin: 0em 2em 1em ">
+
<div style="{{#ifeq: {{{long|}}}|y|padding: 1em;|margin: 0em 2em 1em;}}">
<table style="border-collapse:collapse" border="0" cellspacing="0" cellpadding="0">
+
<table style="border-collapse:collapse;{{#ifeq: {{{long|}}}|y|border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; |}}" border="0" cellspacing="0" cellpadding="0">
 
<tr>
 
<tr>
<td style="margin-left: -0.2em;padding-right: 0.05em; text-align: right;font: bold 3em Times New Roman, Times, Georgie, serif; color: #AAA;">“</td>
+
<td style="margin-left: -0.2em; padding:0.2em; text-align: right;font: bold 4em Times New Roman, Times, Georgie, serif; color: #AAA;{{#ifeq: {{{long|}}}|y|vertical-align: bottom;padding-right: 0.2em; |padding-right: 0em;}}">{{#ifeq: {{{long|}}}|y|„|“}}</td>
<td>{{{2|Quoted text.}}}
+
<td style="{{#ifeq:{{{long|}}}|y|width:100%; padding:1em; |font-style: italic}}">{{{1|Quoted text.}}}
<div style="text-align: left; font-size: 0.9em;">
 
{{ #switch: {{ lc: {{{1|}}} }}
 
}}
 
</div>
 
 
</td>
 
</td>
<td style="margin-left: -0.2em; text-align: left;font: bold 3em Times New Roman, Times, Georgie, serif; color: #AAA;">”</td>
+
<td style="margin-left: -0.2em; padding:0.2em; text-align: left;font: bold 4em Times New Roman, Times, Georgie, serif; color: #AAA;{{#ifeq: {{{long|}}}|y|vertical-align: top;padding-left: 0.2em; |}}">{{#ifeq: {{{long|}}}|y|“|}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
</div><noinclude>
 
</div><noinclude>
 +
 +
==Usage==
 +
<pre>{{Quotation|<text>}}</pre>
 +
{{Quotation|<text>}}
 +
 +
<pre>{{Quotation|long=y|<text>}}</pre>
 +
{{Quotation|long=y|<text>}}
 +
 +
</noinclude>

Latest revision as of 17:50, 6 June 2015

Quoted text.

Usage

{{Quotation|<text>}}
<text>
{{Quotation|long=y|<text>}}
<text>