Jump to content

Template:Project: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
No edit summary
Ttenbergen (talk | contribs)
mNo edit summary
 
(51 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Show:
Uses [[Form:Project]], use that to make new pages.
 
* 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:
<nowiki>{{ Project |
| shortDescription
| longDescription
| skillSet
| projectType
| northForge
}}</nowiki>


===Cargo declaration===
===Cargo declaration===
Line 26: Line 7:
| shortDescription = Wikitext string
| shortDescription = Wikitext string
| longDescription = Wikitext
| longDescription = Wikitext
| geekery = Wikitext
| mainImage = File
| skillSet = List (;) of Page
| skillSet = List (;) of Page
| projectType = List (;) of Page
| projectType = List (;) of Page
| northForge = boolean
| northForge = boolean
| randomChangeForce = boolean
}}
}}


Line 34: Line 18:
----</noinclude>
----</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:300px"
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Projects]]</span>
| style="text-align: center; background-color:#99c2ff;" colspan="2" | <span style="font-size: larger;">[[Projects]]</span>
|-
| style="text-align: center; background-color:#99c2ff;" colspan="2" | {{#cargo_query:
tables=Project
|fields=CONCAT("[[File:",mainImage,"|280px]]" )=
|where=_pageName="{{PAGENAME}}"
|format=list
|default=[[File:Squirrelslair.png|280px]]
}}
|-
|-
| style="background:silver; color:arsenic; width:25%" align="right"| '''Project: '''
| style="background:silver; color:arsenic; width:25%" align="right"| '''Project: '''
| {{PAGENAME}}
| {{PAGENAME}} <includeonly>[[Internal:{{PAGENAME}}|(I)]]</includeonly>
|-
|-
| style="background:silver; color:arsenic" align="right"| '''Description: '''
| style="background:silver; color:arsenic" align="right"| '''Description: '''
Line 63: Line 55:
}}
}}
|-
|-
| style="background:silver; color:arsenic" align="right"| '''North Forge: '''
||  
| {{{northForge|}}}
|{{#ifeq:{{{northForge}}}|Yes|[[File:NorthForgeLogo.jpg|100px|link=North Forge Fabrication Lab]]| }}
|-
|-
|}  
|}  
* Internal Link: <includeonly>[[Internal:{{PAGENAME}}]]</includeonly>
** This should only show if logged in, need to figure out CSS for that from Internal Wiki example


{{{longDescription|}}}
{{{longDescription|}}}


Auto-list project types and skillsets and similars...
{{#if:{{{geekery|}}}|
=== How we did it ===
{{{geekery|}}}
|}}


<includeonly><div style="display: none;">
<includeonly><div style="display: none;">
__NOCACHE__


* Cargo
* Cargo
Line 83: Line 76:
| shortDescription = {{{shortDescription|}}}
| shortDescription = {{{shortDescription|}}}
| longDescription = {{{longDescription |}}}
| longDescription = {{{longDescription |}}}
| geekery = {{{geekery|}}}
| mainImage = {{#ifexist:File:{{PAGENAME}}.jpg|{{PAGENAME}}.jpg|{{#ifexist:File:{{PAGENAME}}.png|{{PAGENAME}}.png|Squirrelslair.png}}}}
| skillSet = {{{skillSet |}}}
| skillSet = {{{skillSet |}}}
| projectType = {{{projectType |}}}
| projectType = {{{projectType |}}}
Line 90: Line 85:
* Categories
* Categories
[[Category:Project]]
[[Category:Project]]


* Default form
* Default form

Latest revision as of 22:24, 2024 March 31

Uses Form:Project, use that to make new pages.

Cargo declaration

This template defines the table "Project". View table.


Projects
Project: Project
Description:
Skillset(s) :

No skillsets

Project Type(s) :

No project type