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 46: Line 46:
| <!-- direct parameter list won't display as links-->
| <!-- direct parameter list won't display as links-->
{{#cargo_query:
{{#cargo_query:
tables=Projects
tables=Project
|fields=skillSet
|fields=skillSet
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"
Line 56: Line 56:
| <!-- direct parameter list won't display as links-->
| <!-- direct parameter list won't display as links-->
{{#cargo_query:
{{#cargo_query:
tables=Projects
tables=Project
|fields=projectType  
|fields=projectType  
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"

Revision as of 20:06, 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

{{#cargo_declare: _table = Project | shortDescription = Wikitext string | longDescription = Wikitext | skillSet = List (;) of Page | projectType = List (;) of Page | northForge = boolean }}


Projects
Project: Project
Description:
Skillset(s) :

{{#cargo_query: tables=Project

fields=skillSet where=_pageName = "Project" format=list default= No skillsets

}}

Project Type(s) :

{{#cargo_query: tables=Project

fields=projectType where=_pageName = "Project" format=list default= No project type

}}

North Forge:


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


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