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 32: | Line 32: | ||
|next={{{next|}}} | |next={{{next|}}} | ||
}}<div style="vertical-align: top; float: right; width: 30%; min-width: 28em; margin: 0; margin-left: 1em; margin-bottom: 1em;>{{#ifeq:{{{translate|}}}|yes|<languages/>}} | }}<div style="vertical-align: top; float: right; width: 30%; min-width: 28em; 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>{{#if:{{{prev|}}}|<tr><th style="text-align: left;">Previous</th><td style="text-align: right;">[[{{{prev}}}|{{#explode:{{{prev}}}|/|-1}}]]</td></tr>}}{{#if:{{{next|}}}|<tr><th style="text-align: left;">Next</th><td style="text-align: right;">[[{{{next}}}|{{#explode:{{{next}}}|/|-1}}]]</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>{{#if:{{{issue|}}}|<tr><th style="text-align: left;">Jira Issue</th><td style="text-align: right;">{{Bug|{{{issue}}}}}</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>{{#if:{{{prev|}}}|<tr><th style="text-align: left;">Previous</th><td style="text-align: right;">[[{{{prev}}}|{{#explode:{{{prev}}}|/|-1}}]]</td></tr>}}{{#if:{{{next|}}}|<tr><th style="text-align: left;">Next</th><td style="text-align: right;">[[{{{next}}}|{{#explode:{{{next}}}|/|-1}}]]</td></tr>}}</table></div></div></div>{{DISPLAYTITLE:Funtoo {{#explode:{{{project}}}|:|-1}} {{SUBPAGENAME}} Activity}} | ||
== Overview == | == Overview == | ||
__NOEDITSECTION__ | __NOEDITSECTION__ |
Latest revision as of 20:06, March 17, 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) |issue=FL-XXXX (funtoo issue) |logo=(file to use as logo) |next=(next activity) |prev=(previous activity) }}
Edit the page to see the template text. This template defines the table "activities". View table.