Difference between revisions of "User:RJackson/Sandbox/Template:Blueprint"

From Team Fortress Wiki
Jump to: navigation, search
(Adding 12 ingredient slots, and testing alternate formatting.)
 
m
 
(14 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1}}}{{if lang}}|{{{ingredient-1-local|{{{ingredient-1}}}}}}]]|Ingredient 1}}
 
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1}}}{{if lang}}|{{{ingredient-1-local|{{{ingredient-1}}}}}}]]|Ingredient 1}}
 
|
 
|
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2}}}{{if lang}}|{{{ingredient-2-local|{{{ingredient-2}}}}}}]]|Ingredient 2}}
+
{{#if: {{{ingredient-2|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-2|}}}{{if lang}}|{{{ingredient-2-local|{{{ingredient-2}}}}}}]]
 +
    {{!}}
 +
    {{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{{ingredient-3-local|{{{ingredient-3}}}}}}]]
 +
        {{!}}
 +
        {{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-4|}}}{{if lang}}|{{{ingredient-4-local|{{{ingredient-4}}}}}}]]
 +
            {{!}}
 +
            {{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{{ingredient-5-local|{{{ingredient-5}}}}}}]]
 +
                {{!}}
 +
                {{#if: {{{ingredient-6|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-6|}}}{{if lang}}|{{{ingredient-6-local|{{{ingredient-6}}}}}}]]
 +
}}}}}}}}}}
 
|
 
|
{{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{{ingredient-3-local|{{{ingredient-3}}}}}}]]
+
|{{#if: {{{ingredient-7|}}} |{{!}}| style="background-color: #FFDD99;" {{!}} {{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{{result-local|{{{result}}}}}}]]|Result}}}}
{{!}}
 
{{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-4|}}}{{if lang}}|{{{ingredient-4-local|{{{ingredient-4}}}}}}]]
 
{{!}}
 
{{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{{ingredient-5-local|{{{ingredient-5}}}}}}]]
 
{{!}}
 
{{#if: {{{ingredient-6|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-6|}}}{{if lang}}|{{{ingredient-6-local|{{{ingredient-6}}}}}}]]
 
{{!}}}}}}}}
 
{{#if: {{{ingredient-7}}} ||
 
| style="background-color: #FFDD99;" | {{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{{result-local|{{{result}}}}}}]]|Result}}
 
}}
 
 
|-
 
|-
 
