Difference between revisions of "Template:Cquote/sandbox1"

From blackwiki
Jump to navigation Jump to search
imported>DESiegel
(copy template code for sandboxing)
 
imported>DESiegel
(version using {{tl|main other}} to call {{tl|quote}})
Line 1: Line 1:
 +
{{main other
 +
|<!-- result if in mainspace -->
 +
{{cquote
 +
| text={{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}} }}} }}} }}} }}}
 +
| author={{{author|{{{2}}} }}}
 +
| title={{{title|{{{3}}} }}}
 +
| source={{{source|{{{4}}} }}}
 +
}}
 +
|<!-- result if elsewhere -->
 
{| class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
 
{| class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
 
   | left = float:left
 
   | left = float:left
Line 23: Line 32:
 
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; line-height:normal; text-align: right;" {{!}} <cite>—&#8202;{{#if:{{{author|{{{personquoted|{{{4|}}}}}}}}}|{{{author|{{{personquoted|{{{4}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|, {{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}|{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|{{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}}}</cite>
 
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; line-height:normal; text-align: right;" {{!}} <cite>—&#8202;{{#if:{{{author|{{{personquoted|{{{4|}}}}}}}}}|{{{author|{{{personquoted|{{{4}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|, {{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}|{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|{{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}}}</cite>
 
}}
 
}}
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
+
|}
 +
|demospace={{{demospace|}}}
 +
}}
 +
<!-- {{subst:FULLPAGENAME}} --><noinclude>
 +
This version of the template converts to {{tl|quote}} in mainspace.
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 00:05, 17 December 2019

{

This version of the template converts to {{quote}} in mainspace.

Template documentation[create]