4.2.03 CONTENTS tag

@start CONTENTS table1 table2 table2_value @stop

Effect

This tag helps us deal with many-to-1 and many-to-many relationships. This tag generates an unnumbered, unbulleted list of hyperlinks of records in table1 , but limited to the records for which table2 records have value table2_value

Example

In Improv Encyclopedia, we define games and game categories. Each game can be in many categories, and each category has many games. If we want to list the games in the category Warm-up, we use the following tag:

{$ CONTENTS games categories Warm-up $}

You can see an example of the page where this has been used.