Difference between revisions of "Template:McNair Faculty"

From edegan.com
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Infobox McNair Faculty" template.
+
This is the "McNair Faculty" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 
{{McNair Faculty
 
{{McNair Faculty
 
|name=
 
|name=
|position=
+
|Position=
 
|user_image=
 
|user_image=
 
|title=
 
|title=
|Degree=
+
|degree=
|School=
+
|school=
 
|phone_number=
 
|phone_number=
 
|email=
 
|email=
Line 20: Line 20:
 
</noinclude>
 
</noinclude>
  
 +
<includeonly>
 
{{Infobox
 
{{Infobox
| bodyclass  = vcard
+
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
| bodystyle  = {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}} {{#if:{{{width|}}}|width: {{{width}}};}} {{#if:{{{tablecolor|}}}|background-color: {{{tablecolor}}}}}
+
 
| abovestyle  = background:green;
+
| abovestyle  = background:#0d776e; font-size: 125%; color:#ffffff
| headerstyle = background:green;
+
| headerstyle = background:#0d776e; color:#ffffff
  
 
| title      = McNair Center Faculty
 
| title      = McNair Center Faculty
Line 31: Line 32:
 
| subheader  = {{{name}}}
 
| subheader  = {{{name}}}
  
| image      = [[File:{{{user_image|Profile_placeholder.png}}}|200px|thumb|center|{{{name}}}]]
+
| image      = [[File:{{{user_image|Profile_placeholder.png}}}|200px|thumb|center]]
  
| header1    = Info
+
| header1    = Faculty Information
  
 +
| labelstyle  = width: 33%
 
| label1      = Name
 
| label1      = Name
| data1      = {{{name}}}
+
| data1      = {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
  
 
| label2      = Title
 
| label2      = Title
| data2      = {{{title}}}
+
| data2      = {{#arraymap:{{{title|}}}|,|x|[[title::x]]}}
  
 
| label3      = Degree
 
| label3      = Degree
| data3      = {{{degree| }}}
+
| data3      = {{#arraymap:{{{degree|}}}|,|x|[[degree::x]]}}
  
 
| label4      = School
 
| label4      = School
| data4      = {{{school| }}}
+
| data4      = {{#arraymap:{{{school|}}}|,|x|[[school::x]]}}
  
 
| label5      = McNair Team Join Date
 
| label5      = McNair Team Join Date
| data5      = {{{join_date}}}
+
| data5      = {{#arraymap:{{{join_date|}}}|,|x|[[join_date::x]]}}
  
 
| label6    = Email
 
| label6    = Email
| data6      = {{{email}}}
+
| data6      = {{#arraymap:{{{email|}}}|,|x|[[email::x]]}}
 
 
| label7      = Phone Number
 
| data7      = {{{phone_number}}}
 
  
 
| label8      = Skype Name
 
| label8      = Skype Name
| data8      = {{{skype_name}}}
+
| data8      = {{#arraymap:{{{skype_name|}}}|,|x|[[skype_name::x]]}}
  
 
| label8      = Website
 
| label8      = Website
| data8      = {{{URL}}}
+
| data8      = {{#arraymap:{{{URL|}}}|,|x|[[URL::x]]}}
 
}}
 
}}
  
[[Category:McNair Staff]]
+
[[Category: McNair Faculty]]
[[Category:McNair Faculty]]
+
</includeonly>
  
 
{{#set:  
 
{{#set:  
Line 73: Line 72:
 
Join Date ={{{join_date|}}} |  
 
Join Date ={{{join_date|}}} |  
 
Email ={{{email|}}} |  
 
Email ={{{email|}}} |  
Phone Number ={{{phone_number|}}} |
 
 
Skype Name ={{{skype_name|}}} |
 
Skype Name ={{{skype_name|}}} |
 
Website ={{{URL|}}} |
 
Website ={{{URL|}}} |
 
}}
 
}}
</includeonly>
 

Latest revision as of 13:05, 17 August 2018

This is the "McNair Faculty" template. It should be called in the following format:

{{McNair Faculty
|name=
|Position=
|user_image=
|title=
|degree=
|school=
|phone_number=
|email=
|skype_name=
|join_date=
|URL=
}}

Edit the page to see the template text.