Template:Quote: Difference between revisions

1,900 bytes removed ,  10 May 2009
m
no edit summary
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  | ''{{{4}}}''
  | ''{{{4}}}''
}}|{{#if: {{{3|}}}|''{{{3}}}''|}}}}
}}|{{#if: {{{3|}}}|''{{{3}}}''|}}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template]]</noinclude>
Should any quoting of longer texts need to be done, use this template.
 
==Syntax==
The template can have '''2''' to '''4 parameters''':
#{{m|quote{{!}}<user>{{!}}<quote>}} - User with his quote.
#{{m|quote{{!}}<user>{{!}}<quote>{{!}}<source>}} - Add a right-aligned reference.
#{{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.
    '''<quote>''' =  The user's quoted text.
  '''<source>''' =  From where the quote originated, usually add a reference link.
 
{{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)!}}
 
==Examples==
<nowiki>{{quote|DerIdiot|...}}</nowiki>
{{quote|DerIdiot|...}}
 
<nowiki>{{quote|Ninjamask|...|see [http://www.google.com Google] Homepage}}</nowiki>
{{quote|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 [http://www.google.com Google] Homepage}}
 
<nowiki>{{quote|1|Foo2|...|-}}</nowiki> - Indent level 1, <source> placeholder - used!
{{quote|1|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|-}}
 
<nowiki>{{quote|2|Alien|...|Wikipedia}}</nowiki> - Indent level 2 with <source>!
{{quote|2|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}}
 
[[Category:Template]]</noinclude>
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.