Template:Quote: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (I'm a fixor)
mNo edit summary
 
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| style="background: #E8E8E8;"
<includeonly>{{#if: {{{4|}}}|{{indent|{{{1}}}}}|}}{| style="background: #E8E8E8; border: 1px solid #D8D8D8;"
| style="background: #FFFFFF; padding-bottom: 2px; padding-left: 8px; padding-right: 8px;" | <font color=#000000><b><nobr>[[User:{{{1}}}|{{{1}}}]]</nobr></b></font>
| style="background:white; padding-bottom:2px; padding-left: 8px; padding-right:8px; white-space:nowrap;" | <span style="color: black; font-weight: bold;">[[User:{{#if: {{{4|}}}|{{{2}}}|{{{1}}}}}|{{#if: {{{4|}}}|{{{2}}}|{{{1}}}}}]]</span>
| style="padding-bottom: 2px; width: 100%;" | <i>{{{2}}}</i>
| style="padding-bottom: 2px; width: 100%;" | ''{{#if: {{{4|}}}|{{{3}}}|{{{2}}}}}''
|}
| style="white-space:nowrap;" | {{#if: {{{4|}}}|{{#switch: {{{4}}}
| - =
| ''{{{4}}}''
}}|{{#if: {{{3|}}}|''{{{3}}}''|}}}}
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template]]</noinclude>

Latest revision as of 12:16, 10 May 2009

Should any quoting of longer texts need to be done, use this template.

Syntax

The template can have 2 to 4 parameters:

  1. {{quote|<user>|<quote>}} - User with his quote.
  2. {{quote|<user>|<quote>|<source>}} - Add a right-aligned reference.
  3. {{quote|<#>|<user>|<quote>|<source>}} - Indentation only for quotes with <source>.
    <user> =  The name (nick) of the user you are quoting.
   <quote> =  The user's quoted text.
  <source> =  From where the quote originated, usually add a reference link.
       <#> =  Number 0 (min) to 6 (max), defines indentation level.
Note Due to coding restrictions specification of the indent level is only possible if you define a <source>, if you do not have one, then enter a - (minus) as placeholder (it will be replaced by with nothing)!

Examples

{{quote|Der Idiot|...}}
Der Idiot ...
{{quote|Ninjamask|...|see [http://www.google.com Google] Homepage}}
Ninjamask ... blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah ... see Google Homepage
{{quote|1|Foo2|...|-}} - Indent level 1, <source> = "empty" placeholder - used!
Foo2 blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
{{quote|2|Alien|...|Wikipedia}} - Indent level 2 with <source>!
Alien blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah Wikipedia