Template:ProjectList: Difference between revisions

From SUWS-wiki
mNo edit summary
m (switched from numbers to names for template variables)
Line 4: Line 4:
<pre>
<pre>
{{ProjectList
{{ProjectList
|1=Powerpole_Distribution
|Title=Powerpole_Distribution
|2=Powerpole Distribution Box Project
|Description=Powerpole Distribution Box Project
|3=Completed
|Status=Completed
|4=User:TylerWard
|Project Lead=User:TylerWard
|5=PoweroleDistroPhoto.jpg
|Image=PoweroleDistroPhoto.jpg
|6=A DC power distribution unit using anderson powerpole connectors
|Image Description=A DC power distribution unit using anderson powerpole connectors
}}}
}}}
</pre>
</pre>
Line 17: Line 17:
{{ProjectListIntro}}
{{ProjectListIntro}}
{{ProjectList
{{ProjectList
|1=Powerpole_Distribution
|Page=Powerpole_Distribution
|2=Powerpole Distribution Box Project
|Title=Powerpole Distribution Box Project
|3=Completed
|Status=Completed
|4=User:TylerWard
|Project Lead=User:TylerWard
|5=PoweroleDistroPhoto.jpg
|Image=PoweroleDistroPhoto.jpg
|6=A DC power distribution unit using anderson powerpole connectors
|Description=A DC power distribution unit using anderson powerpole connectors
}}
}}
{{ProjectListOutro}}
{{ProjectListOutro}}
Line 28: Line 28:


Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>! {{#if: {{{5}}} | [[File:{{{5}}}|300px|{{{1}}}]] | [[File:missingimg.png|300px|No image available]]}}&nbsp;&nbsp;
</noinclude><includeonly>! {{#if: {{Image}}} | [[File:{{{Image}}}|300px|{{{Title}}}]] | [[File:missingimg.png|300px|No image available]]}}&nbsp;&nbsp;
| <h4>[[{{{1}}}|{{{2}}}]]</h4>
| <h4>[[{{{Page}}}|{{{Title}}}]]</h4>
'''Status: {{{3}}}'''
'''Status: {{{Status}}}'''


'''Project Lead: {{{4}}}'''
'''Project Lead: {{{Project Lead}}}'''


{{{6}}}
{{{Description}}}
|-
|-
</includeonly>
</includeonly>

Revision as of 22:58, 7 May 2018

This is the "ProjectList" template. It should be called in the following format:

{{ProjectList
|Title=Powerpole_Distribution
|Description=Powerpole Distribution Box Project
|Status=Completed
|Project Lead=User:TylerWard
|Image=PoweroleDistroPhoto.jpg
|Image Description=A DC power distribution unit using anderson powerpole connectors
}}}

Example:

Powerpole Distribution Box Project  

Powerpole Distribution Box Project

Status: Completed

Project Lead: User:TylerWard

A DC power distribution unit using anderson powerpole connectors


Edit the page to see the template text.