Hi Ed,
I would recommend creating a third template, maybe called "recipe ingredients" (since "ingredients" is already taken), which would appear multiple times on a "smoothies" page. The "smoothies" template would contain the main information, and then each call to "recipe ingredients" would define a single ingredient and its quantity, etc. See here for how to do this in Semantic Forms:
https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Multi...
-Yaron
On Mon, Nov 9, 2015 at 6:09 PM, Ed edward.hoo@gmail.com wrote:
Hi everyone,
Thanks for the previous help! I have yet another question if you allow me :-)
Say I have 2 cargo tables/templates. One is "ingredients" and the other is "smoothies". How can I create a template for "smoothies" that allows me to bring in "ingredients" and a few properties (10-20 fields) that only make sense for that association. For example how much of each ingredient for a particular smoothie recipe?
The number of smoothies and the number of ingredients are not predefined.
Thanks!! -Ed
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l