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 33: Line 33:
[[Category:Project Wiki Infrastructure]]
[[Category:Project Wiki Infrastructure]]
----
----




Line 40: Line 38:
* Internal Link: [[Internal:{{PAGENAME}}]]
* Internal Link: [[Internal:{{PAGENAME}}]]
** This should only show if logged in, need to figure out CSS for that from Internal Wiki example
** This should only show if logged in, need to figure out CSS for that from Internal Wiki example
{{{longDescription|}}}


<div style="clear:right;">
<div style="clear:right;">
Line 45: Line 45:
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Reports]]</span>
| 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: '''
| style="background:silver; color:arsenic; width:25%" align="right"| '''Project: '''
| {{PAGENAME}}
| {{PAGENAME}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''StartDtTm: '''
| style="background:silver; color:arsenic" align="right"| '''Description: '''
| {{{StartDtTm|}}}
| {{{shortDescription|}}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''EndDtTm: '''
| style="background:silver; color:arsenic" align="right"| '''[[Skillset]] : '''
| {{{EndDtTm|}}}
| <!-- 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:
| style="background:silver; color:arsenic" align="right"| '''Contact Person : '''
tables=Projects
| {{{ContactPerson }}}
|fields=skillSet
|-
|where=_pageName = "{{PAGENAME}}"
| style="background:silver; color:arsenic" align="right"| '''Recipients: '''
|format=list
| {{{Recipients}}}
|default= No skillsets
|-
}}
| 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]] : '''
| style="background:silver; color:arsenic" align="right"| '''[[Project Types]] : '''
| <!-- 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.  
| <!-- 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:
-->{{#cargo_query:
tables=Reports
tables=Projects
|fields=DataDependencies
|fields=projectType
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"
|format=list
|format=list
|default= No reports on this wiki list this as an indicator.
|default= No project type
}}
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''SASFiles: '''
| style="background:silver; color:arsenic" align="right"| '''North Forge: '''
| {{{SASFiles}}}
| {{{northForge|}}}
|-
|-
|}  
|}  

Revision as of 19:53, 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
Project: Project
Description:
Skillset :
Error: Table Projects not found.
Project Types :
Error: Table Projects not found.
North Forge:

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