Template:Project: Difference between revisions
Appearance
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"| ''' | | style="background:silver; color:arsenic; width:25%" align="right"| '''Project: ''' | ||
| {{PAGENAME}} | | {{PAGENAME}} | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| ''' | | style="background:silver; color:arsenic" align="right"| '''Description: ''' | ||
| {{{ | | {{{shortDescription|}}} | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| ''' | | style="background:silver; color:arsenic" align="right"| '''[[Skillset]] : ''' | ||
| | | <!-- 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=Projects | |||
|fields=skillSet | |||
|where=_pageName = "{{PAGENAME}}" | |||
| | |format=list | ||
|default= No skillsets | |||
| | }} | ||
| | |||
| | |||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''[[ | | 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= | tables=Projects | ||
|fields= | |fields=projectType | ||
|where=_pageName = "{{PAGENAME}}" | |where=_pageName = "{{PAGENAME}}" | ||
|format=list | |format=list | ||
|default= No | |default= No project type | ||
}} | }} | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| ''' | | style="background:silver; color:arsenic" align="right"| '''North Forge: ''' | ||
| {{{ | | {{{northForge|}}} | ||
|- | |- | ||
|} | |} |
Revision as of 18: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
- start with Integration of Espresso Maker Pod into Coffee Grinder Bucket, Category:Portfolio and Category:Personal Project
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...