Difference between revisions of "Member"
From ACES
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|TitleText=String | |TitleText=String | ||
|Cv=File | |Cv=File | ||
|Role=String (allowed values=Supervisor,Postdoctoral,PhD,Master,Undergraduate,Alumni) | |Role=String (allowed values=Supervisor,Postdoctoral,PhD,Master,Undergraduate,Alumni,Visiting Scholar) | ||
|Photo=File | |Photo=File | ||
}}</noinclude><includeonly>{{#if:{{{demo|}}}||{{#cargo_store:_table=Member|TitleText={{{Title|}}}}}}} | }}</noinclude><includeonly>{{#if:{{{demo|}}}||{{#cargo_store:_table=Member|TitleText={{{Title|}}}}}}} | ||
<div class="avatar"><!-- | <div class="avatar"><!-- | ||
--><div class="avatar-img">{{#ifexist:File:{{{Photo}}}|[[File:{{{Photo}}}]]|[[File:Portrait Placeholder.png]]}}</div><!-- | --><div class="avatar-img avatar-row">{{#ifexist:File:{{{Photo}}}|[[File:{{{Photo}}}]]|[[File:Portrait Placeholder.png]]}}</div><!-- | ||
--><div class="avatar-text"><!-- | --><div class="avatar-row"><div class="avatar-text"><!-- | ||
-->{{#if:{{{Name|}}}|<span class="avatar-name">{{{Name}}}</span>}}<!-- | -->{{#if:{{{Name|}}}|<span class="avatar-name">{{{Name}}}</span>}}<!-- | ||
-->{{#if:{{{Email|}}}|<span class="avatar-email">[mailto:{{{Email}}} <span class="material-icons">mail_outline</span>]</span>}}<!-- | -->{{#if:{{{Email|}}}|<span class="avatar-email">[mailto:{{{Email}}} <span class="material-icons-outlined">mail_outline</span>]</span>}}<!-- | ||
-->{{#if:{{{Cv|}}}|<span class="avatar-cv">[ | -->{{#if:{{{Website|}}}|<span class="avatar-website">[{{{Website}}} <span class="material-icons-outlined">public</span>]</span>}}<!-- | ||
-->{{#if:{{{Title|}}}|<span class="avatar-title">{{{Title}}}</span>}}<!-- | -->{{#if:{{{Cv|}}}|<span class="avatar-cv">[{{fullurl:File:{{{Cv}}}}} <span class="material-icons-outlined">contact_page</span>]</span>}}<!-- | ||
--></div><!-- | |||
-->{{#if:{{{Title|}}}|<span class="avatar-title avatar-row">{{{Title}}}</span>}}<!-- | |||
--></div><!-- | --></div><!-- | ||
--></div></includeonly><noinclude> | --></div></includeonly><noinclude> | ||
Line 49: | Line 51: | ||
}, | }, | ||
"Role": { | "Role": { | ||
"description": "The member's role. Allowed values: Supervisor, Postdoctoral, PhD, Master, Undergraduate, Alumni", | "description": "The member's role. Allowed values: Supervisor, Postdoctoral, PhD, Master, Undergraduate, Alumni, Visiting Scholar", | ||
"type": "string", | "type": "string", | ||
"suggested": true | |||
}, | |||
"demo": { | |||
"description": "Only set to 1 for demo use" | |||
}, | |||
"Website": { | |||
"description": "The personal website for the member", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 59: | Line 68: | ||
"Photo", | "Photo", | ||
"Email", | "Email", | ||
"Website", | |||
"Cv", | "Cv", | ||
"Role" | "Role", | ||
"demo" | |||
], | ], | ||
"format": "block", | "format": "block", | ||
Line 73: | Line 84: | ||
|Email=farinaz@ucsd.edu | |Email=farinaz@ucsd.edu | ||
|Photo=Farinaz.jpg | |Photo=Farinaz.jpg | ||
|Cv=Farinaz.jpg | |||
|Title=Principal Coordinator | |||
|demo=1 | |demo=1 | ||
}}</noinclude> | }}</noinclude> |
Latest revision as of 15:53, 24 September 2021
This template defines the table "Member". View table.
This template add an member in the research group.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | The name of the member
| String | required |
Title | Title | The member's title
| String | suggested |
Photo | Photo | The file name (with file extension) of a photo of the member. You can save the page and then upload the photo via the red link generated.
| File | suggested |
Email | The working email address of the member
| String | suggested | |
Website | Website | The personal website for the member | Unknown | suggested |
Cv | Cv | The CV file(with file extension, which is usually ".pdf") of the member. You can save the page and then upload the file via the red link generated. | File | suggested |
Role | Role | The member's role. Allowed values: Supervisor, Postdoctoral, PhD, Master, Undergraduate, Alumni, Visiting Scholar | String | suggested |
demo | demo | Only set to 1 for demo use | Unknown | optional |