Difference between revisions of "Template:Infobox ancient site"
Jump to navigation
Jump to search
Template>Evad37 (Adding mapframe mapping capability per Wikipedia:Requests for comment/Mapframe maps in infoboxes) |
|||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
| titleclass = fn org | | titleclass = fn org | ||
− | | subheader = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} | + | | subheader = <center>{{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}</center> |
| headerstyle = background-color: #eee; | | headerstyle = background-color: #eee; | ||
− | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}}}}|size={{{image_size|{{{imagewidth|}}}}}}|upright={{{image_upright|}}}|alt={{{alt|{{{imagealttext|}}}}}}}} | + | | image = <center>{{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}}}}|size={{{image_size|{{{imagewidth|}}}}}}|upright={{{image_upright|}}}|alt={{{alt|{{{imagealttext|}}}}}}}}</center> |
− | | caption = {{{caption|}}} | + | | caption = <center>{{{caption|}}}</center> |
− | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|{{{mapwidth|}}}}}}|sizedefault=250px|alt={{{map_alt|}}}}} | + | | image2 = <center>{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|{{{mapwidth|}}}}}}|sizedefault=250px|alt={{{map_alt|}}}}}</center> |
− | | caption2 = {{#if: {{{map_type|}}}||{{{map_caption|}}}}} | + | | caption2 = <center>{{#if: {{{map_type|}}}||{{{map_caption|}}}}}</center> |
| image3 = {{#if: {{{map_type|}}}|{{Location map|{{{map_type|}}} | | image3 = {{#if: {{{map_type|}}}|{{Location map|{{{map_type|}}} |