Topic on User talk:Dr. Strangelove

Jump to navigation Jump to search

The Curious Case of Names

A single piece of data is referred to by three names:

  1. original tag name in XML files
  2. property name used by Semantic
  3. name used by template parameter

So, example: manhunterOnDamageChance (XML tag) becomes Turn Manhunter Chance When Attacked (SMW property) which is set in a template by a parameter manhunter.

This is the way it is done, via an infobox template:

{{#if: {{{manhunter|}}}|{{#set:Turn Manhunter Chance When Attacked = {{{manhunter|}}} }}
;{{H:title|link=no|Chance of this animal turning manhunter when attacked.|Manhunter Chance}}

This would suggest that there is yet another piece of data associated with each name - tooltip.

There seems to be no central "list" connecting all these together?