| [[Image:Item icon {{{ingredient-1|Unknown}}}.png|text-top|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=16px|color=#292625}}}}
 
| [[Image:Item icon {{{ingredient-1|Unknown}}}.png|text-top|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=16px|color=#292625}}}}
| {{TF2B|text=+|size=65px|color=#292625}}
+
| {{#if: {{{ingredient-2|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
| [[Image:Item icon {{{ingredient-2|Unknown}}}.png|text-top|100x100px|link={{{ingredient-2|}}}{{if lang}}]]{{#if: {{{ingredient-2-amount|}}}|{{TF2B|text=x{{{ingredient-2-amount}}}|size=16px|color=#292625}}}}
+
    {{!}} [[Image:Item icon {{{ingredient-2|}}}.png|text-top|100x100px|link={{{ingredient-2|}}}{{if lang}}]]{{#if: {{{ingredient-2-amount|}}}|{{TF2B|text=x{{{ingredient-2-amount}}}|size=16px|color=#292625}}}}
{{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
    {{!}} {{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
{{!}} [[Image:Item icon {{{ingredient-3|}}}.png|text-top|100x100px|link={{{ingredient-3|}}}{{if lang}}]]{{#if: {{{ingredient-3-amount|}}}|{{TF2B|text=x{{{ingredient-3-amount}}}|size=16px|color=#292625}}}}
+
        {{!}} [[Image:Item icon {{{ingredient-3|}}}.png|text-top|100x100px|link={{{ingredient-3|}}}{{if lang}}]]{{#if: {{{ingredient-3-amount|}}}|{{TF2B|text=x{{{ingredient-3-amount}}}|size=16px|color=#292625}}}}
{{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
        {{!}} {{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
{{!}} [[Image:Item icon {{{ingredient-4|}}}.png|text-top|100x100px|link={{{ingredient-4|}}}{{if lang}}]]{{#if: {{{ingredient-4-amount|}}}|{{TF2B|text=x{{{ingredient-4-amount}}}|size=16px|color=#292625}}}}
+
            {{!}} [[Image:Item icon {{{ingredient-4|}}}.png|text-top|100x100px|link={{{ingredient-4|}}}{{if lang}}]]{{#if: {{{ingredient-4-amount|}}}|{{TF2B|text=x{{{ingredient-4-amount}}}|size=16px|color=#292625}}}}
{{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
            {{!}} {{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
{{!}} [[Image:Item icon {{{ingredient-5|}}}.png|text-top|100x100px|link={{{ingredient-5|}}}{{if lang}}]]{{#if: {{{ingredient-5-amount|}}}|{{TF2B|text=x{{{ingredient-5-amount}}}|size=16px|color=#292625}}}}}}}}}}
+
                {{!}} [[Image:Item icon {{{ingredient-5|}}}.png|text-top|100x100px|link={{{ingredient-5|}}}{{if lang}}]]{{#if: {{{ingredient-5-amount|}}}|{{TF2B|text=x{{{ingredient-5-amount}}}|size=16px|color=#292625}}}}
{{#if: {{{ingredient-6|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
                {{!}} {{#if: {{{ingredient-6|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
{{!}} [[Image:Item icon {{{ingredient-6|}}}.png|text-top|100x100px|link={{{ingredient-6|}}}{{if lang}}]]{{#if: {{{ingredient-6-amount|}}}|{{TF2B|text=x{{{ingredient-6-amount}}}|size=16px|color=#292625}}}}}}}}}}
+
                    {{!}} [[Image:Item icon {{{ingredient-6|}}}.png|text-top|100x100px|link={{{ingredient-6|}}}{{if lang}}]]{{#if: {{{ingredient-6-amount|}}}|{{TF2B|text=x{{{ingredient-6-amount}}}|size=16px|color=#292625}}}}
{{#if: {{{ingredient-7}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}|
+
}}}}}}}}}}
{{!}} {{TF2B|text==|size=65px|color=#292625}}
+
{{#if: {{{ingredient-7|}}}|{{!}}{{TF2B|text=+|size=65px|color=#292625}}{{!}}|
{{!}} [[Image:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625}}}}
+
    {{!}} {{TF2B|text==|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625}}}}
 
}}
 
}}
|-
+
<!--
 
 
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-7|}}}|[[{{{ingredient-7}}}{{if lang}}|{{{ingredient-7-local|{{{ingredient-7}}}}}}]]|Ingredient 7}}
 
|
 
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-8|}}}|[[{{{ingredient-8}}}{{if lang}}|{{{ingredient-8-local|{{{ingredient-8}}}}}}]]|Ingredient 8}}
 
|
 
{{#if: {{{ingredient-9|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-9|}}}{{if lang}}|{{{ingredient-9-local|{{{ingredient-9}}}}}}]]
 
{{!}}
 
{{#if: {{{ingredient-10|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-10|}}}{{if lang}}|{{{ingredient-10-local|{{{ingredient-10}}}}}}]]
 
{{!}}
 
{{#if: {{{ingredient-11|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-11|}}}{{if lang}}|{{{ingredient-11-local|{{{ingredient-11}}}}}}]]
 
{{!}}
 
{{#if: {{{ingredient-12|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-12|}}}{{if lang}}|{{{ingredient-12-local|{{{ingredient-12}}}}}}]]
 
{{!}}}}}}}}
 
| style="background-color: #FFDD99;" | {{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{{result-local|{{{result}}}}}}]]|Result}}
 
|-
 
| [[Image:Item icon {{{ingredient-7|Unknown}}}.png|text-top|100x100px|link={{{ingredient-7|}}}{{if lang}}]]{{#if: {{{ingredient-7-amount|}}}|{{TF2B|text=x{{{ingredient-7-amount}}}|size=16px|color=#292625}}}}
 
| {{TF2B|text=+|size=65px|color=#292625}}
 
| [[Image:Item icon {{{ingredient-8|Unknown}}}.png|text-top|100x100px|link={{{ingredient-8|}}}{{if lang}}]]{{#if: {{{ingredient-8-amount|}}}|{{TF2B|text=x{{{ingredient-8-amount}}}|size=16px|color=#292625}}}}
 
{{#if: {{{ingredient-9|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 
{{!}} [[Image:Item icon {{{ingredient-9|}}}.png|text-top|100x100px|link={{{ingredient-9|}}}{{if lang}}]]{{#if: {{{ingredient-9-amount|}}}|{{TF2B|text=x{{{ingredient-9-amount}}}|size=16px|color=#292625}}}}
 
{{#if: {{{ingredient-10|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 
{{!}} [[Image:Item icon {{{ingredient-10|}}}.png|text-top|100x100px|link={{{ingredient-10|}}}{{if lang}}]]{{#if: {{{ingredient-10-amount|}}}|{{TF2B|text=x{{{ingredient-10-amount}}}|size=16px|color=#292625}}}}
 
{{#if: {{{ingredient-11|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 
{{!}} [[Image:Item icon {{{ingredient-11|}}}.png|text-top|100x100px|link={{{ingredient-11|}}}{{if lang}}]]{{#if: {{{ingredient-11-amount|}}}|{{TF2B|text=x{{{ingredient-11-amount}}}|size=16px|color=#292625}}}}}}}}}}
 
{{#if: {{{ingredient-12|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 
{{!}} [[Image:Item icon {{{ingredient-12|}}}.png|text-top|100x100px|link={{{ingredient-12|}}}{{if lang}}]]{{#if: {{{ingredient-12-amount|}}}|{{TF2B|text=x{{{ingredient-12-amount}}}|size=16px|color=#292625}}}}}}}}}}
 
| {{TF2B|text==|size=65px|color=#292625}}
 
| [[Image:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625}}}}
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 +
Second row of items
  
 +
-->
 +
{{#if: {{{ingredient-7|}}}|
  
 +
{{!}}-
  
  
 +
{{!}} style="background-color: #FFDD99;" {{!}} {{#if:{{{ingredient-7|}}}|[[{{{ingredient-7}}}{{if lang}}|{{{ingredient-7-local|{{{ingredient-7}}}}}}]]|Ingredient 7}}
 +
{{!}}
 +
{{!}}{{#if: {{{ingredient-8|}}} | style="background-color: #FFDD99;" {{!}} [[{{{ingredient-8|}}}{{if lang}}|{{{ingredient-8-local|{{{ingredient-8}}}}}}]]
 +
}}
 +
{{!}}
 +
{{!}}{{#if: {{{ingredient-9|}}} | style="background-color: #FFDD99;" {{!}} [[{{{ingredient-9|}}}{{if lang}}|{{{ingredient-9-local|{{{ingredient-9}}}}}}]]
 +
}}
 +
{{!}}
 +
{{!}}{{#if: {{{ingredient-10|}}} | style="background-color: #FFDD99;" {{!}} [[{{{ingredient-10|}}}{{if lang}}|{{{ingredient-10-local|{{{ingredient-10}}}}}}]]
 +
}}
 +
{{!}}
 +
{{!}}{{#if: {{{ingredient-11|}}} | style="background-color: #FFDD99;" {{!}} [[{{{ingredient-11|}}}{{if lang}}|{{{ingredient-11-local|{{{ingredient-11}}}}}}]]
 +
}}
 +
{{!}}
 +
{{!}}{{#if: {{{ingredient-12|}}} | style="background-color: #FFDD99;" {{!}} [[{{{ingredient-12|}}}{{if lang}}|{{{ingredient-12-local|{{{ingredient-12}}}}}}]]
 +
}}
 +
{{!}}
 +
{{!}}style="background-color: #FFDD99;" {{!}} {{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{{result-local|{{{result}}}}}}]]|Result}}
  
  
 +
{{!}}-
  
  
 +
{{!}} [[Image:Item icon {{{ingredient-7|Unknown}}}.png|text-top|100x100px|link={{{ingredient-7|}}}{{if lang}}]]{{#if: {{{ingredient-7-amount|}}}|{{TF2B|text=x{{{ingredient-7-amount}}}|size=16px|color=#292625}}}}
 +
{{!}} {{#if: {{{ingredient-8|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{ingredient-8|}}}.png|text-top|100x100px|link={{{ingredient-8|}}}{{if lang}}]]{{#if: {{{ingredient-8-amount|}}}|{{TF2B|text=x{{{ingredient-8-amount}}}|size=16px|color=#292625}}}}
 +
}}
 +
{{!}} {{#if: {{{ingredient-9|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{ingredient-9|}}}.png|text-top|100x100px|link={{{ingredient-9|}}}{{if lang}}]]{{#if: {{{ingredient-9-amount|}}}|{{TF2B|text=x{{{ingredient-9-amount}}}|size=16px|color=#292625}}}}
 +
}}
 +
{{!}} {{#if: {{{ingredient-10|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{ingredient-10|}}}.png|text-top|100x100px|link={{{ingredient-10|}}}{{if lang}}]]{{#if: {{{ingredient-10-amount|}}}|{{TF2B|text=x{{{ingredient-10-amount}}}|size=16px|color=#292625}}}}
 +
}}
 +
{{!}} {{#if: {{{ingredient-11|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{ingredient-11|}}}.png|text-top|100x100px|link={{{ingredient-11|}}}{{if lang}}]]{{#if: {{{ingredient-11-amount|}}}|{{TF2B|text=x{{{ingredient-11-amount}}}|size=16px|color=#292625}}}}
 +
}}
 +
{{!}} {{#if: {{{ingredient-12|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{ingredient-12|}}}.png|text-top|100x100px|link={{{ingredient-12|}}}{{if lang}}]]{{#if: {{{ingredient-12-amount|}}}|{{TF2B|text=x{{{ingredient-12-amount}}}|size=16px|color=#292625}}}}
 +
}}
 +
    {{!}} {{TF2B|text==|size=65px|color=#292625}}
 +
    {{!}} [[Image:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625}}}}
 +
}}
 
|}
 
|}
 
 
 
 
 
 
 
 
  
  
Line 121: Line 121:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Formatting templates|Blueprint]]</noinclude>
+
</noinclude>

Latest revision as of 14:36, 5 November 2010

Ingredient 1 Result
Item icon Unknown.png = Item icon Unknown.png






Usage

{{Blueprint
| ingredient-1 = 
| ingredient-2 = 
| ingredient-3 = 
| ingredient-4 = 
| ingredient-5 = 
| result = 
}}
{{Blueprint
| ingredient-1 = 
| ingredient-1-local = 
| ingredient-2 = 
| ingredient-2-local = 
| ingredient-3 = 
| ingredient-3-local = 
| ingredient-4 = 
| ingredient-4-local = 
| ingredient-5 = 
| ingredient-5-local = 
| result = 
| result-local = 
}}