Difference between revisions of "Template:Blueprint"

From Team Fortress Wiki
Jump to: navigation, search
(Implementing "autoresult".)
(restore lost lang strings, format slot token note with {{hatnote}} and add lang switching)
Line 12: Line 12:
  
 
{{!}} style="background-color: #FFDD99;" {{!}} {{Lang
 
{{!}} style="background-color: #FFDD99;" {{!}} {{Lang
| ar = ??????? ????????
+
  | ar = النتائج المحتملة
| de = Mögliche Ergebnisse
+
  | de = Mögliche Ergebnisse
| en = Possible Results
+
  | en = Possible Results
| es = Resultados Posibles
+
  | es = Resultados Posibles
| hu = Lehetséges eredmény
+
  | hu = Lehetséges eredmény
| fi = Mahdolliset lopputulokset
+
  | fi = Mahdolliset lopputulokset
| fr = Résultats Possibles
+
  | fr = Résultats Possibles
| it = Possibile Risultato
+
  | it = Possibile Risultato
| ko = ??? ???
+
  | ko = 가능한 결과물
| nl = Mogelijke Resultaten
+
  | nl = Mogelijke Resultaten
| no = Mulige Resultater
+
  | no = Mulige Resultater
| pl = Mozliwe rezultaty
+
  | pl = Mozliwe rezultaty
| pt = Resultados Possíveis
+
  | pt = Resultados Possíveis
| pt-br = Resultados Possíveis
+
  | pt-br = Resultados Possíveis
| ru = ????????? ??????????
+
  | ru = Возможные результаты
| sv = Möjliga Resultat
+
  | sv = Möjliga Resultat
| zh-hant = ?????
+
  | zh-hant = 可能的結果
}}
+
  }}
 
{{!}}-
 
{{!}}-
 
{{!}} [[Image:Item icon {{Item name|{{lc:{{{ingredient-1}}}}}}}.png|text-bottom|100x100px|link={{{ingredient-1|}}}{{if lang}}]]
 
{{!}} [[Image:Item icon {{Item name|{{lc:{{{ingredient-1}}}}}}}.png|text-bottom|100x100px|link={{{ingredient-1|}}}{{if lang}}]]
Line 39: Line 39:
 
{{!}} {{Template:Blueprint/core|classtoken={{{ingredient-1}}}|slottoken={{{ingredient-2}}}|ingredient-3={{{ingredient-3}}}}}
 
{{!}} {{Template:Blueprint/core|classtoken={{{ingredient-1}}}|slottoken={{{ingredient-2}}}|ingredient-3={{{ingredient-3}}}}}
 
{{!}}}
 
{{!}}}
'''''Note:''' This is a generic blueprint.  You will receive '''one''' of the items listed under "Possible Results".
+
{{hatnote|1={{lang
 +
| en = '''Note''': this is a generic blueprint, and using it will produce only one of the items listed as 'possible results'.
 +
}}
 +
}}
 
| #default =
 
| #default =
 
{{{!}} class="wikitable" style="font-size:90%; text-align:center;" width="auto"
 
{{{!}} class="wikitable" style="font-size:90%; text-align:center;" width="auto"
Line 53: Line 56:
 
{{!}}}}}}}}
 
{{!}}}}}}}}
 
{{!}} style="background-color: #FFDD99;" {{!}} {{#if: {{{result-2|}}}|{{Lang
 
{{!}} style="background-color: #FFDD99;" {{!}} {{#if: {{{result-2|}}}|{{Lang
| ar = ??????? ????????
+
  | ar = النتائج المحتملة
| de = Mögliche Ergebnisse
+
  | de = Mögliche Ergebnisse
| en = Possible Results
+
  | en = Possible Results
| es = Resultados Posibles
+
  | es = Resultados Posibles
| hu = Lehetséges eredmény
+
  | hu = Lehetséges eredmény
| fi = Mahdolliset lopputulokset
+
  | fi = Mahdolliset lopputulokset
| fr = Résultats Possibles
+
  | fr = Résultats Possibles
| it = Possibile Risultato
+
  | it = Possibile Risultato
| ko = ??? ???
+
  | ko = 가능한 결과물
| nl = Mogelijke Resultaten
+
  | nl = Mogelijke Resultaten
| no = Mulige Resultater
+
  | no = Mulige Resultater
| pl = Mozliwe rezultaty
+
  | pl = Mozliwe rezultaty
| pt = Resultados Possíveis
+
  | pt = Resultados Possíveis
| pt-br = Resultados Possíveis
+
  | pt-br = Resultados Possíveis
| ru = ????????? ??????????
+
  | ru = Возможные результаты
| sv = Möjliga Resultat
+
  | sv = Möjliga Resultat
| zh-hant = ?????
+
  | zh-hant = 可能的結果
 
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{result}}}}}}}]]|Result}}}}
 
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{result}}}}}}}]]|Result}}}}
 
{{!}}-
 
{{!}}-
Line 94: Line 97:
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
}}
+
}}<noinclude>
<noinclude>
 
 
{{Translation switching|ar, de, es, fi, fr, it, ko, no, pl, pt, pt-br, hu, ru, sv, zh-hant}}
 
{{Translation switching|ar, de, es, fi, fr, it, ko, no, pl, pt, pt-br, hu, ru, sv, zh-hant}}
 
== Usage ==
 
== Usage ==

Revision as of 19:49, 17 March 2011

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

Usage

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

Autoresult

Setting Autoresult to yes has the template automatically generate the crafting result based upon the contents of Template:Blueprint/core. Autoresult currently only supports the class token + slot token + scrap blueprints.

When using autoresult, ingredient-1 should be set to the class token, ingredient-2 should be set to the slot token and ingredient-3 the scrap metal.