I have a list of people and place-names and relationship-descriptions. I want to generate a few places with other info, but in addition, each place will have a list of people there (I can do that), but I also want each place to list relationships for the people there to people in other places. And, I need those other places to refer back through the relationships.

So, as far as I can figure out, I need to generate all that info ahead of time, before beginning to output the places with their people, descriptions, ... But I can't figure out how to make and store that info.

 

I've tried adding a <style>...</style> block to the html but it seems to have no effect.

The CSS usage says to add style='whatever' on each place you want to apply some CSS. But I want to apply the same style in multiple places without having to re-type it and find/change each place when I change my mind.

TL;DR: I want to use CSS the way it's supposed to work

[–] [S] 2 points 9 months ago* (last edited 9 months ago)

Yes. That works great! Thanks again!

Since I'm wanting to be able to use this multiple times, for various lists, I end up with:

AdjectiveNoun(Adj, Noun)=>
  let combo=[];
  for(const a of Adj.selectAll) {
    for(const n of Noun.selectAll) {
      combo.push([a,n].join(' '));
    };
  };
  return [joinlists(combo).consumableList];
  • source
  • parent
  • context
  • [–] [S] 1 point 9 months ago* (2 children)

    Thanks @Almaumbria.

    Unfortunately, it's not quite what I wanted. I'm wanting the effect of a consumable list where the elements are all the combinations of Adjective+Noun. I think I'll have to figure out how to iterate through each of Adjective and Noun and construct a new list with all the combinations and stash that. I've not written an function like Thing() before, so I'll have to think about that.

  • source
  • parent
  • context
  • [–] 0 points 1 year ago (1 child)

    People (myself included) are lazy and usually won't bother to make a change unless they have a specific reason. If the default were private then we wouldn't have the huge compendium of interesting pages to look through that we do.

    Please keep the default public.

  • source