注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:Project"
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
|more results text=View Scope... | |more results text=View Scope... | ||
|default=}}</div></div></div>}}{{#if:{{{subpages|}}}| | |default=}}</div></div></div>}}{{#if:{{{subpages|}}}| | ||
<div class="note" style="margin: 0px; margin-left: 14px; margin-bottom: 14px; background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:scroll}} Subpages</div><div class="note-body" style="padding: 8px;">{{#arraymap:{{{subpages}}}|,|x|* [[{{FULLPAGENAME}}/x|x]]|\n}}</div></div>}}{{#if:{{{related pages|}}}| | <div class="note" style="margin: 0px; margin-left: 14px; margin-bottom: 14px; background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:scroll}} Subpages</div><div class="note-body" style="padding: 8px;">{{#arraymap:{{{subpages}}}|,|x|* '''[[{{FULLPAGENAME}}/x|x]]'''|\n}}</div></div>}}{{#if:{{{related pages|}}}| | ||
<div class="note" style="margin: 0px; margin-left: 14px; margin-bottom: 14px; background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:scroll}} Related Pages</div><div class="note-body" style="padding: 8px;">{{#arraymap:{{{related pages}}}|,|x|* [[x]]|\n}}</div></div>}} | <div class="note" style="margin: 0px; margin-left: 14px; margin-bottom: 14px; background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:scroll}} Related Pages</div><div class="note-body" style="padding: 8px;">{{#arraymap:{{{related pages}}}|,|x|* '''[[x]]'''|\n}}</div></div>}} | ||
<div class="note" style="margin: 0px; margin-left: 14px; margin-bottom: 14px; background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:user-friends}} People</div><div class="note-body" style="padding: 8px;">{{#if:{{{leads|}}}|''Leads''<ul>{{#arraymap:{{{leads}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>| | <div class="note" style="margin: 0px; margin-left: 14px; margin-bottom: 14px; background-color: #e6ede4;"><div class="note-head" style="background-color: #8da197;">{{#fas:user-friends}} People</div><div class="note-body" style="padding: 8px;">{{#if:{{{leads|}}}|''Leads''<ul>{{#arraymap:{{{leads}}}|,|%|<li>{{#ifexist:User:%|[[User:%|{{lc:%}}]]|%}}</li>| | ||
}}</ul>}}{{#if:{{{members|}}}| | }}</ul>}}{{#if:{{{members|}}}| |
Revision as of 07:13, February 25, 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)'' |components=(a bunch of Project/Component templates here) |updates=(a bunch of Project/Update templates here) |subpages=(comma-delimited list of subpages to display in infobox) |related pages=(comma-delimited list of subpages to display in infobox) |status= |status_date= |translate=yes/no }}
Edit the page to see the template text. This template defines the table "projects". View table.