So I have a search that basically works, but the resulting page is a bit ugly.
http://107.170.55.31/Character_Deaths
I added +died in cards to various Major Character and Minor Character cards, because I figured this would give me something that I could collect into a list. The ideal result is a list that shows a) the name of the card in which the +died in card is included and b) the content of the +died in card (currently a Pointer type) as a link.
I'm not clear on why it's showing the name of the plus card as the name of the card in the list. I have another search that's the exact same syntax but doesn't do that. (www.teenwolfwiki.com/Soundtrack)
Is there a way to construct a query that will get a results page that looks like what I want? It's just ungangly as is.
So there are two issues here:
1. the repeating name
Soundtrack doesn't show +soundtrack for each item because Wagn avoids repeating terms that are in a card's title when the title is there. So if you go to http://www.teenwolfwiki.com/Soundtrack?view=content, you'll see the terms.
Assuming you want different names for the card and field here (Character deaths and +died in), you will need a different solution. I explain one below.
2. the closed view thing
re the item view, the default is currently "closed", so you need a way to override that.
~~~
a solution:
1. Have "Character deaths" be a basic card that includes the search with syntax something like this: {{+list | content | content; structure: died in structure}}
2. Make Character deaths+list a search that works largely like your current search, but use "right_plus" rather than "right". this will return the character rather than the plus card.
3. make a card called "died in structure" with content that looks something like this:
{{_self|link}}
{{_self+died in|labeled|link}}
That will set the structure for each item returned.
Odds are I got something wrong in the syntax somewhere, but I hope you get the general idea.
I get the general idea. I changed a few things and to have a really nice list I'll have to go back and add a +died in section to the Minor Character structure, even though there are some minor characters who didn't die... ugh. I don't think there's a truly great solution. It would be nice if I could hide fields that the structure specifies which I know won't be filled in.
Thank you for doing this. It's much better than it was, and there's basically no way I'd have figured that out on my own.