Template:ProjectList: Difference between revisions

From SUWS-wiki
m (switched from numbers to names for template variables)
(Update documentation)
 
(11 intermediate revisions by 2 users not shown)
Line 3: Line 3:
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{ProjectListIntro}}
{{ProjectList
{{ProjectList
|Title=Powerpole_Distribution
|Page=Powerpole_Distribution
|Description=Powerpole Distribution Box Project
|Has title=Powerpole Distribution Box Project
|Status=Completed
|Has status=Completed
|Project Lead=User:TylerWard
|Has user page=User:TylerWard
|Image=PoweroleDistroPhoto.jpg
|Has image=PoweroleDistroPhoto.jpg
|Image Description=A DC power distribution unit using anderson powerpole connectors
|Has description=A DC power distribution unit using anderson powerpole connectors
}}}
}}
{{ProjectListOutro}}
</pre>
</pre>


Line 18: Line 20:
{{ProjectList
{{ProjectList
|Page=Powerpole_Distribution
|Page=Powerpole_Distribution
|Title=Powerpole Distribution Box Project
|Has title=Powerpole Distribution Box Project
|Status=Completed
|Has status=Completed
|Project Lead=User:TylerWard
|Has user page=User:TylerWard
|Image=PoweroleDistroPhoto.jpg
|Has image=PoweroleDistroPhoto.jpg
|Description=A DC power distribution unit using anderson powerpole connectors
|Has description=A DC power distribution unit using anderson powerpole connectors
}}
}}
{{ProjectListOutro}}
{{ProjectListOutro}}
Line 28: Line 30:


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


'''Project Lead: {{{Project Lead}}}'''
'''Project Lead: [[{{{Has user page}}}]]'''


{{{Description}}}
{{{Has description}}}
|-
|-
</includeonly>
</includeonly>

Latest revision as of 16:35, 11 February 2023

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

{{ProjectListIntro}}
{{ProjectList
|Page=Powerpole_Distribution
|Has title=Powerpole Distribution Box Project
|Has status=Completed
|Has user page=User:TylerWard
|Has image=PoweroleDistroPhoto.jpg
|Has description=A DC power distribution unit using anderson powerpole connectors
}}
{{ProjectListOutro}}

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.