Difference between revisions of "Template:Blueprint"

From Team Fortress Wiki
Jump to: navigation, search
(Undo edit by Laros123 (Talk) (263381) it doesn't works for hats)
(Template no longer needs local names manually inserted)
Line 1: Line 1:
 
{| class="wikitable" style="font-size:90%; text-align:center;" width="auto"
 
{| class="wikitable" style="font-size:90%; text-align:center;" width="auto"
| 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}}|{{Item name|{{lc:{{{ingredient-1}}}}}}}]]|Ingredient 1}}
 
|
 
|
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2}}}{{if lang}}|{{{ingredient-2-local|{{{ingredient-2}}}}}}]]|Ingredient 2}}
+
| style="background-color: #FFDD99;" | {{#if:{{{ingredient-2|}}}|[[{{{ingredient-2}}}{{if lang}}|{{Item name|{{lc:{{{ingredient-2}}}}}}}]]|Ingredient 2}}
 
|
 
|
{{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{{ingredient-3-local|{{{ingredient-3}}}}}}]]
+
{{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{Item name|{{lc:{{{ingredient-3}}}}}}}]]
 
{{!}}
 
{{!}}
{{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-4|}}}{{if lang}}|{{{ingredient-4-local|{{{ingredient-4}}}}}}]]
+
{{#if: {{{ingredient-4|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-4|}}}{{if lang}}|{{Item name|{{lc:{{{ingredient-4}}}}}}}]]
 
{{!}}
 
{{!}}
{{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{{ingredient-5-local|{{{ingredient-5}}}}}}]]
+
{{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{Item name|{{lc:{{{ingredient-5}}}}}}}]]
 
{{!}}}}}}}}
 
{{!}}}}}}}}
 
| style="background-color: #FFDD99;" | {{#if: {{{result-2|}}}|{{Lang
 
| style="background-color: #FFDD99;" | {{#if: {{{result-2|}}}|{{Lang
Line 26: Line 26:
 
| sv = Möjliga Resultat
 
| sv = Möjliga Resultat
 
| zh-hant = 可能的結果
 
| zh-hant = 可能的結果
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{{result-local|{{{result}}}}}}]]|Result}}}}
+
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{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}}}}
Line 57: Line 57:
 
| ingredient-5 =
 
| ingredient-5 =
 
| result =
 
| result =
| result-2 =
 
| result-3 =
 
| result-4 =
 
}}
 
</pre>
 
<pre>
 
{{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 =
 
 
| result-2 =
 
| result-2 =
 
| result-3 =
 
| result-3 =

Revision as of 23:37, 26 December 2010

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

Usage

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