Difference between revisions of "Template talk:Blueprint"
(→Auto-generating results (implementation over at User:RJackson/sandbox/Template:Blueprint)) |
m (→Auto-generating results (implementation over at User:RJackson/sandbox/Template:Blueprint): Closed discussion - implemented.) |
||
Line 58: | Line 58: | ||
: Specifically on the token crafting ones, he means. [[Image:TF2_crosshair.png|20px]] [[User:Fendermcbender|Fendermcbender]] 23:08, 11 March 2011 (UTC) | : Specifically on the token crafting ones, he means. [[Image:TF2_crosshair.png|20px]] [[User:Fendermcbender|Fendermcbender]] 23:08, 11 March 2011 (UTC) | ||
− | == Auto-generating results (implementation over at [[User:RJackson/sandbox/Template:Blueprint]]) == | + | {{Discussion header|top}}== Auto-generating results (implementation over at [[User:RJackson/sandbox/Template:Blueprint]]) == |
As we have agreed to implement the generic blueprints into pages, each general blueprint is now manually added in each page; as such, every time there is an update adding new weapons that can be crafted via the generic blueprints, every page containing that generic blueprint will need to be updated. My modification to the template solves this: I've implemented an "autoresult", generated via adding <code><nowiki>autoresult=yes</nowiki></code> to the blueprint attributes; which automatically generates the results based upon the inputted items. | As we have agreed to implement the generic blueprints into pages, each general blueprint is now manually added in each page; as such, every time there is an update adding new weapons that can be crafted via the generic blueprints, every page containing that generic blueprint will need to be updated. My modification to the template solves this: I've implemented an "autoresult", generated via adding <code><nowiki>autoresult=yes</nowiki></code> to the blueprint attributes; which automatically generates the results based upon the inputted items. | ||
Line 70: | Line 70: | ||
:I added the missing ones that I could remember; you were just missing the Rift items, and the Spy PDA recipe (though honestly that recipe is kinda moot given that you would need three PDA weapons to craft it and there are only two PDA weapons as of right now). I'll see if I can comb through it again to see if I missed anything. --[[User:LordKelvin|LordKelvin]] 16:45, 13 March 2011 (UTC) | :I added the missing ones that I could remember; you were just missing the Rift items, and the Spy PDA recipe (though honestly that recipe is kinda moot given that you would need three PDA weapons to craft it and there are only two PDA weapons as of right now). I'll see if I can comb through it again to see if I missed anything. --[[User:LordKelvin|LordKelvin]] 16:45, 13 March 2011 (UTC) | ||
::The weapons used for the PDA Token do not have to differ, thus you can easily craft a PDA token, I did so. – [[User:Smashman|<font color=#507D2A>Smashman</font>]]<sub> ([[User_talk:Smashman|talk]])</sub> 18:15, 15 March 2011 (UTC) | ::The weapons used for the PDA Token do not have to differ, thus you can easily craft a PDA token, I did so. – [[User:Smashman|<font color=#507D2A>Smashman</font>]]<sub> ([[User_talk:Smashman|talk]])</sub> 18:15, 15 March 2011 (UTC) | ||
+ | :{{c|notice}} Now implemented into [[Template:Blueprint]]-<!--[[User:RJackson|<span class="modbg" style="margin-right:1px;text-shadow: #538237 1px 1px 0px;">RJ</span>]]<span class="modbg" style="margin-right:1px;text-shadow: #538237 1px 1px 0px;">s</span>-->[[File:User_RJackson_Signature_Colon_DDDDDDDDDDDDDDDDDDDD.png|link=User:RJackson|200px]] 19:36, 17 March 2011 (UTC) | ||
+ | {{Discussion header|bottom}} |
Revision as of 19:36, 17 March 2011
There something wrong with the existing one? -Shine () 02:55, 10 August 2010 (UTC)
- Yes, it's overly complicated. Compare:
{{recipe| number=3| ingredient1img=Backpack Batter's Helmet| ingredient1name=Batter's helmet| ingredient2img=Backpack_bonk| ingredient2name=Bonk! Atomic Punch| ingredient3img=Backpack_bonk| ingredient3name=Bonk! Atomic Punch| resultimg=Backpack Bonk Helm| resultname=Bonk helm| }}
to
{{Crafting recipe | ingredient-1 = Batter's Helmet | ingredient-2 = Bonk! Atomic Punch | ingredient-3 = Bonk! Atomic Punch | result = Bonk Helm }}
If I could only figure out why I can only only get it to be consistent with two ingredients OR 3+ ingredients, and not both. -- Pilk (talk) 03:02, 10 August 2010 (UTC)
- Well, I can make the existing one only need
{{recipe | number=3 | ingredient1=Batter's helmet | ingredient2=Bonk! Atomic Punch | ingredient3=Bonk! Atomic Punch result=Bonk Helm }}
Would that work? -Shine () 03:06, 10 August 2010 (UTC)
- Well, so could I. The point is it shouldn't even need that. -- Pilk (talk) 03:10, 10 August 2010 (UTC)
- Is this going to work on language pages, where the links need descriptions?--Piemanmoo 08:18, 13 August 2010 (UTC)
Alternative results
How'd be have more parameters for results, separated by a "OR"? To show something like Melee Token + Medic Token + Scrap Metal = Ubersaw OR Vita-Saw.--Kid Of The Century 08:17, 30 October 2010 (UTC)
- I agree with this. It would look cleaner and take up less space. On the set hats articles for example. Moussekateer 17:50, 8 November 2010 (UTC)
Background color for specific blueprints
Could be useful having a light-colored background for recipes that have a single result?--Kid Of The Century 08:19, 30 October 2010 (UTC)
Todo
- Make ingredient 2 optional (for recipes like Scrap Metal x3 = Reclaimed)
- Add result-amount
— Wind 20:25, 14 October 2010 (UTC)
Notes
Would it be possible to implement the notes of the chance of getting a certain weapon? Such as:
Note: The blueprint simply makes a <class name> <weapon type>; there is still a chance of getting the <result 1>, <result 2>, <result ect>, or <result 6> instead. There will be approximately a <percent> chance of crafting this item.
- Specifically on the token crafting ones, he means. Fendermcbender 23:08, 11 March 2011 (UTC)