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
(added option for longer quotes)
 
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: 0em; text-align: right;font: bold 4em 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><div style="font-style: italic">{{{1|Quoted text.}}}
+
<td style="{{#ifeq:{{{long|}}}|y|width:100%; padding:1em; |font-style: italic}}">{{{1|Quoted text.}}}
</div>
 
 
</td>
 
</td>
<td style="margin-left: -0.2em; text-align: left;font: bold 4em 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>
Line 13: Line 12:
 
==Usage==
 
==Usage==
 
<pre>{{Quotation|<text>}}</pre>
 
<pre>{{Quotation|<text>}}</pre>
 +
{{Quotation|<text>}}
 +
 +
<pre>{{Quotation|long=y|<text>}}</pre>
 +
{{Quotation|long=y|<text>}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 17:50, 6 June 2015

Quoted text.

Usage

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