Difference between revisions of "Template:Store row"

From Team Fortress Wiki
Jump to: navigation, search
m
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#if:{{{1|}}}|{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}}{{item icon|item={{{1}}}|icon-size=75x75px}}|{{!}} colspan=12 rowspan=3 {{!}}}}
+
<includeonly>{{#if: {{{1|}}} |
{{#if:{{{2|}}}|{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}}{{item icon|item={{{2}}}|icon-size=75x75px}}|{{!}} colspan=9 rowspan=3 {{!}}}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{1}}}.png|75x75px|link={{{1}}}{{if lang}}]]
{{#if:{{{3|}}}|{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}}{{item icon|item={{{3}}}|icon-size=75x75px}}|{{!}} colspan=6 rowspan=3 {{!}}}}
+
{{#if: {{{2|}}} |
{{#if:{{{4|}}}|{{!}} colspan=3 style="background-color:#FFDDAD; width:25%" {{!}}{{item icon|item={{{4}}}|icon-size=75x75px}}|{{!}} colspan=3 rowspan=3 {{!}}}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{2}}}.png|75x75px|link={{{2}}}{{if lang}}]]
|-
+
{{#if: {{{3|}}} |
{{#if:{{{1|}}}|{{!}} colspan=3{{!}}[[{{{1}}}]]}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{3}}}.png|75x75px|link={{{3}}}{{if lang}}]]
{{#if:{{{2|}}}|{{!}} colspan=3{{!}}[[{{{2}}}]]}}
+
{{#if: {{{4|}}} |
{{#if:{{{3|}}}|{{!}} colspan=3{{!}}[[{{{3}}}]]}}
+
{{!}} style="background-color:#FFDDAD; width:25%" {{!}} [[File:Item icon {{{4}}}.png|75x75px|link={{{4}}}{{if lang}}]]
{{#if:{{{4|}}}|{{!}} colspan=3{{!}}[[{{{4}}}]]}}
+
}} }} }} }}
|-
+
{{#if: {{{4|}}} | <!-- INSERT NO NEW CELLS -->
{{#if:{{{1|}}}|{{!}} {{Item price|USD|{{{1}}}}}{{!!}}{{Item price|GBP|{{{1}}}}}{{!!}}{{Item price|EUR|{{{1}}}}}}}
+
| {{#if: {{{3|}}} | <!-- INSERT ONE WIDE BLOCK -->
{{#if:{{{2|}}}|{{!}} {{Item price|USD|{{{2}}}}}{{!!}}{{Item price|GBP|{{{2}}}}}{{!!}}{{Item price|EUR|{{{2}}}}}}}
+
{{!}} rowspan=3 {{!}} &nbsp;
{{#if:{{{3|}}}|{{!}} {{Item price|USD|{{{3}}}}}{{!!}}{{Item price|GBP|{{{3}}}}}{{!!}}{{Item price|EUR|{{{3}}}}}}}
+
| {{#if: {{{2|}}} | <!-- INSERT TWO WIDE BLOCK -->
{{#if:{{{4|}}}|{{!}} {{Item price|USD|{{{4}}}}}{{!!}}{{Item price|GBP|{{{4}}}}}{{!!}}{{Item price|EUR|{{{4}}}}}}}
+
{{!}} colspan=2 rowspan=3 {{!}} &nbsp;
 +
| {{#if: {{{1|}}} | <!-- INSERT THREE WIDE BLOCK -->
 +
{{!}} colspan=3 rowspan=3 {{!}} &nbsp;
 +
| <!--- NO PARAMETERS PASSED --> }} }} }} }}
 +
|- style="font-weight:bold;"
 +
{{#if: {{{1|}}} |
 +
{{!}} {{#if:{{{no-link-1|}}}|{{item name|{{{1}}}}}|{{item link|{{{1}}}}}}}
 +
{{#if: {{{2|}}} |
 +
{{!}} {{#if:{{{no-link-2|}}}|{{item name|{{{2}}}}}|{{item link|{{{2}}}}}}}
 +
{{#if: {{{3|}}} |
 +
{{!}} {{#if:{{{no-link-3|}}}|{{item name|{{{3}}}}}|{{item link|{{{3}}}}}}}
 +
{{#if: {{{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.