Jump to content

Template:Project: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
No edit summary
Ttenbergen (talk | contribs)
No edit summary
Line 3: Line 3:


* internal link - if logged in, will redlink if page doesn't exist, right?  
* internal link - if logged in, will redlink if page doesn't exist, right?  
* photo - if related filename exist
* section for short description start (encode data)
* section for short description start (encode data)
* photo - if related filename exist
* long description / free text
* long description / free text
* possibly encode skillset and project type and list collapsables of similars at bottom?  
* possibly encode skillset and project type and list collapsables of similars at bottom?  
* does it involve [[North Forge Fabrication Lab]]
* does it involve [[North Forge Fabrication Lab]]
* start with [[Integration of Espresso Maker Pod into Coffee Grinder Bucket]], [[:Category:Portfolio]] and [[:Category:Personal Project]]
* start with [[Integration of Espresso Maker Pod into Coffee Grinder Bucket]], [[:Category:Portfolio]] and [[:Category:Personal Project]]
To use:
<nowiki>{{ Project |
| shortDescription
| longDescription
| skillSet
| projectType
| northForge
}}</nowiki>
===Cargo declaration===
{{#cargo_declare:
_table = Project
| Program = String
| StartDtTm = Date
| EndDtTm = Date
| Frequency = String
| ContactPerson = String
| Recipients = String
| MailingList = String
| DataDependencies = List (;) of Page
| SASFiles = String
}}
[[Category:Project Wiki Infrastructure]]
----


</noinclude>
</noinclude>
Internal Link: [[Internal:{{PAGENAME}}]]
This should only show if logged in, need to figure out CSS for that from Internal Wiki example
<div style="clear:right;">
{| class="wikitable" border="1" style="float:right; width:30%"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Reports]]</span>
|-
| style="background:silver; color:arsenic; width:25%" align="right"| '''Report: '''
| {{PAGENAME}}
|-
| style="background:silver; color:arsenic" align="right"| '''StartDtTm: '''
| {{{StartDtTm|}}}
|-
| style="background:silver; color:arsenic" align="right"| '''EndDtTm: '''
| {{{EndDtTm|}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Contact Person : '''
| {{{ContactPerson }}}
|-
| style="background:silver; color:arsenic" align="right"| '''Recipients: '''
| {{{Recipients}}}
|-
| style="background:silver; color:arsenic" align="right"| '''Frequency: '''
| {{{Frequency}}}
|-
| style="background:silver; color:arsenic" align="right"| '''MailingList: '''
| {{{MailingList}}}
|-
| style="background:silver; color:arsenic" align="right"| '''[[Indicators|Data Dependencies]] : '''
| <!-- if we list the parameter here directly it will not display as page links, it needs to be processed by Cargo as a list to work right, so needs to be done as query.
-->{{#cargo_query:
tables=Reports
|fields=DataDependencies
|where=_pageName = "{{PAGENAME}}"
|format=list
|default= No reports on this wiki list this as an indicator.
}}
|-
| style="background:silver; color:arsenic" align="right"| '''SASFiles: '''
| {{{SASFiles}}}
|-
|}
Auto-list project types and skillsets and similars...
&nbsp;<!-- without this nbsp the template misbehaves! --> <includeonly><div style="display: none;">
* Cargo
{{#cargo_store:
_table = Reports
| Program = {{{Program|}}}
| StartDtTm = {{{StartDtTm|}}}
| EndDtTm = {{{EndDtTm|}}}
| Frequency = {{{Frequency|}}}
| ContactPerson = {{{ContactPerson |}}}
| Recipients  =  {{{Recipients|}}}
| MailingList = {{{MailingList|}}}
| DataDependencies = {{{DataDependencies|}}}
| SASFiles  = {{{SASFiles|}}}
}}
* Categories
[[Category:Reports]]
* Default form: {{#default_form:Report}}
</div></includeonly>

Revision as of 19:27, 2021 October 20

Show:

  • internal link - if logged in, will redlink if page doesn't exist, right?
  • photo - if related filename exist
  • section for short description start (encode data)
  • long description / free text
  • possibly encode skillset and project type and list collapsables of similars at bottom?
  • does it involve North Forge Fabrication Lab


To use: {{ Project | | shortDescription | longDescription | skillSet | projectType | northForge }}

Cargo declaration

This template defines the table "Project". View table.




Internal Link: Internal:Project This should only show if logged in, need to figure out CSS for that from Internal Wiki example

Reports
Report: Project
StartDtTm:
EndDtTm:
Contact Person : {{{ContactPerson }}}
Recipients: {{{Recipients}}}
Frequency: {{{Frequency}}}
MailingList: {{{MailingList}}}
Data Dependencies :
Error: Table Reports not found.
SASFiles: {{{SASFiles}}}

Auto-list project types and skillsets and similars...