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 14: Line 14:
To use:  
To use:  
<nowiki>{{ Project |
<nowiki>{{ Project |
| shortDescription
| shortDescription
| longDescription
| longDescription
| skillSet
| skillSet
| projectType
| projectType
| northForge
| northForge
}}</nowiki>
}}</nowiki>


Line 70: Line 76:
|-
|-
|}  
|}  
 
{{#cargo_query:
tables=Project
|fields=CONCAT("[[Category:",skillSet,"]]")
|where=_pageName = "{{PAGENAME}}"
|default=
}}
{{{longDescription|}}}
{{{longDescription|}}}


Line 87: Line 98:
* Categories
* Categories
[[Category:Project]]
[[Category:Project]]


* Default form
* Default form

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


Projects
File:Project
Project: Project
    • This should only show if logged in, need to figure out CSS for that from Internal Wiki example
Description:
Skillset(s) :

No skillsets

Project Type(s) :

No project type

North Forge:
Error 1054: Unknown column 'skillSet' in 'field list'

Function: CargoSQLQuery::run Query: SELECT `mw_cargo__Project`.`_pageID` AS `cargo_backlink_page_id_Project`,CONCAT("") FROM `mw_cargo__Project` WHERE _pageName = "Project" ORDER BY `mw_cargo__Project`.`_pageID`,CONCAT("") LIMIT 100