Difference between revisions of "Template:Activity"

From Funtoo
Jump to navigation Jump to search
Line 26: Line 26:
|logo={{{logo|}}}
|logo={{{logo|}}}
}}<div style="vertical-align: top; float: right; width: 20%; margin: 0; margin-left: 1em; margin-bottom: 1em;>{{#ifeq:{{{translate|}}}|yes|<languages/>}}
}}<div style="vertical-align: top; float: right; width: 20%; margin: 0; margin-left: 1em; margin-bottom: 1em;>{{#ifeq:{{{translate|}}}|yes|<languages/>}}
<div class="darknote" style="margin: 0px; margin-left: 14px; margin-bottom: 14px;"><div class="darknote-head">{{#fas:project-diagram}}&nbsp;&nbsp;&nbsp;Activity Info</div><div class="note-body" style="padding: 8px;"><table style="width: 100%;"><tr><th>Start Date</th><td style="text-align: right;">{{#time:d F Y|{{{start_date}}}|en}}</td></tr></table></div></div></div>{{DISPLAYTITLE:Funtoo {{#explode:{{{project}}}|:|-1}} {{SUBPAGENAME}} Activity}}
<div class="darknote" style="margin: 0px; margin-left: 14px; margin-bottom: 14px;"><div class="darknote-head">{{#fas:project-diagram}}&nbsp;&nbsp;&nbsp;Activity Info</div><div class="note-body" style="padding: 8px;"><table style="width: 100%;"><tr><th>Start Date</th><td style="text-align: right;">{{#time:d F Y|{{{start_date}}}|en}}</td></tr><tr><th>End Date</th><td style="text-align: right;">{{#if:{{{end_date|}}}|{{#time:d F Y|{{{end_date}}}|en}}|None}}</td></tr><tr><th>Status</th><td style="text-align: right;">{{ucfirst:{{{status}}}}}</td></tr></table></div></div></div>{{DISPLAYTITLE:Funtoo {{#explode:{{{project}}}|:|-1}} {{SUBPAGENAME}} Activity}}
{{{summary|}}}
{{{summary|}}}
[[Category:Activities]]
[[Category:Activities]]
</includeonly>
</includeonly>

Revision as of 21:48, March 15, 2022

This is the "Activity" template, used to define a community activity of some kind. The page name is the name of the actual activity.

It should be called in the following format:

{{Activity
|summary=
|kind=
|project=(associated project page)
|start_date=
|end_date=
|status=(not yet started/active/completed/ongoing)
|logo=(file to use as logo)
}}

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