Template:Project: Difference between revisions
Appearance
Ttenbergen (talk | contribs) Created page with "<noinclude> Show: * internal link - if logged in, will redlink if page doesn't exist, right? * section for short description start (encode data) * photo - if related filena..." |
Ttenbergen (talk | contribs) mNo edit summary |
||
(62 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Uses [[Form:Project]], use that to make new pages. | |||
===Cargo declaration=== | |||
{{#cargo_declare: | |||
_table = Project | |||
| shortDescription = Wikitext string | |||
| longDescription = Wikitext | |||
| geekery = Wikitext | |||
| mainImage = File | |||
| skillSet = List (;) of Page | |||
| projectType = List (;) of Page | |||
| northForge = boolean | |||
| randomChangeForce = boolean | |||
}} | |||
</noinclude> | [[Category:Project Wiki Infrastructure]] | ||
----</noinclude> | |||
<div style="clear:right;"> | |||
{| 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" | {{#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: ''' | |||
| {{PAGENAME}} <includeonly>[[Internal:{{PAGENAME}}|(I)]]</includeonly> | |||
|- | |||
| style="background:silver; color:arsenic" align="right"| '''Description: ''' | |||
| {{{shortDescription|}}} | |||
|- | |||
| style="background:silver; color:arsenic" align="right"| '''[[Skillset]](s) : ''' | |||
| <!-- direct parameter list won't display as links--> | |||
{{#cargo_query: | |||
tables=Project | |||
|fields=skillSet | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
|default= No skillsets | |||
}} | |||
|- | |||
| style="background:silver; color:arsenic" align="right"| '''[[Project Type]](s) : ''' | |||
| <!-- direct parameter list won't display as links--> | |||
{{#cargo_query: | |||
tables=Project | |||
|fields=projectType | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
|default= No project type | |||
}} | |||
|- | |||
|| | |||
|{{#ifeq:{{{northForge}}}|Yes|[[File:NorthForgeLogo.jpg|100px|link=North Forge Fabrication Lab]]| }} | |||
|- | |||
|} | |||
{{{longDescription|}}} | |||
{{#if:{{{geekery|}}}| | |||
=== How we did it === | |||
{{{geekery|}}} | |||
|}} | |||
<includeonly><div style="display: none;"> | |||
__NOCACHE__ | |||
* Cargo | |||
{{#cargo_store: | |||
_table = Project | |||
| shortDescription = {{{shortDescription|}}} | |||
| longDescription = {{{longDescription |}}} | |||
| geekery = {{{geekery|}}} | |||
| mainImage = {{#ifexist:File:{{PAGENAME}}.jpg|{{PAGENAME}}.jpg|{{#ifexist:File:{{PAGENAME}}.png|{{PAGENAME}}.png|Squirrelslair.png}}}} | |||
| skillSet = {{{skillSet |}}} | |||
| projectType = {{{projectType |}}} | |||
| northForge = {{{northForge |}}} | |||
}} | |||
* Categories | |||
[[Category:Project]] | |||
* Default form | |||
{{#default_form:Project}} | |||
</div></includeonly> |
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.