Template:Project: Difference between revisions
Appearance
Ttenbergen (talk | contribs) No edit summary |
Ttenbergen (talk | contribs) No edit summary |
||
| Line 51: | Line 51: | ||
| {{{shortDescription|}}} | | {{{shortDescription|}}} | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''[[Skillset]] : ''' | | style="background:silver; color:arsenic" align="right"| '''[[Skillset]](s) : ''' | ||
| <!-- 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: | ||
| Line 61: | Line 61: | ||
}} | }} | ||
|- | |- | ||
| style="background:silver; color:arsenic" align="right"| '''[[Project | | style="background:silver; color:arsenic" align="right"| '''[[Project Type]](s) : ''' | ||
| <!-- 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: | ||
Revision as of 19:54, 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
{{#cargo_declare: _table = Project | shortDescription = Wikitext string | longDescription = Wikitext | skillSet = List (;) of Page | projectType = List (;) of Page | northForge = boolean }}
- 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(s) : | {{#cargo_query:
tables=Projects |
fields=skillSet | where=_pageName = "Project" | format=list | default= No skillsets
}} |
| Project Type(s) : | {{#cargo_query:
tables=Projects |
fields=projectType | where=_pageName = "Project" | format=list | default= No project type
}} |
| North Forge: | |||||
Auto-list project types and skillsets and similars...