Difference between revisions of "Template:McNair Staff"

From edegan.com
Jump to navigation Jump to search
m (Reverted edits by Ed (talk) to last revision by Hu3)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
It uses the [[property:position]].
 
 
And [[:category:McNair Staff]] is included automatically.
 
 
</noinclude>
 
</noinclude>
  
Line 29: Line 25:
 
{{Infobox
 
{{Infobox
 
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 +
 
| title      = McNair Center Staff
 
| title      = McNair Center Staff
 +
 
| abovestyle  = background:#0d776e; font-size: 125%; color:#ffffff
 
| abovestyle  = background:#0d776e; font-size: 125%; color:#ffffff
| above      = [[position::{{{position|}}}]]
+
| above      = {{{position|}}}
 +
 
 
| image      = [[File:{{{user_image|Profile_placeholder.png}}}|200px|thumb|center]]
 
| image      = [[File:{{{user_image|Profile_placeholder.png}}}|200px|thumb|center]]
 +
 
| headerstyle = background:#0d776e; color:#ffffff;
 
| headerstyle = background:#0d776e; color:#ffffff;
| subheader  = [[name::{{{name|}}}]]
+
| subheader  = {{{name}}}
 
| header1    = Staff Information
 
| header1    = Staff Information
 +
 
| labelstyle  = width: 33%;
 
| labelstyle  = width: 33%;
 
| label2      = Name
 
| label2      = Name
| data2      = [[name::{{{name|}}}]]
+
| data2      = {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
 +
 
 
| label3      = Degree
 
| label3      = Degree
| data3      = [[degree::{{{degree|}}}]]
+
| data3      = {{#arraymap:{{{degree|}}}|,|x|[[degree::x]]}}
 +
 
 
| label4      = Major
 
| label4      = Major
| data4      = [[major::{{{major|}}}]]
+
| data4      = {{#arraymap:{{{major|}}}|,|x|[[major::x]]}}
 +
 
 
| label5      = Class of
 
| label5      = Class of
| data5      = [[class::{{{class|}}}]]
+
| data5      = {{#arraymap:{{{class|}}}|,|x|[[class::x]]}}
 +
 
 
| label6      = College
 
| label6      = College
| data6      = [[college::{{{college|}}}]]
+
| data6      = {{#arraymap:{{{college|}}}|,|x|[[college::x]]}}
 +
 
 
| label9      = Join Date
 
| label9      = Join Date
| data9      = [[join_date::{{{join_date|}}}]]
+
| data9      = {{#arraymap:{{{join_date|}}}|,|x|[[join_date::x]]}}
 +
 
 
| label10      = Skills
 
| label10      = Skills
 
| data10      = {{#arraymap:{{{skills|}}}|,|x|[[skills::x]]}}
 
| data10      = {{#arraymap:{{{skills|}}}|,|x|[[skills::x]]}}
| label11     = Interests
+
 
| data11       = {{#arraymap:{{{interests|}}}|,|x|[[interests::x]]}}
+
| label21     = Interests
| label12     = Fun Fact
+
| data21       = {{#arraymap:{{{interests|}}}|,|x|[[interests::x]]}}
| data12       = {{#arraymap:{{{fun_fact|}}}|,|x|[[fun_fact::x]]}}
+
 
| label13     = Email
+
| label24     = Fun Fact
| data13       = [[email::{{{email|}}}]]
+
| data24       = {{#arraymap:{{{fun_fact|}}}|,|x|[[fun_fact::x]]}}
| label14     = Skype Name
+
 
| data14       = [[skype_name::{{{skype_name|}}}]]
+
| label27     = Email
| label15     = Status
+
| data27       = {{#arraymap:{{{email|}}}|,|x|[[email::x]]}}
| data15       = [[status::{{{status|}}}]]
+
 
 +
| label31     = Skype Name
 +
| data31       = {{#arraymap:{{{skype_name|}}}|,|x|[[skype_name::x]]}}
 +
 
 +
| label31     = Status
 +
| data31       = {{#arraymap:{{{status|}}}|,|x|[[status::x]]}}
 +
 
 
| belowstyle  = background:#ffffff;
 
| belowstyle  = background:#ffffff;
| below      = © McNair Center, 2016
+
| below      = McNairCenterⓂ
 
}}
 
}}
  
{{#default_form:McNair Staff}}
+
{{#set:  
[[Category:McNair Staff]]
+
position={{{position|}}} |
 +
name={{{name|}}} |
 +
degree={{{degree|}}}
 +
major={{{major|}}} |
 +
college={{{college|}}} |
 +
class={{{class|}}} |
 +
join_date ={{{join_date|}}} |
 +
skills ={{{skills|}}} |
 +
interests ={{{interests|}}} |
 +
fun_fact ={{{fun_fact|}}} |
 +
email ={{{email|}}} |
 +
skype_name ={{{skype_name|}}} |
 +
status ={{{status|}}} |
 +
}}
  
 +
[[Category: McNair Staff]]
  
 
</includeonly>
 
</includeonly>

Latest revision as of 14:40, 16 April 2019

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

{{McNair Staff
|position=
|name=
|user_image=
|degree=
|major=
|class=
|join_date=
|skills=
|interests=
|fun_fact=
|email=
|skype_name=
|status=
}}

Edit the page to see the template text.