Template:Quote: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| style="background: #E8E8E8;" | <includeonly>{{#if: {{{4|}}}|{{indent|{{{1}}}}}|}}{| style="background: #E8E8E8; border: 1px solid #D8D8D8;" | ||
| style="background: | | 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%;" | ''{{{2}}}'' | | style="padding-bottom: 2px; width: 100%;" | ''{{#if: {{{4|}}}|{{{3}}}|{{{2}}}}}'' | ||
| style="white-space:nowrap;" | {{#if: {{{3|}}}|''{{{3}}}''|}} | | style="white-space:nowrap;" | {{#if: {{{4|}}}|{{#switch: {{{4}}} | ||
|}</includeonly><noinclude> | | - = | ||
| ''{{{4}}}'' | |||
{{ | }}|{{#if: {{{3|}}}|''{{{3}}}''|}}}} | ||
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template]]</noinclude> | |||
[[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:
- {{quote|<user>|<quote>}} - User with his quote.
- {{quote|<user>|<quote>|<source>}} - Add a right-aligned reference.
- {{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