User talk:JonTheMon/THRank

You can combine #if and #expr as #ifexpr. See Template:Title/TreasureHunter. &mdash;Dr Ishmael 20:20, 24 November 2008 (UTC)
 * I saw that. However, it didn't seem to work, kept getting an { error.  let's see if this works. --JonTheMon 20:31, 24 November 2008 (UTC)
 * I suppose my spacing may have been off. Or I didn't have the right includeonly or noinclude tags.  We'll see. --JonTheMon 20:34, 24 November 2008 (UTC)
 * Actually, my end goal is to create a template that allows you to calculate how many keys lockpicks you would (on average) need to buy to max both Lucky and Treasure Hunter. However, that may be too complex for a template. --JonTheMon 20:36, 24 November 2008 (UTC)
 * Aha. That probably could be done, but it would be difficult since it has to iterate over two distinct parameters (TH rank and Lucky rank), both of which affect the value of a third parameter (retention rate).  You'd probably have to use a set of subtemplates - one to determine, based on initial values, which title will increase in rank first, then one for each title to calculate how many lockpicks are necessary to reach that next rank and update the points for both titles accordingly, then call the decision-making template again, etc.  Actually, that doesn't sound so difficult now. XD  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 20:57, 24 November 2008 (UTC)