注意:

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

Difference between revisions of "Template:Activity"

From Funtoo
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 11: Line 11:
|end_date=
|end_date=
|status=(not yet started/active/completed/ongoing)
|status=(not yet started/active/completed/ongoing)
|issue=FL-XXXX (funtoo issue)
|logo=(file to use as logo)
|logo=(file to use as logo)
|next=(next activity)
|next=(next activity)
Line 17: Line 18:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=activities|name=Text|summary=Wikitext|kind=Text|project=Page|start_date=Date|end_date=Date|status=Text|logo=Page|next=Page|prev=Page}}
{{#cargo_declare:_table=activities|name=Text|summary=Wikitext|kind=Text|project=Page|start_date=Date|end_date=Date|status=Text|issue=Text|logo=Page|next=Page|prev=Page}}
</noinclude><includeonly>{{#cargo_store:
</noinclude><includeonly>{{#cargo_store:
_table=activities
_table=activities
Line 26: Line 27:
|end_date={{{end_date|}}}
|end_date={{{end_date|}}}
|status={{{status|}}}
|status={{{status|}}}
|issue={{{issue|}}}
|logo={{{logo|}}}
|logo={{{logo|}}}
}}<div style="vertical-align: top; float: right; width: 30%; min-width: 20em; margin: 0; margin-left: 1em; margin-bottom: 1em;>{{#ifeq:{{{translate|}}}|yes|<languages/>}}
|prev={{{prev|}}}
<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 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}}
|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 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 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 ==
__NOEDITSECTION__
{{{summary|}}}
{{{summary|}}}
[[Category:Activities]]
[[Category:Activities]]
</includeonly>
</includeonly>

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. 此模板定义表格“activities”。 查看表格.