Jump to content

Template:Institution: Difference between revisions

From OA GLAM Wiki
No edit summary
Tag: Reverted
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable"
<noinclude>
! Field !! Data Received from DataTransfer
This is the template for Institutions.
Remember, javascript from MediaWiki:Common.js is pulling in the WikiData image after the page loads...
</noinclude><includeonly>
{| class="wikitable" style="float: right; width: 300px; margin-left: 1em;"
! colspan="2" style="background-color: #f2f2f2; text-align: center;" | {{PAGENAME}}
|-
|-
| '''Title/PAGENAME''' || {{PAGENAME}}
| colspan="2" style="text-align: center; min-height: 150px; vertical-align: middle;" |
<div id="wikidata-image-container">
</div>
|-
|-
| '''English Name''' || {{{English Name|NOT FOUND}}}
| '''English Name''' || {{{English Name|}}}
|-
|-
| '''Country''' || {{{Country|NOT FOUND}}}
| '''Country''' || {{{Country|}}}
|-
|-
| '''Type''' || {{{Type|NOT FOUND}}}
| '''Type''' || {{{Type|}}}
|-
|-
| '''URL''' || {{{URL|NOT FOUND}}}
| '''Website''' || [{{{URL|}}} Link]
|-
|-
| '''WikiData ID''' || [https://www.wikidata.org/wiki/{{{WikiData Q|}}} {{{WikiData Q|}}}]
| '''WikiData''' || <span id="wikidata-id">{{{WikiData Q|}}}</span>
|}
|}


<small>Debug Note: If you see "NOT FOUND", the parameter name in the template doesn't match the CSV header exactly.</small>
[[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>

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...