Topic on User talk:Dr. Strangelove

Jump to navigation Jump to search
Line 6: Line 6:
 
* simplest solution for automatic retrieval might be to just make a Lua function retrieve the property that is passed as a param (same name would be ideal) - unsure about performance costs of function calls for every property
 
* simplest solution for automatic retrieval might be to just make a Lua function retrieve the property that is passed as a param (same name would be ideal) - unsure about performance costs of function calls for every property
 
:syntax might look like this:
 
:syntax might look like this:
:{{code|inline=y|{{#invoke:Parser|get|manhunterOnDamageChance}}}}
+
:{{code|inline=y|<nowiki>{{#invoke:Parser|get|manhunterOnDamageChance}}</nowiki>}}
 
  <nowiki>{{#invoke:Parser|get|manhunterOnDamageChance}}</nowiki>
 
  <nowiki>{{#invoke:Parser|get|manhunterOnDamageChance}}</nowiki>