Template talk:Place

From Wikispooks
Revision as of 08:17, 15 July 2015 by Robin (talk | contribs) (fiddly syntax)
Jump to navigation Jump to search

Infobox settlement

Can't get this to assign anything other than the WS special param 'wikipedia' and 'image'. Image was only made to work by separating the smw property assignments from the infobox param assignment, but the width and caption params do not work. I've spent enough time on it now to last me a while --Peter P (talk) 21:53, 10 July 2015 (IST)

The conditional property assignments (#if) work OK when done *before* the 'settlement' template, rather than as part of a settlement template param; but only the 'settlement' param 'image' seems to display. eg in The Cenotaph 'type' and 'locations' do not show in the infobox. --Peter P (talk) 07:34, 15 July 2015 (IST)
Yeah, the syntax is fiddly - and I think the images broke with the SMW upgrade. Its a moot point whether it would have been better to make up something from scratch, or whether grafting onto the WP infoboxes was good practice. Note that I never actually use "#set" - I've found it unreliable - so I use [[property name::example | ]] instead. Having a diversity in the mix at least means that if something breaks it, then it's less likely to break 100% and we can see which bits are still working. -- Robin (talk) 09:17, 15 July 2015 (IST)