Template:Glygenmember/doc: Difference between revisions

From GlyGen Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
You can achieve the same result by using either one of these methods.
Using <code><nowiki>type =</nowiki></code> parameter will automatically create GlyGen member information.
{{Glygenmember
{{Glygenmember
| title = GlyGen member
| title = GlyGen member
Line 10: Line 13:
</pre>
</pre>


GlyGen member <code><nowiki>type =</nowiki></code> examples
<pre>
| type  = will
| type  = raja
| type  = rene
| type  = tatiana
</pre>
Common parameters
{{Glygenmember
{{Glygenmember
| title      = GlyGen member
| title      = GlyGen member
Line 24: Line 35:
| position    = Principle Investigator
| position    = Principle Investigator
| institution = The University of Georgia,
| institution = The University of Georgia,
| location    = Athens, GA}}
| location    = Athens, GA
</pre>
}}
 
<pre>
<table class="infobox" style="width: 18em;">
<tr>
<th style="text-align:center;font-size:125%;font-weight:bold;">{{#if:{{{with|{{{for|{{{title|}}}}}}}}}|{{{with|{{{for|{{{title}}}}}}}}}}}</th>
</tr>
<tr>
<td style="text-align:center;"{{#ifeq:{{{image|}}}|none|style="padding:0 !important"}}>
{{#ifeq:{{{image}}}|none
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
  | <div> {{#switch:{{{image|{{{type|}}}}}}
    | will    = [[File:Will-York.png|220px|alt=Will York|link=https://www.ccrc.uga.edu/personnel/index.php?uid=243]]
    | raja    = [[File:Raja_Mazumder.png|220px|alt=Raja Mazumder|link=https://www.gwumc.edu/smhs/facultydirectory/profile.cfm?empName=Raja%20Mazumder&FacID=2067473740]]
    | rene    = [[File:Rene-Ranzinger.jpeg|220px|alt=Rene Ranzinger]]
    | tatiana  = [[File:Tatiana.png|220px|alt=Tatiana Williamson|link=https://www.linkedin.com/in/tatiana-williamson/]]
    | #default = {{{image|[[File:Logo-glygen-blue-top.svg|220px|center|style=border-radius:50%;
    border:2px solid #ccc;|alt=logo GlyGen|link=https://www.glygen.org/index.html]]}}}
  }}</div>
}} </td>
</tr>
<tr>
<th style="text-align:center; color:#2F78B7; font-size:125%;" {{#ifeq:{{{membername|}}}|none|style="padding:0 !important"}}>
{{#ifeq:{{{membername}}}|none
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
  | <div> {{#switch:{{{membername|{{{type|}}}}}}
    | will    = Will York
    | raja    = Raja Mazumder
    | rene    = Rene Ranzinger
    | tatiana = Tatiana Williamson
  }}</div>
}} {{#if:{{{with|{{{for|{{{membername|}}}}}}}}}|{{{with|{{{for|{{{membername}}}}}}}}}}}</th>
</tr>
<tr>
<td style="text-align:center; font-style: italic;" {{#ifeq:{{{position|}}}|none|style="padding:0 !important"}}>
{{#ifeq:{{{position}}}|none
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
  | <div> {{#switch:{{{position|{{{type|}}}}}}
    | will    = Principle Investigator
    | raja    = Principle Investigator
    | rene    = Project Software Lead
    | tatiana = UI/UX Designer & UI Developer
  }}</div>
}} {{#if:{{{with|{{{for|{{{position|}}}}}}}}}|''{{{with|{{{for|{{{position}}}}}}}}}''}}</td>
</tr>
<tr>
<td style="text-align:center; {{#ifeq:{{{institution|}}}|none|style="padding:0 !important"}}>
{{#ifeq:{{{institution}}}|none
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
  | <div> {{#switch:{{{institution|{{{type|}}}}}}
    | will    = The University of Georgia,
    | raja    = The George Washington University,
    | rene    = The University of Georgia, 
    | tatiana = The University of Georgia,
  }}</div>
}} {{#if:{{{with|{{{for|{{{institution|}}}}}}}}}|{{{with|{{{for|{{{institution}}}}}}}}}}}</td>
</tr>
<tr>
<td style="text-align:center; {{#ifeq:{{{location|}}}|none|style="padding:0 !important"}}>
{{#ifeq:{{{location}}}|none
  | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
  | <div> {{#switch:{{{location|{{{type|}}}}}}
    | will    = Athens, GA
    | raja    = Washington, DC
    | rene    = Athens, GA 
    | tatiana = Athens, GA
  }}</div>
}} {{#if:{{{with|{{{for|{{{location|}}}}}}}}}|{{{with|{{{for|{{{location}}}}}}}}}}}</td>
</tr>
</table>
</pre>
</pre>

Latest revision as of 17:16, 2 December 2019

You can achieve the same result by using either one of these methods.

Using type = parameter will automatically create GlyGen member information.

GlyGen member
Tatiana Williamson
Tatiana Williamson
UI/UX Designer & UI Developer
The University of Georgia,
Athens, GA
{{Glygenmember
| title = GlyGen member
| type  = tatiana
}}

GlyGen member type = examples

| type  = will
| type  = raja
| type  = rene
| type  = tatiana

Common parameters

GlyGen member
Will York
Will York
Principle Investigator
The University of Georgia,
Athens, GA
{{Glygenmember
| title       = GlyGen member
| image       = [[File:Will-York.png|220px|alt=Will York|link=https://www.ccrc.uga.edu/personnel/index.php?uid=243]]
| membername  = Will York
| position    = Principle Investigator
| institution = The University of Georgia,
| location    = Athens, GA
}}