Difference between revisions of "Template:SoftwareRelease"

From Funtoo
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "SoftwareRelease" template.
It should be called in the following format:
<pre>
{{SoftwareRelease
|release_date=YYYY_MM_DD
|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>
</noinclude><includeonly>
{{ucfirst:{{{name}}}}} is a {{{type}}} release which was released on {{#time:d F Y|{{{release_date}}}|en}}.
'''{{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:
== Summary of Changes ==
_table=soft_releases
 
|name={{{name|}}}
{{{changelog}}}
|codename={{{codename|}}}
{{DISPLAYTITLE:{{ucfirst:{{{name}}}}} {{{version}}}}}
|release_date={{{release_date|}}}
__NOEDITSECTION__
|version={{{version|}}}
}}
</includeonly>
</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”。 查看表格.