Difference between revisions of "Template:Featured Product"
(Created page with "<includeonly><!-- -->{{#ifexist:<!-- -->File:Product {{{1}}}.jpg|<!-- -->[[File:Product {{{1}}}.jpg|100px|link=Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]<!-- -->|File:Prod...") |
m |
||
Line 1: | Line 1: | ||
− | <includeonly><!-- | + | <includeonly><div style="padding: 0 10px; width: 120px; vertical-align: top; text-align: center;"> |
+ | <!-- | ||
-->{{#ifexist:<!-- | -->{{#ifexist:<!-- | ||
-->File:Product {{{1}}}.jpg|<!-- | -->File:Product {{{1}}}.jpg|<!-- | ||
-->[[File:Product {{{1}}}.jpg|100px|link=Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]<!-- | -->[[File:Product {{{1}}}.jpg|100px|link=Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]<!-- | ||
-->|[[File:Product {{{1}}}.png|100px|link=Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]}}<!-- | -->|[[File:Product {{{1}}}.png|100px|link=Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]}}<!-- | ||
− | --><br/>[[Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]</includeonly><noinclude> | + | --><br/>[[Library:{{{2}}} Sales#{{{1}}}|{{{1}}}]]<!-- |
+ | --></div></includeonly><noinclude> | ||
===Usage=== | ===Usage=== | ||
<pre><nowiki> | <pre><nowiki> |
Revision as of 14:50, 15 July 2016
Usage
{{Featured Product | <product name> | <product type> }}
Shows an image of the product with a link to the appropriate sales section.
Supported product types: Droid, Ship, Item, Vehicle, Weapon.
Examples
{{Featured Product|T-Series Tactical Droid|Droid}}
{{Featured Product|Electronic Lock Breaker|Item}}