Template:Location: Difference between revisions

10 bytes added ,  22:12, 28 December 2021
no edit summary
(add "is terrain?" field to locations to indicate whether they are a type of world map terrain (versus a city/landmark/dungeon/etc))
No edit summary
Line 39: Line 39:
{{#if: {{{faction|}}} | {{infobox row|label=Faction|field=[[{{{faction}}}]] }} }}
{{#if: {{{faction|}}} | {{infobox row|label=Faction|field=[[{{{faction}}}]] }} }}
{{#if: {{{biome|}}}  | {{infobox row|label=Biome|field=[[{{{biome}}}]] }} }}
{{#if: {{{biome|}}}  | {{infobox row|label=Biome|field=[[{{{biome}}}]] }} }}
{{#if: {{{terrain|}}} | {{infobox row|label=Is [[:Category:Terrain|Terrain]]?|field={{{terrain}}} }} }}
{{#ifeq: {{lc:{{{terrain|no}}}}} | yes | {{infobox row|field=<i>[[World_map#Terrain|World map terrain]]</i> }} }}
{{#if: {{{leader|}}}  | {{infobox row|label=Leader|field={{Consecutive templates|{{{leader}}}|</br>|</br>|||favilink}} }} }}
{{#if: {{{leader|}}}  | {{infobox row|label=Leader|field={{Consecutive templates|{{{leader}}}|</br>|</br>|||favilink}} }} }}
{{#if: {{{floors|}}}  | {{infobox row|Total Floors|{{{floors}}} }} }}
{{#if: {{{floors|}}}  | {{infobox row|Total Floors|{{{floors}}} }} }}