Template:Quote: Difference between revisions
mNo edit summary |
m 40 revisions: importing Template namespace from Wikia |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{/doc}} | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
{{ #switch: {{{style}}} | {{ #switch: {{{style}}} | ||
| 2 = {{{!}} cellspacing="0" cellpadding="2" style="text-align:center; background-color:#FFEEBD; border: solid 1px #000000; width:70%; {{ #switch: {{{align}}} | | 2 = {{{!}} cellspacing="0" cellpadding="2" style="text-align:center; background-color:#{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|FFEEBD}}; border: solid 1px #000000; width:70%; {{ #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; | ||
| margin: 0.5em 0 0.8em 1.4em; float: right; clear: right; | | margin: 0.5em 0 0.8em 1.4em; float: right; clear: right; | ||
}}" | | #default = margin: 0.5em auto 0.8em; | ||
}}-moz-border-radius:6px; -webkit-border-radius:6px; " | |||
{{!}}- | {{!}}- | ||
{{!}} style="text-align:left; font-weight:normal; padding-left:5px;" {{!}} '''''Quote''''' | {{!}} style="text-align:left; font-weight:normal; padding-left:5px;" {{!}} '''''Quote''''' | ||
{{#if: {{{source|}}}| | {{#if: {{{source|}}}| | ||
{{!}} style="text-align:right; font-weight:normal; font-size:75%;" {{!}} {{{source}}} {{#if:{{{console|}}}| ({{{console}}}) }} }} | {{!}} style="text-align:right; font-weight:normal; font-size:75%;color:#{{#if:{{{color|}}}|{{{color}}}|000000}}" {{!}} {{{source}}} {{#if:{{{console|}}}| ({{{console}}}) }} }} | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding-bottom:5px; font-weight:normal;" colspan="2" {{!}} ''"{{{quote}}}"'' | {{!}} style="padding-bottom:5px; font-weight:normal; color:#{{#if:{{{color|}}}|{{{color}}}|000000}}" colspan="2" {{!}} ''"{{{quote}}}"'' | ||
{{!}}} | {{!}}} | ||
| 1 | | 1 | ||
| #default = {{{!}} cellspacing="4" cellpadding="4" style="border: 1px solid #aaa; font-size: 90%; padding: 4px; background: # | | #default = {{{!}} cellspacing="4" cellpadding="4" style="border: 1px solid #aaa; font-size: 90%; padding: 4px; background: #{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|F9F9F9}}; {{ #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; | ||
| margin: 0.5em 0 0.8em 1.4em; float: right; clear: right; | | margin: 0.5em 0 0.8em 1.4em; float: right; clear: right; | ||
}}" | | #default = margin: 0.5em auto 0.8em; | ||
}}-moz-border-radius:6px; -webkit-border-radius:6px; " | |||
{{!}}- | {{!}}- | ||
{{!}} style="text-align:left;" {{!}} {{{quote}}} | {{!}} style="text-align:left; color:#{{#if:{{{color|}}}|{{{color}}}|000000}}" {{!}} "{{{quote}}}" | ||
{{#if:{{{source|}}}| | {{#if:{{{source|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} style="text-align:right;" {{!}} —{{{source}}} }} {{#if:{{{console|}}}| ({{{console}}}) }} | {{!}} style="text-align:right;color:#{{#if:{{{color|}}}|{{{color}}}|000000}}" {{!}} —{{{source}}} }} {{#if:{{{console|}}}| ({{{console}}}) }} | ||
{{!}}} }} | {{!}}} }} | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> | ||