Template:Infobox museum: Difference between revisions
Content added Content deleted
Vivaporius (talk | contribs) m (1 revision imported) |
en>Centrist16 (Created page with "{{#invoke:Type in location|main|{{{type|}}}|{{{location|}}}|check-patterns = [Mm]useum;[Hh]all;[Gg]allery;[Cc]enter}}{{Infobox | child = {{{embed|}}} | bodyclass = vcard |...") |
||
Line 1: | Line 1: | ||
{{#invoke:Type in location|main|{{{type|}}}|{{{location|}}}|check-patterns = [Mm]useum;[Hh]all;[Gg]allery;[Cc]enter}}{{Infobox |
|||
{{Infobox |
|||
⚫ | |||
| bodyclass = vcard |
| bodyclass = vcard |
||
Line 5: | Line 6: | ||
| titleclass = fn org |
| titleclass = fn org |
||
| title = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} |
| title = {{#if:{{{name|}}}|{{{name}}}|{{#ifeq:{{{embed|}}}|yes||{{PAGENAMEBASE}}}}}} |
||
| subheader = {{#if:{{{native_name|}}}|< |
| subheader = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} |
||
| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|maxsize=300|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}} |
| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|maxsize=300|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}} |
||
| caption1 = {{{logo_caption|}}} |
| caption1 = {{{logo_caption|}}} |
||
Line 16: | Line 17: | ||
| image3 = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type}}}}}} |
| image3 = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type}}}}}} |
||
| border = infobox |
| border = infobox |
||
| caption = {{# |
| caption = {{#switch:{{{map_caption|}}}|#default={{{map_caption}}}|none=|=Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}} |
||
| float = center |
| float = center |
||
| alt = {{{map_alt|}}} |
| alt = {{{map_alt|}}} |
||
Line 25: | Line 26: | ||
}}}} |
}}}} |
||
| image4 = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}|mapframe-marker=museum}} |
|||
| label1 = Former name |
|||
| caption4 = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}}} |
|||
⚫ | |||
⚫ | |||
| label1 = {{longitem|Former name{{#if:{{{former_names|}}}|s}}}} |
|||
| label2 = Established |
|||
| |
| class1 = nickname |
||
| data1 = {{if empty|{{{former_names|}}}|{{{former_name|}}}}} |
|||
| label3 = |
| label3 = Established |
||
| data3 = {{{ |
| data3 = {{{established|}}} |
||
| |
| label6 = Dissolved |
||
| |
| data6 = {{{dissolved|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| |
| label9 = Type |
||
| |
| data9 = {{{type|}}} |
||
| |
| label10 = Accreditation |
||
| |
| data10 = {{{accreditation|}}} |
||
| |
| label11 = Key holdings |
||
| |
| data11 = {{{key_holdings|}}} |
||
| label12 = {{#if:{{{collections_type|}}}|{{{collections_type}}}|Collections}} |
|||
| label10 = Collection size |
|||
| |
| data12 = {{{collections|}}} |
||
| |
| label13 = Collection size |
||
| data13 = {{if empty|{{{collection|}}}|{{{collection_size|}}}|{{{collection size|}}}}} |
|||
⚫ | |||
| |
| label14 = Visitors |
||
| |
| data14 = {{{visitors|}}} |
||
⚫ | |||
| |
| label15 = Founder |
||
| |
| data15 = {{{founder|}}} |
||
⚫ | |||
| label14 = Director |
|||
⚫ | |||
⚫ | |||
| label15 = President |
|||
⚫ | |||
| class15 = agent |
| class15 = agent |
||
| label16 = |
| label16 = Executive director |
||
| data16 = {{{ |
| data16 = {{{executive_director|{{{executive director|}}}}}} |
||
| class16 = agent |
| class16 = agent |
||
| label17 = |
| label17 = {{#if:{{{leader_type|}}}|{{{leader_type}}}|Manager}} |
||
| data17 = {{{ |
| data17 = {{{leader|}}} |
||
| class17 = agent |
| class17 = agent |
||
| label18 = |
| label18 = Director |
||
| data18 = {{{ |
| data18 = {{{director|}}} |
||
| class18 = agent |
| class18 = agent |
||
| label19 = |
| label19 = President |
||
| data19 = {{{ |
| data19 = {{{president|}}} |
||
| class19 = agent |
| class19 = agent |
||
| label20 = |
| label20 = CEO |
||
| data20 = {{{ |
| data20 = {{{ceo|}}} |
||
| class20 = agent |
| class20 = agent |
||
| label21 = |
| label21 = Chairperson |
||
| data21 = {{{ |
| data21 = {{{chairperson|}}} |
||
| class21 = agent |
| class21 = agent |
||
| label22 = |
| label22 = Curator |
||
| data22 = {{{ |
| data22 = {{{curator|}}} |
||
⚫ | |||
| label23 = {{#if:{{{architects|}}}|Architects|Architect}} |
|||
| data23 = {{{architects|{{{architect|}}}}}} |
|||
⚫ | |||
| label24 = Historian |
|||
⚫ | |||
⚫ | |||
| label25 = Owner |
|||
⚫ | |||
⚫ | |||
| label26 = Employees |
|||
⚫ | |||
| |
| label27 = Public transit access |
||
| |
| data27 = {{{publictransit|}}} |
||
| |
| label28 = Nearest {{#if:{{{parking|}}}|parking|car park}} |
||
| |
| data28 = {{#if:{{{parking|}}}|{{{parking}}}|{{{car_park|}}}}} |
||
| |
| label29 = Website |
||
| |
| data29 = {{{website|}}} |
||
| |
| header30 = {{#if:{{{network|}}}|{{Infobox museum/{{{network}}} network|header}} }} |
||
| |
| data31 = {{#if:{{{network|}}}|{{Infobox museum/{{{network}}} network|data}} }} |
||
| |
| header32 = {{{nrhp|{{{embedded|}}}}}} |
||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox museum with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox museum]] with unknown parameter "_VALUE_"|ignoreblank=y| accreditation | alt | architect | caption | car_park | ceo | chairperson | collection | collection size | collection_size | collections | coordinates | curator | director | dissolved | embedded | employees | established | executive director | executive_director | former_name | founder | historian | image | image_size | imagesize | image_upright | key_holdings | location | logo | logo_alt | logo_caption | logo_upright | map dot label | map_dot_label | map_alt | map_caption | map_relief | map_size | map_type | name | native_name | native_name_lang | network | nrhp | owner | parking | president | publictransit | pushpin_map | pushpin_relief | type | visitors | website }}<noinclude> |
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox museum with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox museum]] with unknown parameter "_VALUE_"|ignoreblank=y| accreditation | alt | architect | architects | caption | car_park | ceo | chairperson | leader | leader_type | collection | collection size | collection_size | collections | collections_type | coordinates | curator | director | dissolved | embed | embedded | employees | established | executive director | executive_director | former_name | former_names | founder | historian | image | image_size | imagesize | image_upright | key_holdings | location | logo | logo_size | logo_alt | logo_caption | logo_upright | map dot label | map_dot_label | map_alt | map_caption | map_relief | map_size | map_type | name | native_name | native_name_lang | network | nrhp | owner | parking | president | publictransit | pushpin_map | pushpin_relief | type | visitors | website | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-width | mapframe-frame-height | mapframe-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher }}<noinclude> |
||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |