Difference between revisions of "Template:Blueprint/core"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Use new "class" parameters on TF2B templates for class selector targeting)
 
(34 intermediate revisions by 23 users not shown)
Line 2: Line 2:
 
{{!}} style="background-color: #FFDD99;" {{!}} {{#if:{{{ingredient-1|}}}|[[{{{ingredient-1}}}{{if lang}}|{{Item name|{{lc:{{{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}}|{{Item name|{{lc:{{{ingredient-2}}}}}}}]]|Ingredient 2}}
+
{{#if: {{{ingredient-2|}}} |{{!}} style="background-color: #FFDD99;" {{!}} {{#if:{{{setname|}}}|{{Tooltip|{{item name|{{{setname}}} weapon}}|{{item name|{{{setname}}} explain}}}}|{{#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}}|{{Item name|{{lc:{{{ingredient-3}}}}}}}]]
 
{{#if: {{{ingredient-3|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-3|}}}{{if lang}}|{{Item name|{{lc:{{{ingredient-3}}}}}}}]]
Line 9: Line 9:
 
{{!}}
 
{{!}}
 
{{#if: {{{ingredient-5|}}} |{{!}} style="background-color: #FFDD99;" {{!}} [[{{{ingredient-5|}}}{{if lang}}|{{Item name|{{lc:{{{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
 +
  | en = {{Tooltip|Possible Results|Using this blueprint results in a single random item out of the below possibilities. Each individual item has an equal chance of being produced.}}
 
   | ar = النتائج المحتملة
 
   | ar = النتائج المحتملة
   | de = Mögliche Ergebnisse
+
   | cs = {{Tooltip|Možné výsledky|Použitím tohoto nákresu je možné získat jeden z níže uvedených předmětů. Každý jednotlivý předmět má stejnou šanci na vytvoření.}}
   | en = {{Tooltip|Possible Results|Using this blueprint results in a single random item out of the below possibilities. Each individual item has an equal chance of being produced.}}
+
   | da = {{Tooltip|Mulige resultater|Brug af denne plan vil resultere i en tilfældig genstand fra de nedenstående muligheder. Hver genstand har en lige stor chance for at blive smedet.}}
   | es = {{Tooltip|Resultados Posibles|Nota: Ésto es un plano genérico, se utiliza para obtener alguno de los objetos mostrados en 'Posibles Resultados'.}}
+
  | de = {{Tooltip|Mögliche Ergebnisse|Das Benutzen dieser Blaupause erzeugt einen zufälligen Gegenstand aus den unteren Möglichkeiten. Jeder individuelle Gegenstand hat die selbe Chance, produziert zu werden.}}
  | hu = Lehetséges eredmény
+
   | es = {{Tooltip|Posibles resultados|Nota: esto es un plano genérico, se utiliza para obtener alguno de los objetos mostrados en 'Posibles resultados'.}}
 
   | fi = Mahdolliset lopputulokset
 
   | fi = Mahdolliset lopputulokset
 
   | fr = {{Tooltip|Résultats Possibles|Note: Il s'agit de la combinaison générique, l'utiliser résultera en la fabrication d'un seul des objets indiqués comme 'résultats possibles'.}}
 
   | fr = {{Tooltip|Résultats Possibles|Note: Il s'agit de la combinaison générique, l'utiliser résultera en la fabrication d'un seul des objets indiqués comme 'résultats possibles'.}}
Line 22: Line 23:
 
   | ja = {{Tooltip|いずれかの作成物|こちらの設計図でアイテムを作成した場合、以下のアイテムのうちランダムで1つだけ出来上がります。どのアイテムも、その数によって均等に分けられた確率で完成します。}}
 
   | ja = {{Tooltip|いずれかの作成物|こちらの設計図でアイテムを作成した場合、以下のアイテムのうちランダムで1つだけ出来上がります。どのアイテムも、その数によって均等に分けられた確率で完成します。}}
 
   | ko = 가능한 결과물
 
   | ko = 가능한 결과물
   | nl = Mogelijke Resultaten
+
   | nl = {{Tooltip|Mogelijke Resultaten|Het gebruik van deze blauwdruk zal resulteren in een willekeurig voorwerp van de onderstaande mogelijkheden. Elk individueel voorwerp heeft een even grote kans om ontworpen te worden.}}
 
   | no = Mulige Resultater
 
   | no = Mulige Resultater
   | pl = {{Tooltip|Możliwe rezultaty|Uwaga: Jest to podstawowy plan wytwarzania; jego użycie spowoduje wyprodukowanie tylko jednego z przedmiotów z kolumny "Możliwe rezultaty".}}
+
   | pl = {{Tooltip|Możliwe rezultaty|Użycie tego planu wytwarzania spowoduje wytworzenie tylko jednego z przedmiotów z kolumny „Możliwe rezultaty”. Każdy pojedynczy przedmiot ma taką samą szansę na wytworzenie.}}
 
   | pt = Resultados Possíveis
 
   | pt = Resultados Possíveis
   | pt-br = {{Tooltip|Resultados Possíveis|Nota: Essa é uma receita genérica, e usá-la urá somente produzir um dos itens listados como "resultados possíveis".}}
+
   | pt-br = {{Tooltip|Resultados possíveis|Usar esse projeto resulta em um único item aleatório dentre as possibilidades abaixo. Cada item individual possui uma chance igual de ser produzido.}}
 +
  | ro = {{Tooltip|Rezultate posibile|Urmarea acestui plan de fabricare rezultă într-unul din obiectele de mai jos, alese aleatoriu. Fiecare obiect individual are o șansă egală de a fi produs.}}
 
   | ru = {{Tooltip|Возможные результаты|При ковке по данному чертежу будет получен один из нижеперечисленных предметов. Каждый предмет имеет равную вероятность получения.}}
 
   | ru = {{Tooltip|Возможные результаты|При ковке по данному чертежу будет получен один из нижеперечисленных предметов. Каждый предмет имеет равную вероятность получения.}}
 
   | sv = Möjliga Resultat
 
   | sv = Möjliga Resultat
   | zh-hant = 可能的結果
+
  | tr = {{Tooltip|Mümkün Sonuçlar|Bu formülü kullanmak aşağıdaki eşyalardan herhangi birini elde etmenizi sağlar. Her eşyanın üretilme olasılığı aynıdır.}}
 +
  | zh-hans = {{Tooltip|可能的结果|使用此蓝图会随机产生以下其中一个结果。每一个单独的物品都有相同的概率会被产生。}}
 +
   | zh-hant = {{Tooltip|可能的結果|使用這張藍圖會隨機產生以下其中一種物品。每一項物品的產生機率都是一樣的。}}
 
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{result}}}}}}}]]|Result}}}}
 
}}|{{#if:{{{result|}}}|[[{{{result}}}{{if lang}}|{{Item name|{{lc:{{{result}}}}}}}]]|Result}}}}
 
{{!}}-
 
{{!}}-
{{!}} [[Image:Item icon {{{ingredient-1|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=22px|color=#292625}}}}
+
{{!}} [[File:Item icon {{{ingredient-1|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-1|}}}{{if lang}}]]{{#if: {{{ingredient-1-amount|}}}|{{TF2B|text=x{{{ingredient-1-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}
{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-2|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[Image:Item icon {{{ingredient-2|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-2|}}}{{if lang}}]]{{#if: {{{ingredient-2-amount|}}}|{{TF2B|text=x{{{ingredient-2-amount}}}|size=22px|color=#292625}}}}
+
{{!}} {{#if:{{{setname|}}}|[[File:Item icon {{{ingredient-2}}}.png|text-bottom|50x50px|link={{{ingredient-2}}}{{if lang}}]][[File:Item icon {{{ingredient-2-2}}}.png|text-bottom|50x50px|link={{{ingredient-2-2}}}{{if lang}}]]{{#if:{{{ingredient-2-3|}}}|[[File:Item icon {{{ingredient-2-3}}}.png|text-bottom|50x50px|link={{{ingredient-2-3}}}{{if lang}}]]}}|[[File:Item icon {{{ingredient-2|Unknown}}}.png|text-bottom|100x100px|link={{{ingredient-2|}}}{{if lang}}]]{{#if: {{{ingredient-2-amount|}}}|{{TF2B|text=x{{{ingredient-2-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}}}
{{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-3|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[Image:Item icon {{{ingredient-3|}}}.png|text-bottom|100x100px|link={{{ingredient-3|}}}{{if lang}}]]{{#if: {{{ingredient-3-amount|}}}|{{TF2B|text=x{{{ingredient-3-amount}}}|size=22px|color=#292625}}}}
+
{{!}} [[File:Item icon {{{ingredient-3|}}}.png|text-bottom|100x100px|link={{{ingredient-3|}}}{{if lang}}]]{{#if: {{{ingredient-3-amount|}}}|{{TF2B|text=x{{{ingredient-3-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}
{{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-4|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[Image:Item icon {{{ingredient-4|}}}.png|text-bottom|100x100px|link={{{ingredient-4|}}}{{if lang}}]]{{#if: {{{ingredient-4-amount|}}}|{{TF2B|text=x{{{ingredient-4-amount}}}|size=22px|color=#292625}}}}
+
{{!}} [[File:Item icon {{{ingredient-4|}}}.png|text-bottom|100x100px|link={{{ingredient-4|}}}{{if lang}}]]{{#if: {{{ingredient-4-amount|}}}|{{TF2B|text=x{{{ingredient-4-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}
{{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625}}
+
{{#if: {{{ingredient-5|}}} |{{!}} {{TF2B|text=+|size=65px|color=#292625|class=blueprint-op}}
{{!}} [[Image:Item icon {{{ingredient-5|}}}.png|text-bottom|100x100px|link={{{ingredient-5|}}}{{if lang}}]]{{#if: {{{ingredient-5-amount|}}}|{{TF2B|text=x{{{ingredient-5-amount}}}|size=22px|color=#292625}}}}}}}}}}
+
{{!}} [[File:Item icon {{{ingredient-5|}}}.png|text-bottom|100x100px|link={{{ingredient-5|}}}{{if lang}}]]{{#if: {{{ingredient-5-amount|}}}|{{TF2B|text=x{{{ingredient-5-amount}}}|size=22px|color=#292625|class=blueprint-op}}}}}}}}}}}}
{{!}} {{TF2B|text==|size=65px|color=#292625}}
+
{{!}} {{TF2B|text==|size=65px|color=#292625|class=blueprint-op}}
 
{{!}} {{#if: {{{result-2|}}}|
 
{{!}} {{#if: {{{result-2|}}}|
 
{{{!}} cellpadding="0" cellspacing="0"
 
{{{!}} cellpadding="0" cellspacing="0"
{{!}} [[Image: Item icon {{{result|Unknown}}}.png|text-top|50x50px|link={{{result|}}}{{if lang}}]]
+
{{!}} [[File: Item icon {{{result|Unknown}}}.png|text-top|50x50px|link={{{result|}}}{{if lang}}]]
{{!}} [[Image: Item icon {{{result-2|Unknown}}}.png|text-top|50x50px|link={{{result-2|}}}{{if lang}}]]
+
{{!}} [[File: Item icon {{{result-2|Unknown}}}.png|text-top|50x50px|link={{{result-2|}}}{{if lang}}]]
{{!}} {{#if: {{{result-3|}}}|[[Image: Item icon {{{result-3|Unknown}}}.png|text-top|50x50px|link={{{result-3|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-3|}}}|[[File: Item icon {{{result-3|Unknown}}}.png|text-top|50x50px|link={{{result-3|}}}{{if lang}}]]}}
 +
{{!}} {{#if: {{{result-4|}}}|[[File: Item icon {{{result-4|Unknown}}}.png|text-top|50x50px|link={{{result-4|}}}{{if lang}}]]}}
 +
{{!}}-
 +
{{!}} {{#if: {{{result-5|}}}|[[File: Item icon {{{result-5|Unknown}}}.png|text-top|50x50px|link={{{result-5|}}}{{if lang}}]]}}
 +
{{!}} {{#if: {{{result-6|}}}|[[File: Item icon {{{result-6|Unknown}}}.png|text-top|50x50px|link={{{result-6|}}}{{if lang}}]]}}
 +
{{!}} {{#if: {{{result-7|}}}|[[File: Item icon {{{result-7|Unknown}}}.png|text-top|50x50px|link={{{result-7|}}}{{if lang}}]]}}
 +
{{!}} {{#if: {{{result-8|}}}|[[File: Item icon {{{result-8|Unknown}}}.png|text-top|50x50px|link={{{result-8|}}}{{if lang}}]]}}
 
{{!}}-
 
{{!}}-
{{!}} {{#if: {{{result-4|}}}|[[Image: Item icon {{{result-4|Unknown}}}.png|text-top|50x50px|link={{{result-4|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-9|}}}|[[File: Item icon {{{result-9|Unknown}}}.png|text-top|50x50px|link={{{result-9|}}}{{if lang}}]]}}
{{!}} {{#if: {{{result-5|}}}|[[Image: Item icon {{{result-5|Unknown}}}.png|text-top|50x50px|link={{{result-5|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-10|}}}|[[File: Item icon {{{result-10|Unknown}}}.png|text-top|50x50px|link={{{result-10|}}}{{if lang}}]]}}
{{!}} {{#if: {{{result-6|}}}|[[Image: Item icon {{{result-6|Unknown}}}.png|text-top|50x50px|link={{{result-6|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-11|}}}|[[File: Item icon {{{result-11|Unknown}}}.png|text-top|50x50px|link={{{result-11|}}}{{if lang}}]]}}
 +
{{!}} {{#if: {{{result-12|}}}|[[File: Item icon {{{result-12|Unknown}}}.png|text-top|50x50px|link={{{result-12|}}}{{if lang}}]]}}
 
{{!}}-
 
{{!}}-
{{!}} {{#if: {{{result-7|}}}|[[Image: Item icon {{{result-7|Unknown}}}.png|text-top|50x50px|link={{{result-7|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-13|}}}|[[File: Item icon {{{result-13|Unknown}}}.png|text-top|50x50px|link={{{result-13|}}}{{if lang}}]]}}
{{!}} {{#if: {{{result-8|}}}|[[Image: Item icon {{{result-8|Unknown}}}.png|text-top|50x50px|link={{{result-8|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-14|}}}|[[File: Item icon {{{result-14|Unknown}}}.png|text-top|50x50px|link={{{result-14|}}}{{if lang}}]]}}
{{!}} {{#if: {{{result-9|}}}|[[Image: Item icon {{{result-9|Unknown}}}.png|text-top|50x50px|link={{{result-9|}}}{{if lang}}]]}}
+
{{!}} {{#if: {{{result-15|}}}|[[File: Item icon {{{result-15|Unknown}}}.png|text-top|50x50px|link={{{result-15|}}}{{if lang}}]]}}
{{!}}}|[[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}}}}}}
+
{{!}} {{#if: {{{result-16|}}}|[[File: Item icon {{{result-16|Unknown}}}.png|text-top|50x50px|link={{{result-16|}}}{{if lang}}]]}}
 +
{{!}}}|[[File:Item icon {{{result|Unknown}}}.png|text-top|100x100px|link={{{result|}}}{{if lang}}]]{{#if: {{{result-amount|}}}|{{TF2B|text=x{{{result-amount}}}|size=16px|color=#292625|class=blueprint-op}}}}}}
 
{{!}}-
 
{{!}}-
{{!}}}<noinclude>
+
{{!}}}<noinclude>{{Documentation}}
{{Translation switching|ar, de, es, fi, fr, hu, it, ko, no, pl, pt, pt-br, hu, ru, sv, zh-hant|Please retranslate "Possible Results" as the en string has changed.}}</noinclude>
+
{{Translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hant, zh-hans|'''Partial Support:''' ar, fi, ko, no, pt, sv}}</noinclude>

Latest revision as of 21:36, 14 December 2023

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

Template documentation [view] [edit] [history] [purge]

Arguments

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

autoresult

Setting autoresult to a "class slot", for example autoresult = Soldier primary, will automatically generate the blueprint for that slot with the correct slot token, class token, and possible results.

You can add automatic crafting recipes to {{Dictionary/blueprints}}.

Examples

{{Blueprint
| ingredient-1 = Kritzkrieg
| ingredient-2 = Bonk! Atomic Punch
| result = Crit-a-Cola
}}

produces

Kritzkrieg Bonk! Atomic Punch Crit-a-Cola
Item icon Kritzkrieg.png + Item icon Bonk! Atomic Punch.png = Item icon Crit-a-Cola.png
{{Blueprint
| autoresult = Scout secondary
}}

produces

Class Token - Scout Slot Token - Secondary Scrap Metal Possible Results
Item icon Class Token - Scout.png + Item icon Slot Token - Secondary.png + Item icon Scrap Metal.png =
Item icon Bonk! Atomic Punch.png Item icon Crit-a-Cola.png Item icon Mad Milk.png Item icon Winger.png
Item icon Pretty Boy's Pocket Pistol.png Item icon Flying Guillotine.png
{{Blueprint
| ingredient-1 = Reclaimed Metal
| ingredient-1-amount = 2
| ingredient-2 = Flare Gun
| result = Detonator
}}

produces

Reclaimed Metal Flare Gun Detonator
Item icon Reclaimed Metal.pngx2 + Item icon Flare Gun.png = Item icon Detonator.png
{{Blueprint/core
| setname = special delivery
| ingredient-1 = Refined Metal
| ingredient-1-amount = 4
| ingredient-2 = Shortstop
| ingredient-2-2 = Mad Milk
| ingredient-2-3 = Holy Mackerel
| result = Milkman
}}

produces

Refined Metal Special Delivery weapon Milkman
Item icon Refined Metal.pngx4 + Item icon Shortstop.pngItem icon Mad Milk.pngItem icon Holy Mackerel.png = Item icon Milkman.png
{{Blueprint/core
| ingredient-1 = Refined Metal
| ingredient-1-amount = 4
| ingredient-2 = Baby Face's Blaster
| ingredient-2-2 = Pretty Boy's Pocket Pistol
| result = Fed-Fightin' Fedora
| result-2 = Dillinger's Duffel
}}

produces

Refined Metal Baby Face's Blaster Possible Results
Item icon Refined Metal.pngx4 + Item icon Baby Face's Blaster.png =
Item icon Fed-Fightin' Fedora.png Item icon Dillinger's Duffel.png