Difference between revisions of "Template:Quotebox"

From RRU Knowledge Base
Line 1: Line 1:
<includeonly>{| style="margin: .5em 2%; padding: 0 1em; border-top: 1px solid #aaaaaa; border-bottom: 1px solid #aaaaaa; border-right: 1px solid #aaaaaa; border-left: 1px solid #aaaaaa;padding: 5px;background:#F4F4F4;"
<includeonly>{| style="margin: .5em 2%; padding: 0 1em; border-top: 1px solid #aaaaaa; border-bottom: 1px solid #aaaaaa; border-right: 1px solid #aaaaaa; border-left: 1px solid #aaaaaa;padding: 5px;background:#F4F4F4;"
|<div style="padding: 4px;">[[File:{{{Logo|Rruiconsmall.png}}}|16px|alt=|link=]]</div>
|<div style="float:left; padding: 4px;">[[File:{{{Logo|Rruiconsmall.png}}}|16px|alt=|link=]]</div>
|<div style="padding-right: 4px;"><small>This is a description taken from {{{Source|''unspecified source''}}}. Do not modify it. </small></div>
|<div style="padding-right: 4px;"><small>This is a description taken from {{{Source|''unspecified source''}}}. Do not modify it. </small></div>
|-
|-

Revision as of 18:55, 19 August 2017

Usage instructions

WIP:

{| style="margin: .5em 2%; padding: 0 1em; border-top: 1px solid #aaaaaa; border-bottom: 1px solid #aaaaaa; border-right: 1px solid #aaaaaa; border-left: 1px solid #aaaaaa;padding: 5px;background:#F4F4F4;"
|[[File:{{{Logo|16px}}}|alt=|link=]]
|<small>This is a description taken from {{{Source|''insert source here''}}}. Do not modify it.</small> {{#if:{{{URL|}}}|<small>([{{{URL}}} {{#ifeq:{{{Archived}}}|Y|See an archive of the product’s page|{{#ifeq:{{{NotDescription}}}|Y|see the source of this quote|visit this item’s product page}}}}])</small>}}{{#if:{{{Product page URL|}}}|<small>(<span class="plainlinks">[{{{Product page URL}}} {{#ifeq:{{{Archived webpage?(Y, N)}}}|Y|See an archive of the product’s page|{{#ifeq:{{{Not a product description?(Y, N)}}}|Y|see the source of this quote|visit this item's product page}}}}]</span>)</small>}}
|-
| style="font-style"|
------
{{{Description|}}}{{{Description from LEGO.com|}}}
|}

padding: 0 1em; 
{{#if:{{NAMESPACE}}||[[Category:Articles that use descriptions from LEGO.com]]}}{{#if:{{{Product page URL|}}}|[[Category:Pages that link to shop.lego.com]]}}{{Documentation}}
{{#ifeq: {{{NoSemantic|}}}|1||{{(THIS WAS A HASHTAG BUT IT SCREWED UP declare:shopDescription=Description from LEGO.com}}}}