Editing Template:NpcDataGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:NpcData| | <includeonly>{{#if:{{{index|}}} | ||
|<!-- If an index is provided, assume it's a list and use the specific list function -->{{#invoke:NpcData|get_list_elem|{{{1}}}|{{{2}}}|{{{index}}}}} | |||
|<!-- Otherwise, use the main function which can handle simple and nested values -->{{#invoke:NpcData|get_npc_var|{{{1}}}|{{{2}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}} | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||