Template:Infobox SMP Settlement: Difference between revisions

Created page with "{{Infobox | headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker --> | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified --> | image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} <!-- Not adding images is ok too --> | caption = {{{caption|}}} <!-- Image caption --> | header1 = Settlement Information |..."
 
m Text replacement - "| image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}}" to "| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}"
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->


| title     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| above     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} <!-- Not adding images is ok too -->
| image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}} <!-- Not adding images is ok too -->
| caption    = {{{caption|}}} <!-- Image caption -->
| caption    = {{{caption|}}} <!-- Image caption -->


| header1    = Settlement Information
| label1     = Season
| label2     = Settlement Name
| data1     = {{{season|}}}
| data2     = {{{settlementname|}}}


| label3    = Foundation
| header2    = Settlement Information
| data3      = {{{foundation|}}}
| label3    = Settlement Name
| data3      = {{{settlementname|}}}


| label4    = Population
| label4    = Foundation
| data4      = {{{population|}}}
| data4      = {{{foundation|}}}


| label5    = Location
| label5     = Population
| data5     = {{{location|}}}
| data5      = {{{population|}}}
 
| label6     = Location
| data6     = {{{location|}}}
}}<noinclude>
}}<noinclude>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>