Difference between revisions of "Template:McNair Projects"

From edegan.com
Jump to navigation Jump to search
 
(45 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{McNair Projects
 
{{McNair Projects
|Project Title=
+
|Has image=  
|Topic Area=
+
|Has title=
|Owner=
+
|Has owner=
|Start Term=
+
|Has start date=
|End Term=
+
|Has deadline=
|Status=
+
|Has keywords=
|Deliverable=
+
|Is billed to=
|Audience=
+
|Has notes=
|Skills Needed=
+
|Has project status=
|Keywords=
+
|Is dependent on=
|Primary Billing=
+
|Does subsume=
|Test1=
 
|Test2=
 
|Test3=
 
 
}}
 
}}
 +
 
</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 #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
! Project Title
 
| [[Project Title::{{{Project Title|}}}]]
 
|-
 
! Topic Area
 
| [[Topic Area::{{{Topic Area|}}}]]
 
|-
 
! Owner
 
| [[Owner::{{{Owner|}}}]]
 
|-
 
! Start Term
 
| [[Start Term::{{{Start Term|}}}]]
 
|-
 
! End Term
 
| [[End Term::{{{End Term|}}}]]
 
|-
 
! Status
 
| {{#arraymap:{{{Status|}}}|,|x|[[Status::x]]}}
 
|-
 
! Deliverable
 
| [[Deliverable::{{{Deliverable|}}}]]
 
|-
 
! Audience
 
| [[Audience::{{{Audience|}}}]]
 
|-
 
! Skills Needed
 
| {{#arraymap:{{{Skills Needed|}}}|,|x|[[Skills Needed::x]]}}
 
|-
 
! Keywords
 
| {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
 
|-
 
! Primary Billing
 
| [[Primary Billing::{{{Primary Billing|}}}]]
 
|-
 
! Test Property
 
| [[Test Property::{{{Test1; Test2; Test3|}}}
 
|}
 
  
<!-- | [[has type::Value1; Value2; Value3]] -->
+
It uses the [[property:Has project status]].
 +
 
 +
And [[:category:McNair Projects]] is included automatically.
 +
 
 +
</noinclude>
  
{{#set:
+
<includeonly>
  |Skills Needed=;value2;value3|+sep=;
+
{{Infobox
 +
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 +
| title      = McNair Project
 +
| abovestyle = background:#0d776e; font-size: 125%; color:#ffffff
 +
| above      = {{PAGENAME}}
 +
| image      = [[File:{{{Has Image|Project_logo_02.png}}}|200px|thumb|center]]
 +
| headerstyle = background:#0d776e; color:#ffffff
 +
| header1    = Project Information
 +
| labelstyle  = width: 33%;  
 +
| label2      = Project Title
 +
| data2      = [[Has title::{{{Has title|}}}]]
 +
| label3      = Owner
 +
| data3      = {{#arraymap:{{{Has owner|}}}|,|x|[[Has owner::x]]}}
 +
| label4      = Start Date
 +
| data4      = [[Has start date::{{{Has start date|}}}]]
 +
| label5      = Deadline
 +
| data5      = [[Has deadline::{{{Has deadline|}}}]]
 +
| label6      = Keywords
 +
| data6      = {{#arraymap:{{{Has keywords|}}}|,|x|[[Has keywords::x]]}}
 +
| label7      = Primary Billing
 +
| data7      = [[Is billed to::{{{Is billed to|}}}]]
 +
| label8      = Notes
 +
| data8      = [[Has notes::{{{Has notes|}}}]]
 +
| label9      = Has project status
 +
| data9      = [[Has project status::{{{Has project status|}}}]]
 +
| label10      = Is dependent on
 +
| data10      = {{#arraymap:{{{Is dependent on|}}}|,|x|[[Is dependent on::x]]}}
 +
| label11      = Dependent(s):
 +
| data11      = {{#ask: [[Category:McNair Projects]] [[Is dependent on::{{PAGENAME}}]]}}
 +
| label12      = Subsumes:
 +
| data12      = {{#arraymap:{{{Does subsume|}}}|,|x|[[Does subsume::x]]}}
 +
| label13      = Subsumed by:
 +
| data13      = {{#ask: [[Category:McNair Projects]] [[Does subsume::{{PAGENAME}}]]}}
 +
| belowstyle  = background:#d6d6d6; font-size: 0.7em;
 +
| below      = Copyright © 2016 edegan.com. All Rights Reserved.
 
}}
 
}}
  
[[Category:McNair Projects]]
+
{{#default_form:McNair Projects}}
 +
[[category:McNair Projects]]
 
</includeonly>
 
</includeonly>
 +
<!-- flush flush --><!-- flush flush --><!-- flush flush --><!-- flush -->

Latest revision as of 12:21, 11 March 2019

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

{{McNair Projects
|Has image= 
|Has title=
|Has owner=
|Has start date=
|Has deadline=
|Has keywords=
|Is billed to=
|Has notes=
|Has project status=
|Is dependent on=
|Does subsume=
}}

Edit the page to see the template text.

It uses the property:Has project status.

And category:McNair Projects is included automatically.