Template talk:SMWDocs

From Wikispooks
Revision as of 16:44, 24 May 2014 by Robin (talk | contribs) (Another known issue)
Jump to navigation Jump to search

Multiple References

Sometimes documents appear in more than one section, which is a waste of space. See, for example, Chris Busby. This could be fixed by modifying the Semantic queries behind the separate templates. The only drawback would be that it would stop them working properly as individual templates -- not currently a problem, in fact, since I don't think they ever need to be used as such. Robin (talk) 17:44, 24 May 2014 (IST)

Whitespace

This is not working properly when multiple sections of docs are present. See, for example, John Pilger. I reckon carriage returns/<br/>s are involved, since I created this issue when editing it to remove excess whitespace. Previously, the section headings appeared properly, but so did a lot of redundant whitespace. Nevertheless I'm puzzled as to why this is. Input most welcome! Robin (talk) 10:40, 1 February 2014 (GMT)

Putting each on the constituent templates on a new line seems to have fixed the John Pilger page. I recall the same display issue occurring on another page whose name I forget. There were two x display templates on it and they were side-by-side on the same line. Putting them on separate lines fixed it too. --Peter P (talk) 07:17, 2 February 2014 (GMT)
The Pilger page is better, but the extra line is annoying on the pages which don't have the multiple sections. There must be a way to manage both cases. Yes, I seem to remember another similar problem (same template???) but not how it got solved. Keep fiddling, I guess... :) Robin (talk) 13:32, 4 February 2014 (GMT)
Still not fixed. The choice is currently either
  1. No whitespace but deficient headings (John_Pilger#References); or
  2. Headings OK but extra whitespace
Much of a muchness. Robin (talk) 13:45, 19 February 2014 (GMT)
I think it's now fixed. Robin (talk) 17:44, 24 May 2014 (IST)