注意:

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

Difference between revisions of "Template:SoftwareRelease"

From Funtoo
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ucfirst:{{{name}}}}} is a {{{type}}} release which was released on {{#time:d F Y|{{{release_date}}}|en}}.
<noinclude>
 
This is the "SoftwareRelease" template.
== Summary of Changes ==
It should be called in the following format:
 
<pre>
{{{changelog}}}
{{SoftwareRelease
{{DISPLAYTITLE:{{ucfirst:{{{name}}}}} {{{version}}}}}
|release_date=YYYY_MM_DD
__NOEDITSECTION__
|name=<name of software>
|codename=
|version=<version>
|type=major|minor|normal|security
}}
</pre>
{{#cargo_declare:_table=soft_releases|release_date=Date|name=Text|codename=Text|version=Text|type=Text}}
</noinclude><includeonly>
'''{{ucfirst:{{{name}}}}} {{{version}}} {{#if:{{{codename|}}}|(codename "{{{codename}}}")}} is a {{{type}}} release which was released on {{#time:d F Y|{{{release_date}}}|en}}.'''{{DISPLAYTITLE:{{ucfirst:{{{name}}}}} {{{version}}}}}
__NOEDITSECTION__{{#cargo_store:
_table=soft_releases
|name={{{name|}}}
|codename={{{codename|}}}
|release_date={{{release_date|}}}
|version={{{version|}}}
}}
</includeonly>

Latest revision as of 21:21, May 20, 2022

This is the "SoftwareRelease" template. It should be called in the following format:

{{SoftwareRelease
|release_date=YYYY_MM_DD
|name=<name of software>
|codename=
|version=<version>
|type=major|minor|normal|security
}}

此模板定义表格“soft_releases”。 查看表格.