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 32: Line 32:


[[Category:Project Wiki Infrastructure]]
[[Category:Project Wiki Infrastructure]]
----
----</noinclude>
<div style="clear:right;">
<div style="clear:right;">
{| class="wikitable" border="1" style="float:right; width:30%"
{| class="wikitable" border="1" style="float:right; width:30%"
Line 44: Line 44:
|-
|-
| style="background:silver; color:arsenic" align="right"| '''[[Skillset]](s) : '''
| 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.
| <!-- direct parameter list won't display as links-->
-->{{#cargo_query:
{{#cargo_query:
tables=Projects
tables=Projects
|fields=skillSet
|fields=skillSet
Line 54: Line 54:
|-
|-
| style="background:silver; color:arsenic" align="right"| '''[[Project Type]](s) : '''
| 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.
| <!-- direct parameter list won't display as links-->
-->{{#cargo_query:
{{#cargo_query:
tables=Projects
tables=Projects
|fields=projectType  
|fields=projectType  
Line 68: Line 68:
|}  
|}  


</noinclude>
 
* Internal Link: <includeonly>[[Internal:{{PAGENAME}}]]</includeonly>
* Internal Link: <includeonly>[[Internal:{{PAGENAME}}]]</includeonly>
** 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

Revision as of 19:04, 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
Project: Project
Description:
Skillset(s) :
Error: Table Projects not found.
Project Type(s) :
Error: Table Projects not found.
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...