Difference between revisions of "Template:Institution"

From BITPlan cr Wiki
Jump to navigation Jump to search
(modified by py-yprinciple-gen 0.0.5)
(modified by py-yprinciple-gen 0.2.9)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude><!--
 
<noinclude><!--
   --    Copyright (C) 2015-2022 BITPlan GmbH
+
   --    Copyright (C) 2015-2023 BITPlan GmbH
 
   --  
 
   --  
 
   --    Pater-Delp-Str. -- 1
 
   --    Pater-Delp-Str. -- 1
Line 9: Line 9:
 
   --  
 
   --  
 
-->
 
-->
 +
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "Institution".
 
=== see also ===
 
=== see also ===
 
see also
 
see also
Line 16: Line 17:
 
* [[:Category:Institution]]
 
* [[:Category:Institution]]
 
* [[:Template:Institution]]
 
* [[:Template:Institution]]
* [[:Form:Institution]]  
+
* [[:Form:Institution]]
 
topic links:
 
topic links:
 +
* [[Concept:Scholar]]
 +
 
=== Usage ===
 
=== Usage ===
 
<pre>{{Institution
 
<pre>{{Institution
|name=
+
|title=
|wikiDataId=
+
|wikidataid=
 
|homepage=
 
|homepage=
 +
|inception=
 +
|smartCRMId=
 +
|country=
 
|storemode=property or subjobject or none"
 
|storemode=property or subjobject or none"
 
}}
 
}}
Line 30: Line 36:
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
 
|isA=Institution
 
|isA=Institution
|name={{{name|}}}
+
|Institution title={{{title|}}}
|wikiDataId={{{wikiDataId|}}}
+
|Institution wikidataid={{{wikidataid|}}}
|homepage={{{homepage|}}}
+
|Institution homepage={{{homepage|}}}
 +
|Institution inception={{{inception|}}}
 +
|Institution smartCRMId={{{smartCRMId|}}}
 +
|Institution country={{{country|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Institution
 
|isA=Institution
|Institution name={{{name|}}}
+
|Institution title={{{title|}}}
|Institution wikiDataId={{{wikiDataId|}}}
+
|Institution wikidataid={{{wikidataid|}}}
 
|Institution homepage={{{homepage|}}}
 
|Institution homepage={{{homepage|}}}
 +
|Institution inception={{{inception|}}}
 +
|Institution smartCRMId={{{smartCRMId|}}}
 +
|Institution country={{{country|}}}
 
}}
 
}}
 
}}
 
}}
{{{!}} class='wikitable'
+
{{#switch:{{{viewmode|}}}|hidden=|masterdetail=
 +
= scholars =
 +
{{#ask:[[Concept:Scholar]][[Scholar affiliations::{{FULLPAGENAME}}]]
 +
| ?Scholar wikiDataId = wikiDataId
 +
| ?Scholar name = name
 +
| ?Scholar firstName = firstName
 +
| ?Scholar description = description
 +
| ?Scholar homepage = homepage
 +
| ?Scholar orcid = orcid
 +
| ?Scholar dblpId = dblpId
 +
| ?Scholar googleScholarUser = googleScholarUser
 +
| ?Scholar linkedInId = linkedInId
 +
| ?Scholar researchGate = researchGate
 +
| ?Scholar gndId = gndId
 +
| ?Scholar smartCRMId = smartCRMId
 +
| ?Scholar affiliations = affiliations
 +
}}|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Institution
 
! colspan='2' {{!}}Institution
 
{{!}}-
 
{{!}}-
 
{{#switch:{{{storemode|}}}|property=
 
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Institution{{FULLPAGENAME}}|title=edit}}
+
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Institution/{{FULLPAGENAME}}|title=edit}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
!name
+
![[Property:Institution title|title]]
{{!}}&nbsp;{{#if:{{{name}}}|{{{name}}}|}}
+
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title}}}|}}
 
{{!}}-
 
{{!}}-
!wikiDataId
+
![[Property:Institution wikidataid|wikidataid]]
{{!}}&nbsp;{{#if:{{{wikiDataId}}}|{{{wikiDataId}}}|}}
+
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid}}}|}}→{{#show: {{FULLPAGENAME}}|?Institution wikidataid}}
 
{{!}}-
 
{{!}}-
!homepage
+
![[Property:Institution homepage|homepage]]
{{!}}&nbsp;{{#if:{{{homepage}}}|{{{homepage}}}|}}
+
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage}}}|}}
 
{{!}}-
 
{{!}}-
{{!}}}[[Category:Institution]]{{#default_form:Institution}}
+
![[Property:Institution inception|inception]]
 +
{{!}}&nbsp;{{#if:{{{inception|}}}|{{{inception}}}|}}
 +
{{!}}-
 +
![[Property:Institution smartCRMId|smartCRMId]]
 +
{{!}}&nbsp;{{#if:{{{smartCRMId|}}}|{{{smartCRMId}}}|}}→{{#show: {{FULLPAGENAME}}|?Institution smartCRMId}}
 +
{{!}}-
 +
![[Property:Institution country|country]]
 +
{{!}}&nbsp;{{#if:{{{country|}}}|{{{country}}}|}}→{{#show: {{FULLPAGENAME}}|?Institution country}}
 +
{{!}}-
 +
{{!}}}
 +
}}
 +
[[Category:Institution]]{{#default_form:Institution}}
 
</includeonly>
 
</includeonly>

Latest revision as of 05:51, 20 April 2023