Template:Quote: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
==Syntax==
==Syntax==
The template can have '''2''' to '''4 parameters''':
The template can have '''2''' to '''4 parameters''':
#{{m|<nowiki>quote|<user>|<quote></nowiki>}} - User with his quote.
#{{m|quote|<user>|<quote>}} - User with his quote.
#{{m|<nowiki>quote|<user>|<quote>|<source></nowiki>}} - Add a right-aligned reference.
#{{m|quote|<user>|<quote>|<source>}} - Add a right-aligned reference.
#{{m|<nowiki>quote|<#>|<user>|<quote>|<source></nowiki>}} - Indentation only for quotes with <source>.
#{{m|quote|<#>|<user>|<quote>|<source>}} - Indentation only for quotes with <source>.


        '''<#>''' =  Number '''0''' (min) to '''6''' (max), defines indentation level.
     '''<user>''' =  The name (nick) of the user you are quoting.
     '''<user>''' =  The name (nick) of the user you are quoting.
     '''<quote>''' =  The user's quoted text.
     '''<quote>''' =  The user's quoted text.
   '''<source>''' =  From where the quote originated, usually add a reference link.
   '''<source>''' =  From where the quote originated, usually add a reference link.
        '''<#>''' =  Number '''0''' (min) to '''6''' (max), defines indentation level.


{{eyecatch|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)!}}
{{eyecatch|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)!}}

Revision as of 23:37, 6 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|DerIdiot|...}}
DerIdiot ...
{{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> 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