Difference between revisions of "Template:Project"

From Hackerspace ACKspace
Jump to: navigation, search
m (fixed project picture link (if a picture name was provided, it didn't show the correct URI)
(created templatedata with form)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>{{#default_form:Project}}</includeonly>
This is the "Project" template.
+
{| style="max-width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #faf9f9; color: #333; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
It should be called in the following format:
 
<pre>
 
{{Project
 
|State=
 
|Members=
 
|Description=
 
|GitHub=
 
|Picture=
 
}}
 
</pre>
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #faf9f9; color: #333; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
 
! style="text-align: center; background-color:#f0eeff;" colspan="2" |<big>Project: {{PAGENAME}}</big>
 
! style="text-align: center; background-color:#f0eeff;" colspan="2" |<big>Project: {{PAGENAME}}</big>
 +
|-
 +
! Featured:
 +
| {{#arraymap:{{{Featured|}}}|,|x|[[Featured::x]]}}
 
|-
 
|-
 
! State
 
! State
Line 40: Line 30:
  
 
[[Category:Projects]]
 
[[Category:Projects]]
</includeonly>
+
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"Featured": {
 +
"type": "boolean"
 +
},
 +
"State": {},
 +
"Members": {
 +
"type": "wiki-user-name"
 +
},
 +
"GitHub": {
 +
"type": "string"
 +
},
 +
"Description": {
 +
"type": "string"
 +
},
 +
"Picture": {
 +
"type": "wiki-file-name"
 +
}
 +
}
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 21:11, 2 June 2020

Project: Project
Featured:
State
Members
GitHub No GitHub project defined. Add your project here.
Description
Picture
No project picture! Fill in form Picture or Upload a jpeg here

No description.

Template parameters

ParameterDescriptionTypeStatus
FeaturedFeatured

no description

Default
empty
Example
empty
Auto value
empty
Booleanoptional
StateState

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
MembersMembers

no description

Default
empty
Example
empty
Auto value
empty
Useroptional
GitHubGitHub

no description

Default
empty
Example
empty
Auto value
empty
Stringoptional
DescriptionDescription

no description

Default
empty
Example
empty
Auto value
empty
Stringoptional
PicturePicture

no description

Default
empty
Example
empty
Auto value
empty
Fileoptional