Template:Quote: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
See [[Template:Quote/doc]] for documentation on this template.
See [[Template:Quote/doc]] for documentation on this template.
</noinclude><onlyinclude><includeonly>
</noinclude><onlyinclude><includeonly>
{{ #switch: {{{style}}}
{{ #switch: {{{test}}}
| 1 = {{{!}} cellspacing="4" cellpadding="4" style="width: {{{width|auto}}}; border: 1px solid #aaa; font-size: 90%; padding: 4px; {{ #switch: {{{align}}}
| alt1 = {{{!}} cellspacing="4" cellpadding="4" style="width: {{{width|auto}}}; border: 1px solid #aaa; font-size: 90%; padding: 4px; {{ #switch: {{{align}}}
   | left = margin: 0.5em 1.4em 0.8em 0; float: left; clear: left;
   | left = margin: 0.5em 1.4em 0.8em 0; float: left; clear: left;
   | center = margin: 0.5em auto 0.8em;
   | center = margin: 0.5em auto 0.8em;
Line 11: Line 11:
{{!}} style="text-align:left;" {{!}} <div>{{{quote|{{{1}}} }}}</div>{{#if:{{{source|{{{2|}}} }}}|<div style="text-align:right;">&mdash;{{{source|{{{2}}} }}}</div>
{{!}} style="text-align:left;" {{!}} <div>{{{quote|{{{1}}} }}}</div>{{#if:{{{source|{{{2|}}} }}}|<div style="text-align:right;">&mdash;{{{source|{{{2}}} }}}</div>
{{!}}}
{{!}}}
| 2 = {{{!}} cellspacing="0" cellpadding="2" style="text-align:center; background-color:#FFEEBD; border: solid 1px #000000; width: 70%"
| alt2 = {{{!}} cellspacing="0" cellpadding="2" style="text-align:center; background-color:#FFEEBD; border: solid 1px #000000; width: 70%"
! style="text-align:left; font-weight:normal; padding-left:5px;" {{!}} '''''Quote'''''
! style="text-align:left; font-weight:normal; padding-left:5px;" {{!}} '''''Quote'''''
{{#if: {{{source|}}} | :{{{source}}} }}
{{#if: {{{source|}}} | :{{{source}}} }}

Revision as of 13:18, 15 July 2010

See Template:Quote/doc for documentation on this template.