Difference between revisions of "Template:Featured Product"

From Rebel Alliance Wiki
Jump to: navigation, search
(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}}
T-Series Tactical Droid
T-Series Tactical Droid
{{Featured Product|Electronic Lock Breaker|Item}}
Electronic Lock Breaker
Electronic Lock Breaker