注意:
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Template:SoftwareRelease"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|version=<version> | |version=<version> | ||
|type=major|minor|normal|security | |type=major|minor|normal|security | ||
}} | }} | ||
</pre> | </pre> | ||
{{#cargo_declare:_table=soft_releases|release_date=Date|name=Text|codename=Text|version=Text|type=Text | {{#cargo_declare:_table=soft_releases|release_date=Date|name=Text|codename=Text|version=Text|type=Text}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{ucfirst:{{{name}}}}} {{{version}}} {{#if:{{{codename|}}}|( | '''{{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: | |||
{{DISPLAYTITLE:{{ucfirst:{{{name}}}}} {{{version}}}}} | |||
__NOEDITSECTION__ | |||
{{#cargo_store: | |||
_table=soft_releases | _table=soft_releases | ||
|name={{{name|}}} | |name={{{name|}}} | ||
Line 28: | Line 20: | ||
|release_date={{{release_date|}}} | |release_date={{{release_date|}}} | ||
|version={{{version|}}} | |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”。 查看表格.