Difference between revisions of "Template:Quotebox"
From RRU Knowledge Base
Jessietail (talk | contribs) m |
Jessietail (talk | contribs) |
||
Line 1: | Line 1: | ||
{| 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="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> | ||
Line 6: | Line 6: | ||
------ | ------ | ||
<div style="padding: 5px;">{{{Description|}}}{{{Description from LEGO.com|}}}</div> | <div style="padding: 5px;">{{{Description|}}}{{{Description from LEGO.com|}}}</div> | ||
|}<noinclude> | |}</includeonly><noinclude> | ||
== Usage instructions == | == Usage instructions == | ||
WIP: | WIP: | ||
Line 19: | Line 19: | ||
padding: 0 1em; | 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]]}} | {{#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||{{#declare:shopDescription=Description from LEGO.com}}}} | {{#ifeq: {{{NoSemantic|}}}|1||{{#declare:shopDescription=Description from LEGO.com}}}} | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 18:53, 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||{{#declare:shopDescription=Description from LEGO.com}}}}