Hello all. The wiki is The Grinns Tale Wiki, a RPG game. In this game you have many equipment items. Items can form a "set".
I wrote a template that makes set tables. Since a set can have 3 or 4 items, I divided the template in three templates, "set table start", "set table item" and "set table end". This is an example.
At the end of the table I want to add the sum of all bonuses that the items give you. The problem is item bonuses are passed as parameters of "set table item", and the sum of all bonuses is printed by "set table end". So for now I calculate the sums by hand and I pass them as "set table end" parameters.
The quetion is: is there a way to pass the parameters of "set table item" to "set table end"?
PS: I do not want to use JS, since if the user browser has JS disabled the results can't be displayed.
PPS: sorry for the bad english.