Difference between revisions of "Template:SoftwareRelease"

From Funtoo
Jump to navigation Jump to search
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>
|version=<version>
|type=major|minor|normal|security
|changelog=
(wikitext)
}}
</pre>
{{#cargo_declare:_table=soft_releases|release_date=Date|name=Text|version=Text|type=Text|changelog=Wikitext}}
</noinclude><includeonly>
</noinclude><includeonly>
{{ucfirst:{{{name}}}}} is a {{{type}}} release which was released on {{#time:d F Y|{{{release_date}}}|en}}.
{{ucfirst:{{{name}}}}} is a {{{type}}} release which was released on {{#time:d F Y|{{{release_date}}}|en}}.
Line 8: Line 21:
{{DISPLAYTITLE:{{ucfirst:{{{name}}}}} {{{version}}}}}
{{DISPLAYTITLE:{{ucfirst:{{{name}}}}} {{{version}}}}}
__NOEDITSECTION__
__NOEDITSECTION__
{{#cargo_store:
_table=soft_releases
|name={{{name|}}}
|release_date={{{release_date|}}}
|version={{{version|}}}
|changelog={{{changelog|}}}
}}
</includeonly>
</includeonly>

Revision as of 07:06, February 22, 2022

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

{{SoftwareRelease
|release_date=YYYY_MM_DD
|name=<name of software>
|version=<version>
|type=major|minor|normal|security
|changelog=
(wikitext)
}}

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