From what I can see it seems like you want to add data into a bucket from the template, in which case you don't want BucketGet, you'd want BucketPut. Or in this situation this template looks complex enough that Lua would probably be easier than BucketPut. does https://discord.com/channels/407504499280707585/1487512654678331533 help?
#Add bucket repeated values to an infobox with multiple tabs
1 messages · Page 1 of 1 (latest)
It's the other way around, I want to add data from a bucket to a template.
For example I have the item with 2 IDs
my infobox have 2 tabs, first tab for 21169 and the second one for 21170
If the repeated value needs to be placed into the same spot, then this is easier.
If you want to display values separately (which seems to be the case), it's a bit harder. One thing you can do is to join these repeated values with a delimiter (e.g. ;) and then use string manipulation functions (e.g. Module:String) to retrieve the first/second value only.
If you are willing to write Lua, then repeated values will come back as a table of 2 values. You'll just need to take values at index 1 for the first tab and then use values at index 2 for the second tab.
I can't write lua so is it possible to retrieve 2 different rows and put it to the same template?
No idea how to retrieve the data twice and put to the second tab of the template
Hmmm. Trying to retrieve data and put them in an infobox seems like an anti-pattern since the main use case is to store data on individual pages (usually accompanied by an infobox) and then query data on a separate page.
If possible, maybe avoid using repeated values in the first place? Simply store them separately should greatly improve convenience.
Yea, I store them separately now
store them in 2 pages and use tabberneue is quite easy to figure out
Well, I'm trying to recreate the below infobox
It is now possible to split repeated columns
https://bucket.miraheze.org/wiki/Formatting_output#Splitting_repeated_columns