Difference between revisions of "Template:McNair Topic Areas"

From edegan.com
Jump to navigation Jump to search
Line 13: Line 13:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #0d776e; background-color: #eeeeee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.5em; float: right; clear: right; text-align:left;"
+
</noinclude>
! style="text-align: center; background-color:#0d776e;" colspan="2"|<span style="font-size: larger;">{{PAGENAME}}</span>
+
 
|-
+
<includeonly>
! style="text-align: center; background-color:#f9f9f9;" colspan="2"|[[File:{{{Image|Profile_placeholder.png}}}|200px|thumb|center|<div style="text-align: center;">{{{Caption}}}</div>]]
+
{{Infobox
|-
+
| bodyclass  = vcard
! {{#if: {{{Topic Area Name|}}} | Topic Area Name | bnbn}}
+
| bodystyle  = {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}};}} {{#if:{{{width|}}}|width: {{{width}}};}} {{#if:{{{tablecolor|}}}|background-color: {{{tablecolor}}}}}
| {{{Topic Area Name|}}}
+
| abovestyle  = background:green;
|-
+
| headerstyle = background:green;
! Team Members|
+
 
| {{{Team Members|}}}
+
| title      = McNair Topic Areas
|-
+
| above      = {{{PAGENAME}}}
! Primary Billing|
+
 
| {{{Primary Billing|}}}
+
| subheader  = {{{PAGENAME}}}
|-
+
 
! Keywords
+
| image      = [[File:{{{Image|}}}|200px|thumb|center|{{{Caption}}}]]
| {{{Keywords|}}}
+
 
|}
+
| header1    = Info
 +
 
 +
| label1      = Topic Area Name
 +
| data1      = {{#arraymap:{{{Topic Area Name|}}}|,|x|[[Topic Area Name::x]]}}
 +
 
 +
| label2      = Team Members
 +
| data2      = {{#arraymap:{{{Team Members|}}}|,|x|[[Team Members::x]]}}
 +
 
 +
| label3      = Primary Billing
 +
| data3      = {{#arraymap:{{{Primary Billing|}}}|,|x|[[Primary Billing::x]]}}
 +
 
 +
| label4      = Keywords
 +
| data4      = {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 +
}}
 +
</includeonly>
 +
 
 
[[Category:McNair Topic Areas]]
 
[[Category:McNair Topic Areas]]
</includeonly>
 

Revision as of 12:28, 9 June 2016

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

{{McNair Topic Areas
|Topic Area Name=
|Team Members=
|Primary Billing=
|Keywords=
|Caption=
|Image=
}}

Edit the page to see the template text.