Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Template:Project"

From Funtoo
Jump to navigation Jump to search
Line 21: Line 21:
|members={{#arraymap:{{{members|}}}|,|x|User:x|,}}
|members={{#arraymap:{{{members|}}}|,|x|User:x|,}}
|contributors={{#arraymap:{{{contributors|}}}|,|x|User:x|,}}
|contributors={{#arraymap:{{{contributors|}}}|,|x|User:x|,}}
|start_date={{{start_date|}}}
|status=
|end_date={{{end_date|}}}
|status_date=
}}{{ProjectInfoBox|title=Summary|body={{{summary}}}<br>{{#if:{{{start_date|}}}|<br>'''Start Date''' {{#time:d F Y|{{{start_date}}}|en}}<br>}}{{#if:{{{leads|}}}|
}}<div style="vertical-align: top; float: right; width: 20em; margin: 0; margin-left: 1em; margin-bottom: 1em;>
<br>'''Leads'''<ul>{{#arraymap:{{{leads}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>|
<div class="note" style="background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:project-diagram}}&nbsp;&nbsp;&nbsp;Summary</div><div class="note-body" style="padding: 8px;">{{{summary}}}</div></div>
<div class="note" style="background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:user-friends}}&nbsp;&nbsp;&nbsp;People</div><div class="note-body" style="padding: 8px;">{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>|
}}</ul>}}{{#if:{{{members|}}}|
}}</ul>}}{{#if:{{{members|}}}|
<br>'''Members'''<ul>{{#arraymap:{{{members}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>|
<br>'''Members'''<ul>{{#arraymap:{{{members}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>|
}}</ul>}}{{#if:{{{contributors|}}}|
}}</ul>}}{{#if:{{{contributors|}}}|
<br>'''Contributors'''<ul>{{#arraymap:{{{contributors}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>|
<br>'''Contributors'''<ul>{{#arraymap:{{{contributors}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>|
}}</ul>}}}}
}}</ul>}}
</div></div>
<div class="note" style="background-color: #4a516e; color: #bfbfbf;"><div class="note-head" style="background-color: #515893;">{{#fas:calendar}}&nbsp;&nbsp;&nbsp;Status</div><div class="note-body" style="padding: 8px;">
{{{status}}}
<p style="font-style: italic; font-size: 0.9em; text-align: right;">{{{status_date}}}</p>
</div></div></div>
{{DISPLAYTITLE:{{PAGENAME}} Project}}
{{DISPLAYTITLE:{{PAGENAME}} Project}}
<span style="display:none">{{#default_form:Project}}</span>
<span style="display:none">{{#default_form:Project}}</span>
</includeonly>
</includeonly>

Revision as of 20:13, February 8, 2022

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

{{Project
|summary=
|leads=''(comma-delimited User pages)''
|members=''(comma-delimited User pages)''
|contributors=''(comma-delimited User pages)''
|start_date=
|end_date=
}}

Edit the page to see the template text. This template defines the table "projects". View table.