Template:Scholar

From BITPlan cr Wiki
Jump to navigation Jump to search

This is the template Scholar. It belongs to the concept/topic Concept:Scholar
You may find examples for the use of this template via the List of Scholars.

Usage

storemode subobject

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|storemode=subobject
}}

storemode property

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|storemode=property
}}

storemode none

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|storemode=none
}}


viewmode tableheader

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|viewmode=tableheader
}}

viewmode tablerow

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|viewmode=tablerow
}}

viewmode tablefooter

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|viewmode=tablefooter
}}

viewmode labelfield

{{Scholar
|name=
|firstName=
|orcid=
|dblpId=
|wikiDataId=
|googleScholarUser=
|linkedInId=
|gndId=
|smartCRMId=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Scholar<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?firstName|}}}|"{{{?firstName}}}" is firstName of it <br>|}}
{{#if:{{{?orcid|}}}|"{{{?orcid}}}" is orcid of it <br>|}}
{{#if:{{{?dblpId|}}}|"{{{?dblpId}}}" is dblpId of it <br>|}}
{{#if:{{{?wikiDataId|}}}|"{{{?wikiDataId}}}" is wikiDataId of it <br>|}}
{{#if:{{{?googleScholarUser|}}}|"{{{?googleScholarUser}}}" is googleScholarUser of it <br>|}}
{{#if:{{{?linkedInId|}}}|"{{{?linkedInId}}}" is linkedInId of it <br>|}}
{{#if:{{{?gndId|}}}|"{{{?gndId}}}" is gndId of it <br>|}}
{{#if:{{{?smartCRMId|}}}|"{{{?smartCRMId}}}" is smartCRMId of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Scholar
|Scholar name={{{name|}}}
|Scholar firstName={{{firstName|}}}
|Scholar orcid={{{orcid|}}}
|Scholar dblpId={{{dblpId|}}}
|Scholar wikiDataId={{{wikiDataId|}}}
|Scholar googleScholarUser={{{googleScholarUser|}}}
|Scholar linkedInId={{{linkedInId|}}}
|Scholar gndId={{{gndId|}}}
|Scholar smartCRMId={{{smartCRMId|}}}
}}
|#default={{#set:
|isA=Scholar
|Scholar name={{{name|}}}
|Scholar firstName={{{firstName|}}}
|Scholar orcid={{{orcid|}}}
|Scholar dblpId={{{dblpId|}}}
|Scholar wikiDataId={{{wikiDataId|}}}
|Scholar googleScholarUser={{{googleScholarUser|}}}
|Scholar linkedInId={{{linkedInId|}}}
|Scholar gndId={{{gndId|}}}
|Scholar smartCRMId={{{smartCRMId|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!firstName!!orcid!!dblpId!!wikiDataId!!googleScholarUser!!linkedInId!!gndId!!smartCRMId
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{firstName|}}}{{!}}{{!}}{{{orcid|}}}{{!}}{{!}}{{{dblpId|}}}{{!}}{{!}}{{{wikiDataId|}}}{{!}}{{!}}{{{googleScholarUser|}}}{{!}}{{!}}{{{linkedInId|}}}{{!}}{{!}}{{{gndId|}}}{{!}}{{!}}{{{smartCRMId|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>firstName={{#if:{{{firstName|}}}|{{{firstName|}}}|}}<br>orcid={{#if:{{{orcid|}}}|{{{orcid|}}}|}}<br>dblpId={{#if:{{{dblpId|}}}|{{{dblpId|}}}|}}<br>wikiDataId={{#if:{{{wikiDataId|}}}|{{{wikiDataId|}}}|}}<br>googleScholarUser={{#if:{{{googleScholarUser|}}}|{{{googleScholarUser|}}}|}}<br>linkedInId={{#if:{{{linkedInId|}}}|{{{linkedInId|}}}|}}<br>gndId={{#if:{{{gndId|}}}|{{{gndId|}}}|}}<br>smartCRMId={{#if:{{{smartCRMId|}}}|{{{smartCRMId|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Scholar
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Scholar/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!firstName
{{!}}&nbsp;{{#if:{{{firstName|}}}|{{{firstName|}}}|}}
{{!}}-
!orcid
{{!}}&nbsp;{{#if:{{{orcid|}}}|{{{orcid|}}}|}}
{{!}}-
!dblpId
{{!}}&nbsp;{{#if:{{{dblpId|}}}|{{{dblpId|}}}|}}
{{!}}-
!wikiDataId
{{!}}&nbsp;{{#if:{{{wikiDataId|}}}|{{{wikiDataId|}}}|}}
{{!}}-
!googleScholarUser
{{!}}&nbsp;{{#if:{{{googleScholarUser|}}}|{{{googleScholarUser|}}}|}}
{{!}}-
!linkedInId
{{!}}&nbsp;{{#if:{{{linkedInId|}}}|{{{linkedInId|}}}|}}
{{!}}-
!gndId
{{!}}&nbsp;{{#if:{{{gndId|}}}|{{{gndId|}}}|}}
{{!}}-
!smartCRMId
{{!}}&nbsp;{{#if:{{{smartCRMId|}}}|{{{smartCRMId|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Scholar]]{{#default_form:Scholar}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.