Difference between revisions of "Member"
From ACES
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{#cargo_declare:_table=Member | ||
|Name=String | |||
{{#cargo_declare:_table=Member|Name=String|Email=Email| | |Email=Email | ||
</noinclude><includeonly>{{#cargo_store:_table=Member}} | |TitleText=String | ||
{{# | |Cv=File | ||
|Role=String (allowed values=Supervisor,Postdoctoral,PhD,Master,Undergraduate,Alumni,Visiting Scholar) | |||
|Photo=File | |||
}}</noinclude><includeonly>{{#if:{{{demo|}}}||{{#cargo_store:_table=Member|TitleText={{{Title|}}}}}}} | |||
<div class="avatar"><!-- | |||
--><div class="avatar-img avatar-row">{{#ifexist:File:{{{Photo}}}|[[File:{{{Photo}}}]]|[[File:Portrait Placeholder.png]]}}</div><!-- | |||
--><div class="avatar-row"><div class="avatar-text"><!-- | |||
-->{{#if:{{{Name|}}}|<span class="avatar-name">{{{Name}}}</span>}}<!-- | |||
-->{{#if:{{{Email|}}}|<span class="avatar-email">[mailto:{{{Email}}} <span class="material-icons-outlined">mail_outline</span>]</span>}}<!-- | |||
-->{{#if:{{{Website|}}}|<span class="avatar-website">[{{{Website}}} <span class="material-icons-outlined">public</span>]</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></includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Photo": { | |||
"type": "wiki-file-name", | |||
"suggested": true, | |||
"description": "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.", | |||
"example": "Farinaz.jpg" | |||
}, | |||
"Name": { | |||
"type": "string", | |||
"required": true, | |||
"description": "The name of the member", | |||
"example": "Farinaz Koushanfar" | |||
}, | |||
"Email": { | |||
"type": "string", | |||
"suggested": true, | |||
"description": "The working email address of the member", | |||
"example": "farinaz@ucsd.edu" | |||
}, | |||
"Cv": { | |||
"type": "wiki-file-name", | |||
"suggested": true, | |||
"description": "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." | |||
}, | |||
"Title": { | |||
"type": "string", | |||
"suggested": true, | |||
"description": "The member's title", | |||
"example": "Principal Coordinator" | |||
}, | |||
"Role": { | |||
"description": "The member's role. Allowed values: Supervisor, Postdoctoral, PhD, Master, Undergraduate, Alumni, Visiting Scholar", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"demo": { | |||
"description": "Only set to 1 for demo use" | |||
}, | |||
"Website": { | |||
"description": "The personal website for the member", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Name", | |||
"Title", | |||
"Photo", | |||
"Email", | |||
"Website", | |||
"Cv", | |||
"Role", | |||
"demo" | |||
], | |||
"format": "block", | |||
"description": "This template add an member in the research group." | |||
} | |||
</templatedata> | |||
== Example == | |||
{{Member | |||
|Name=Farinaz Koushanfar | |||
|Role=Faculty | |||
|Email=farinaz@ucsd.edu | |||
|Photo=Farinaz.jpg | |||
|Cv=Farinaz.jpg | |||
|Title=Principal Coordinator | |||
|demo=1 | |||
}}</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 |