Difference between revisions of "Template:Store row"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} |
+
<includeonly>{{#if: {{{1|}}} |
{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}} {{item icon|item={{{1}}}|icon-size=75x75px}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{1}}}.png|75x75px|link={{{1}}}{{if lang}}]]
 
{{#if: {{{2|}}} |
 
{{#if: {{{2|}}} |
{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}} {{item icon|item={{{2}}}|icon-size=75x75px}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{2}}}.png|75x75px|link={{{2}}}{{if lang}}]]
 
{{#if: {{{3|}}} |
 
{{#if: {{{3|}}} |
{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}} {{item icon|item={{{3}}}|icon-size=75x75px}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{3}}}.png|75x75px|link={{{3}}}{{if lang}}]]
 
{{#if: {{{4|}}} |
 
{{#if: {{{4|}}} |
{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}} {{item icon|item={{{4}}}|icon-size=75x75px}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{4}}}.png|75x75px|link={{{4}}}{{if lang}}]]
 
}} }} }} }}
 
}} }} }} }}
 
{{#if: {{{4|}}} | <!-- INSERT NO NEW CELLS -->
 
{{#if: {{{4|}}} | <!-- INSERT NO NEW CELLS -->
 
| {{#if: {{{3|}}} | <!-- INSERT ONE WIDE BLOCK -->
 
| {{#if: {{{3|}}} | <!-- INSERT ONE WIDE BLOCK -->
{{!}} colspan=3 rowspan=3 {{!}} &nbsp;
+
{{!}} rowspan=3 {{!}} &nbsp;
 
| {{#if: {{{2|}}} | <!-- INSERT TWO WIDE BLOCK -->
 
| {{#if: {{{2|}}} | <!-- INSERT TWO WIDE BLOCK -->
{{!}} colspan=6 rowspan=3 {{!}} &nbsp;
+
{{!}} colspan=2 rowspan=3 {{!}} &nbsp;
 
| {{#if: {{{1|}}} | <!-- INSERT THREE WIDE BLOCK -->
 
| {{#if: {{{1|}}} | <!-- INSERT THREE WIDE BLOCK -->
{{!}} colspan=9 rowspan=3 {{!}} &nbsp;
+
{{!}} colspan=3 rowspan=3 {{!}} &nbsp;
 
| <!--- NO PARAMETERS PASSED --> }} }} }} }}
 
| <!--- NO PARAMETERS PASSED --> }} }} }} }}
|-
+
|- style="font-weight:bold;"
{{#if: {{{1|}}} |
 
{{!}} colspan=3 {{!}} [[{{{1}}}]]
 
{{#if: {{{2|}}} |
 
{{!}} colspan=3 {{!}} [[{{{2}}}]]
 
{{#if: {{{3|}}} |
 
{{!}} colspan=3 {{!}} [[{{{3}}}]]
 
{{#if: {{{4|}}} |
 
{{!}} colspan=3 {{!}} [[{{{4}}}]]
 
}} }} }} }}
 
|-
 
 
{{#if: {{{1|}}} |
 
{{#if: {{{1|}}} |
{{!}} {{Item price|USD|item={{{1}}}}} {{!!}} {{Item price|GBP|item={{{1}}}}} {{!!}} {{Item price|EUR|item={{{1}}}}}
+
{{!}} {{#if:{{{no-link-1|}}}|{{item name|{{{1}}}}}|{{item link|{{{1}}}}}}}
 
{{#if: {{{2|}}} |
 
{{#if: {{{2|}}} |
{{!}} {{Item price|USD|item={{{2}}}}} {{!!}} {{Item price|GBP|item={{{2}}}}} {{!!}} {{Item price|EUR|item={{{2}}}}}
+
{{!}} {{#if:{{{no-link-2|}}}|{{item name|{{{2}}}}}|{{item link|{{{2}}}}}}}
 
{{#if: {{{3|}}} |
 
{{#if: {{{3|}}} |
{{!}} {{Item price|USD|item={{{3}}}}} {{!!}} {{Item price|GBP|item={{{3}}}}} {{!!}} {{Item price|EUR|item={{{3}}}}}
+
{{!}} {{#if:{{{no-link-3|}}}|{{item name|{{{3}}}}}|{{item link|{{{3}}}}}}}
 
{{#if: {{{4|}}} |
 
{{#if: {{{4|}}} |
{{!}} {{Item price|USD|item={{{4}}}}} {{!!}} {{Item price|GBP|item={{{4}}}}} {{!!}} {{Item price|EUR|item={{{4}}}}}
+
{{!}} {{#if:{{{no-link-1|}}}|{{item name|{{{4}}}}}|{{item link|{{{4}}}}}}}
 
}} }} }} }}
 
}} }} }} }}
 
|-
 
|-
 +
</includeonly><noinclude>
 +
== Usage ==
 +
Previously used on [[Mann Co. Store]], now used on [[Previously purchasable items]] via transclusion in {{tl|Storepreviouslypurchasable}}. It bears resemblance to {{tl|Store row prices}}, but is independent.
 +
<br>The extra parameters <code>no-link-1</code>, <code>no-link-2</code>, <code>no-link-3</code>, and <code>no-link-4</code> allow the removal of item links from the items in question.</noinclude>

Latest revision as of 14:15, 22 July 2012

Usage

Previously used on Mann Co. Store, now used on Previously purchasable items via transclusion in {{Storepreviouslypurchasable}}. It bears resemblance to {{Store row prices}}, but is independent.
The extra parameters no-link-1, no-link-2, no-link-3, and no-link-4 allow the removal of item links from the items in question.