|
|
| Line 1: |
Line 1: |
| <includeonly> | | <includeonly> |
| <templatestyles src="Infobox culture/styles.css" /> | | <templatestyles src="Infobox culture/styles.css" /> |
| <aside class="infobox infobox--culture">
| |
| <header class="infobox__header">
| |
| {{{name|{{PAGENAME}}}}}
| |
| </header>
| |
|
| |
|
| {{#if: {{{image|}}} |
| | {| class="infobox infobox-culture" |
| <figure class="infobox__figure">
| | |- |
| [[File:{{{image}}}|{{{image_size|300px}}}|frameless|center{{#if:{{{caption|}}}| |}}]]
| | ! colspan="2" class="infobox-title" | {{{name|{{PAGENAME}}}}} |
| {{#if: {{{caption|}}} | <figcaption class="infobox__caption">{{{caption}}}</figcaption> }}
| | {{#if:{{{image|}}}| |
| </figure>
| | |- |
| }}
| | | colspan="2" class="infobox-image" | |
| | [[File:{{#replace:{{#replace:{{{image}}}|File:|}}|Image:|}}|{{{image_size|300px}}}|frameless|center]] |
| | {{#if:{{{caption|}}}|<div class="infobox-caption">{{{caption}}}</div>|}} |
| | }} |
| | |- |
| | ! Type |
| | | {{{type|}}} |
| | |- |
| | ! Location |
| | | {{{location|}}} |
| | |- |
| | ! Notable item |
| | | {{{notable_item|}}} |
| | |- |
| | ! Language |
| | | {{{language|}}} |
| | |- |
| | ! Religion |
| | | {{{religion|}}} |
| | |} |
|
| |
|
| <dl class="infobox__dl">
| |
| {{#if: {{{type|}}} | <div class="infobox__row"><dt>Type</dt><dd>{{{type}}}</dd></div> }}
| |
| {{#if: {{{location|}}} | <div class="infobox__row"><dt>Location</dt><dd>{{{location}}}</dd></div> }}
| |
| {{#if: {{{notable_item|}}}| <div class="infobox__row"><dt>Notable item</dt><dd>{{{notable_item}}}</dd></div> }}
| |
| {{#if: {{{language|}}} | <div class="infobox__row"><dt>Language</dt><dd>{{{language}}}</dd></div> }}
| |
| {{#if: {{{religion|}}} | <div class="infobox__row"><dt>Religion</dt><dd>{{{religion}}}</dd></div> }}
| |
| {{#if: {{{era|}}} | <div class="infobox__row"><dt>Era</dt><dd>{{{era}}}</dd></div> }}
| |
| {{#if: {{{affiliation|}}} | <div class="infobox__row"><dt>Affiliation</dt><dd>{{{affiliation}}}</dd></div> }}
| |
| {{#if: {{{leaders|}}} | <div class="infobox__row"><dt>Leaders</dt><dd>{{{leaders}}}</dd></div> }}
| |
| {{#if: {{{population|}}} | <div class="infobox__row"><dt>Population</dt><dd>{{{population}}}</dd></div> }}
| |
| {{#if: {{{status|}}} | <div class="infobox__row"><dt>Status</dt><dd>{{{status}}}</dd></div> }}
| |
| </dl>
| |
|
| |
| {{#if: {{{notes|}}} |
| |
| <section class="infobox__notes">
| |
| {{{notes}}}
| |
| </section>
| |
| }}
| |
| </aside>
| |
| </includeonly> | | </includeonly> |