Difference between revisions of "Template:SoftwareRelease"

From Funtoo
Jump to navigation Jump to search
 
(4 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
|changelog=
(wikitext)
}}
}}
</pre>
</pre>
{{#cargo_declare:_table=soft_releases|release_date=Date|name=Text|codename=Text|version=Text|type=Text|changelog=Wikitext}}
{{#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|}}}|(codename "{{{codename}}}")}} 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 ==
 
{{{changelog}}}
{{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|}}}
|changelog={{{changelog|}}}
}}
}}
</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
}}

This template defines the table "soft_releases". View table.