Difference between revisions of "Template:Infobox city"

From AetoliaWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
{{infobox
{{infobox
|bodystyle=width:30em;
  | abovestyle = background-color: {{{headcolor}}};
|abovestyle=background-color:{{{color}}};
  | above = {{{name}}}
|above={{{name}}}
  | headerstyle = background-color: {{{subcolor}}};


|label2=Tether
  | label2   = Tether
|data2={{{tether}}}
  | data2   = [[{{{tether|}}}]]


|label4=Divine Patron
  | label3  = Continent
|data4={{{patron}}}
  | data3    = [[{{{continent|}}}]]


|label5=Divine Advisory
  | label4  = Tutor
|data5=
  | data4    = {{{tutor|}}}
{{{advisory}}}


|label7=Tutor
  | label6  = Guilds
|data7={{{tutor}}}
  | data6    = {{{guilds|}}}


|label9=Guilds
  | header10 = Divines
|data9=
  | label11  = Patron
{{{guilds}}}
  | data11  = {{{patron|}}}
  | label12  = Advisory
  | data12  = {{{advisory|}}}
}}</includeonly>
<noinclude>
This template is for [[Cities|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==
{{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]]
}}
}}
<pre>
{{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]]
}}
</pre>
</noinclude>

Latest revision as of 15:05, 11 July 2017


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]]
}}