Difference between revisions of "Template:Infobox city"

From AetoliaWiki
Jump to navigation Jump to search
(Some changes, again.)
m
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>
[[Category:Cities]]
{{#ifeq:{{{tether}}}|Spirit|[[Category:Spirit-aligned organizations]]|}}
{{#ifeq:{{{tether}}}|Shadow|[[Category:Shadow-aligned organizations]]|}}
{{#ifeq:{{{continent}}}|Sapience|[[Category:Cities of Sapience]]|}}
{{#ifeq:{{{continent}}}|Albedos|[[Category:Cities of Albedos]]|}}
 
{{infobox
   | abovestyle = background-color: {{{headcolor}}};
   | abovestyle = background-color: {{{headcolor}}};
   | above = {{{name}}}
   | above = {{{name}}}
Line 6: Line 13:
   | label2  = Tether
   | label2  = Tether
   | data2    = [[{{{tether|}}}]]
   | data2    = [[{{{tether|}}}]]
  | label3  = Continent
  | data3    = [[{{{continent|}}}]]


   | label4  = Tutor
   | label4  = Tutor
Line 27: Line 37:
  | name      = Duiran
  | name      = Duiran
  | tether    = Spirit
  | tether    = Spirit
| continent = Sapience
  | tutor    = [[Raest]]
  | tutor    = [[Raest]]
  | guilds    = [[Sentaari]], [[Sentinels]], [[Shamans]]
  | guilds    = [[Sentaari]], [[Sentinels]], [[Shamans]]
Line 38: Line 49:
  | name      = Duiran
  | name      = Duiran
  | tether    = Spirit
  | tether    = Spirit
| continent = Sapience
  | tutor    = [[Raest]]
  | tutor    = [[Raest]]
  | guilds    = [[Sentaari]], [[Sentinels]], [[Shamans]]
  | guilds    = [[Sentaari]], [[Sentinels]], [[Shamans]]

Revision as of 01:38, 18 August 2016


This template is for city pages infoboxes. All fields except headcolor, subcolor and name are optional. This template will also add the appropriate categories for cities and tethers.

Example


Duiran
TetherSpirit
ContinentSapience
TutorRaest
GuildsSentaari, Sentinels, Shamans
Divines
PatronHaern
AdvisoryHaern, Slyphe, Dhar, Omei
{{infobox city
 | headcolor = #AED581
 | subcolor  = #DCEDC8
 | name      = Duiran
 | tether    = Spirit
 | continent = Sapience
 | tutor     = [[Raest]]
 | guilds    = [[Sentaari]], [[Sentinels]], [[Shamans]]
 | patron    = [[Haern]]
 | advisory  = [[Haern]], [[Slyphe]], [[Dhar]], [[Omei]]
}}