Template talk:Combatencounter

From Twilight Heroes Wiki
Revision as of 10:19, 11 January 2009 by Bagatelle (talk | contribs)

Jump to: navigation, search

This is a new template I am proposing as a replacement for the {{fight}} template. I am proposing this simplified template because of my personal experience that the old one is too complicated to use (with no disrespect to Satan and anyone else involved in the original template).

The ideas behind this template are:

  • The amount of damage in a hit/critical/fumble is probably correlated to the enemy level. It is therefore not needed to record it.
  • Recording damage is also extremely hard since the exact effects of armor power is unknown.
  • There is a very large number of possibilities for elemental damage. Creating a template for each and every one complicates the template
  • There are currently no special critical and fumble messages.
  • It is very important to know not only what is documented, but also what isn't.

As a result this template is very simple when it comes to documenting hit messages. All you need to do is document the text between "Your opponent attacks ..." and "<> hits you for X damage."

The "hitnotes" field is used for reporting anything specific about the damage, type, special amounts, etc.

Other things I added:

  • "a" and "an" are not pronouns, they are indefinite articles. The field to report them is |indef= where |pronoun= is used for reporting the pronoun ("He", "She", "It", etc.) There is no default value for either field. If no indefinite article is used, one needs to set it to !. This is done on purpose so we know the information is recorded.
  • One needs to specifically set |hit1=! and |miss1=! to specify that there are no special hit/miss messages.
  • One needs to specifically set |chips=0 to indicate that no chips drop.
  • One can add post fight messages in the |postfight= field
  • |drop1=, |drop2= etc. for reporting drop rates.
  • |res= is a free text field. I find that this is much simpler.
  • For most fields, if the field is not set, there is no need to use the {{needscontent}} template. The page is autocategorized as missing data.

I would very much appreciate feedback on this template. I will start converting some example fights so we can see how it looks, and if it is indeed simpler to use.--Muhandes 11:31, 11 January 2009 (UTC)

From a maintenance perspective, I've never liked limiting the number of messages/drops with numbered parameters. This runs the risk of needing template updates whenever the game creates new foes with more messages/drops than we've allocated parameters for. This is in fact already broken at Zion's Tears demiurge: the conditional drops are listed in an entirely separate section. It's also more unnecessary typing if we go the hit1, hit2, etc route. Hitting <enter> twice for a line break is far easier, and is there any reason we need to differentiate hit messages from each other? Hit notes can be handled by using specially formatted text (e.g., small), either using explicit tags or some specialised template, immediately before or after the appropriate hit text. This makes it less likely to require reordering hit notes if messages get changed and an editor forgets about the parameter's existence.
Relatedly, I've previously noted that it's very inefficient to have image name + item name parameters everywhere. Some items need both image and item name added to the Color, item, and drop combat page. It could potentially get worse, as it seems some effect pages use the image in the Obtained From section. Implementing a data namespace and using something like {{acquire}} on the KoLWiki would make creating new pages and maintaining theh THWiki much less of a headache.
--Bagatelle T/C 18:19, 11 January 2009 (UTC)