Jump to content

Template:Institution: Difference between revisions

From OA GLAM Wiki
No edit summary
Tag: Manual revert
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the template for Institutions. It is designed to be used with the DataTransfer CSV import.
This is the template for Institutions.
Remember, javascript from MediaWiki:Common.js is pulling in the WikiData image after the page loads...
</noinclude><includeonly>
</noinclude><includeonly>
{| class="wikitable" style="float: right; width: 300px; margin-left: 1em; font-size: 90%;"
{| class="wikitable" style="float: right; width: 300px; margin-left: 1em;"
! colspan="2" style="background-color: #f2f2f2; text-align: center; font-size: 120%;" | {{PAGENAME}}
! colspan="2" style="background-color: #f2f2f2; text-align: center;" | {{PAGENAME}}
|-
|-
{{#if:{{{English Name|}}}|
| colspan="2" style="text-align: center; min-height: 150px; vertical-align: middle;" |  
! English Name
<div id="wikidata-image-container">
| {{{English Name}}}
</div>
|-
|-
}}
| '''English Name''' || {{{English Name|}}}
{{#if:{{{Country|}}}|
! Country
| {{{Country}}}
|-
|-
}}
| '''Country''' || {{{Country|}}}
{{#if:{{{Type|}}}|
! Institution Type
| {{{Type}}}
|-
|-
}}
| '''Type''' || {{{Type|}}}
{{#if:{{{URL|}}}|
! Website
| [{{{URL}}} Official Site]
|-
|-
}}
| '''Website''' || [{{{URL|}}} Link]
{{#if:{{{WikiData Q|}}}|
! WikiData ID
| [https://www.wikidata.org/wiki/{{{WikiData Q}}} {{{WikiData Q}}}]
|-
|-
}}
| '''WikiData''' || <span id="wikidata-id">{{{WikiData Q|}}}</span>
|}
|}
[[Category:All Institutions]]
{{#if:{{{Country|}}}|[[Category:Institutions in {{{Country}}}]]}}
{{#if:{{{Type|}}}|[[Category:{{{Type}}} Institutions]]}}
<!-- {{#if:{{{WikiData Q|}}}
  | [[Category:Institutions with WikiData ID]]
  | [[Category:Institutions missing WikiData ID]]
}} -->
</includeonly>
</includeonly>

Latest revision as of 17:37, 22 December 2025

This is the template for Institutions. Remember, javascript from MediaWiki:Common.js is pulling in the WikiData image after the page loads...