Difference between revisions of "Template:McNair Staff"

From edegan.com
Jump to navigation Jump to search
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 25: Line 29:
 
{{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|}}}
+
| above      = [[position::{{{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}}}
+
| subheader  = [[name::{{{name|}}}]]
 
| header1    = Staff Information
 
| header1    = Staff Information
−
 
 
| labelstyle  = width: 33%;
 
| labelstyle  = width: 33%;
 
| label2      = Name
 
| label2      = Name
−
| data2      = {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
+
| data2      = [[name::{{{name|}}}]]
−
 
 
 
| label3      = Degree
 
| label3      = Degree
−
| data3      = {{#arraymap:{{{degree|}}}|,|x|[[degree::x]]}}
+
| data3      = [[degree::{{{degree|}}}]]
−
 
 
 
| label4      = Major
 
| label4      = Major
−
| data4      = {{#arraymap:{{{major|}}}|,|x|[[major::x]]}}
+
| data4      = [[major::{{{major|}}}]]
−
 
 
 
| label5      = Class of
 
| label5      = Class of
−
| data5      = {{#arraymap:{{{class|}}}|,|x|[[class::x]]}}
+
| data5      = [[class::{{{class|}}}]]
−
 
 
 
| label6      = College
 
| label6      = College
−
| data6      = {{#arraymap:{{{college|}}}|,|x|[[college::x]]}}
+
| data6      = [[college::{{{college|}}}]]
−
 
 
 
| label9      = Join Date
 
| label9      = Join Date
−
| data9      = {{#arraymap:{{{join_date|}}}|,|x|[[join_date::x]]}}
+
| data9      = [[join_date::{{{join_date|}}}]]
−
 
 
 
| label10      = Skills
 
| label10      = Skills
 
| data10      = {{#arraymap:{{{skills|}}}|,|x|[[skills::x]]}}
 
| data10      = {{#arraymap:{{{skills|}}}|,|x|[[skills::x]]}}
−
 
 
| label11      = Interests
 
| label11      = Interests
 
| data11      = {{#arraymap:{{{interests|}}}|,|x|[[interests::x]]}}
 
| data11      = {{#arraymap:{{{interests|}}}|,|x|[[interests::x]]}}
−
 
 
| label12      = Fun Fact
 
| label12      = Fun Fact
 
| data12      = {{#arraymap:{{{fun_fact|}}}|,|x|[[fun_fact::x]]}}
 
| data12      = {{#arraymap:{{{fun_fact|}}}|,|x|[[fun_fact::x]]}}
−
 
 
| label13      = Email
 
| label13      = Email
−
| data13      = {{#arraymap:{{{email|}}}|,|x|[[email::x]]}}
+
| data13      = [[email::{{{email|}}}]]
−
 
 
 
| label14      = Skype Name
 
| label14      = Skype Name
−
| data14      = {{#arraymap:{{{skype_name|}}}|,|x|[[skype_name::x]]}}
+
| data14      = [[skype_name::{{{skype_name|}}}]]
−
 
 
 
| label15      = Status
 
| label15      = Status
−
| data15      = {{#arraymap:{{{status|}}}|,|x|[[status::x]]}}
+
| data15      = [[status::{{{status|}}}]]
−
 
 
 
| belowstyle  = background:#ffffff;
 
| belowstyle  = background:#ffffff;
 
| below      = © McNair Center, 2016
 
| below      = © McNair Center, 2016
−
}}
 
−
 
−
{{#set:
 
−
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|}}} |
 
 
}}
 
}}
  

Revision as of 19:20, 26 October 2017

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.

It uses the property:position.

And category:McNair Staff is included automatically.