Difference between revisions of "Template:Infobox Celts of England"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
imported>Zackmann08
(converting to use Template:infobox)
Line 1: Line 1:
<includeonly>{| class="infobox bordered vcard" style="margin: 0 0 1em 1em; font-size: 90%" border="1" cellpadding="3" cellspacing="0" width="300"
+
<includeonly>{{Infobox
|-
+
| above = {{{name|}}}
| colspan="2" style="text-align: center; font-size:1.5em" | '''<span class="fn org">{{{name|}}}</span>'''
+
 
{{#if: {{{image|}}}|<tr><td colspan="2" style="text-align: center; background: white;">{{{image|}}}</td></tr>}}{{#if: {{{motto|}}}|<tr><td colspan="2" style="text-align: center; background: white;"><small>'''[[Motto]] of [[County Council]]:''' ''{{{motto|}}}''</small></td></tr>}}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|220px}}}|alt={{{alt|}}}}}
|-
+
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|220px}}}|alt={{{alt|}}}}}
| colspan="2" style="text-align: center; background: white;" | {{{map|}}}
+
 
|-
+
| label1 = Motto
| colspan="2" style="background: #f0f0f0; font-weight: bolder; text-align: center" | Geography
+
| data1 = {{{motto|}}}
|-
+
| header2 = Geography
! width="45%" | Capital
+
| label3 = Capital
| {{{capital|}}}
+
| data3 = {{{capital|}}}
|-
+
| label4 = Location
! width="45%" |[[Counties of the United Kingdom|Location]]
+
| data4 = {{{location|}}}
| {{{location}}}
+
| label5 = Rulers
|-
+
| data5 = {{{rulers|}}}
! width="45%" | Rulers  
+
}}</includeonly><noinclude>
| {{{rulers}}}
+
{{Documentation}}
|-
 
|}</includeonly><noinclude>{{Convert to use Infobox}}{{Documentation|content=
 
{{Parameter names example|_template=Infobox Celts of England|name|image|motto|map|capital|location|rulers}}
 
<pre style="overflow: auto;">{{Infobox Celts of England
 
| name =
 
| image =
 
| motto =
 
| map =
 
| capital =
 
| location =
 
| rulers =
 
}}</pre>
 
}}
 
[[Category:Celtic templates]]
 
[[Category:United Kingdom subdivision infobox templates|Celts Of England]]
 
 
</noinclude>
 
</noinclude>

Revision as of 18:55, 29 August 2017

50px Template documentation[view] [edit] [history] [purge]

Template:Parameter names example

Usage

{{Infobox Celts of England
| name = 
| image = 
| image_size = <!-- Optional, default 220px -->
| image_upright = <!-- Optional -->
| image_title = <!-- Optional -->
| alt = <!-- Optional, but recommended -->
| motto = 
| map = 
| map_size = <!-- Optional, default 220px -->
| map_upright = <!-- Optional -->
| map_title = <!-- Optional -->
| map_alt = <!-- Optional, but recommended -->
| capital = 
| location = 
| rulers = 
}}