Template:Location: Difference between revisions

10 bytes added ,  21:31, 18 November 2021
don't try to load "none" image
m (preserve title capitalization for location names (for example, "waterlogged tunnel" shouldn't be capitalized))
(don't try to load "none" image)
Line 33: Line 33:
| class = qud-location-infobox
| class = qud-location-infobox
| imagearea =
| imagearea =
{{#if: {{{overrideimages|}}} | {{{overrideimages}}} | {{#if: {{{image|}}} | [[Image:{{{image}}}|160px]] | }} }}
{{#if: {{{overrideimages|}}} | {{{overrideimages}}} | {{#ifeq: {{{image|none}}} |none|| [[Image:{{{image}}}|160px]] }} }}
| rows =  
| rows =  
{{#if: {{{faction|}}} | {{infobox row|label=Faction|field=[[{{{faction}}}]] }} }}
{{#if: {{{faction|}}} | {{infobox row|label=Faction|field=[[{{{faction}}}]] }} }}