Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:Activity"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
|status={{{status|}}} | |status={{{status|}}} | ||
|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%; min-width: 20em; 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}} Activity Info</div><div class="note-body" style="padding: 8px;"><table style="width: 100%;"><tr><th style="text-align: left;">Parent Project</th><td style="text-align: right;">[[{{{project}}}]]</td></tr><tr><th style="text-align: left;">Start Date</th><td style="text-align: right;">{{#time:d F Y|{{{start_date}}}|en}}</td></tr><tr><th style="text-align: left;">End Date</th><td style="text-align: right;">{{#if:{{{end_date|}}}|{{#time:d F Y|{{{end_date}}}|en}}|None}}</td></tr><tr><th style="text-align: left;">Activity Kind</th><td style="text-align: right;">{{ucfirst:{{{kind}}}}}</td></tr><tr><th style="text-align: left;">Status</th><td style="text-align: right;">{{ucfirst:{{{status}}}}}</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}} Activity Info</div><div class="note-body" style="padding: 8px;"><table style="width: 100%;"><tr><th style="text-align: left;">Parent Project</th><td style="text-align: right;">[[{{{project}}}]]</td></tr><tr><th style="text-align: left;">Start Date</th><td style="text-align: right;">{{#time:d F Y|{{{start_date}}}|en}}</td></tr><tr><th style="text-align: left;">End Date</th><td style="text-align: right;">{{#if:{{{end_date|}}}|{{#time:d F Y|{{{end_date}}}|en}}|None}}</td></tr><tr><th style="text-align: left;">Activity Kind</th><td style="text-align: right;">{{ucfirst:{{{kind}}}}}</td></tr><tr><th style="text-align: left;">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:54, 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.