Template:FindInChangelog/doc: Difference between revisions
(Created page with "This template is used in the Version template to find mentions of a pagename and chosen keywords in Changelogs, and determine whether the page is up to date, or outdated. It only finds the latest changelog (by date) that matches with the name or search parameters, and then compares it to the pageversion. === Sub Templates === *Template:FindInChangelog/sub === Instructions === {|class="wikitable sortable" style="width: 1...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{doc/start}} | |||
This template is used in the [[Template:Version|Version]] template to find mentions of a pagename and chosen keywords in [[Version History|Changelogs]], and determine whether the page is up to date, or outdated. | This template is used in the [[Template:Version|Version]] template to find mentions of a pagename and chosen keywords in [[Version History|Changelogs]], and determine whether the page is up to date, or outdated. | ||
Line 32: | Line 33: | ||
If the page name or keywords have not been found in any changelog, the output defaults to: | If the page name or keywords have not been found in any changelog, the output defaults to: | ||
<pre style="width:fit-content"> | <pre style="width:fit-content">Unknown</pre> | ||
{{doc/end}} |
Latest revision as of 18:38, 25 December 2023
This template is used in the Version template to find mentions of a pagename and chosen keywords in Changelogs, and determine whether the page is up to date, or outdated.
It only finds the latest changelog (by date) that matches with the name or search parameters, and then compares it to the pageversion.
Sub Templates
Instructions
Field | Note | Example | Default |
---|---|---|---|
name | Name to search for in the changelogs | screwdriver | PAGENAME |
search | Additional keywords to search for | Wreck,Thalamus,Beacon,Outpost,Ruin | |
pageversion | Version of the page. Version of the latest matching changelog will be compared to it.
|
Output format:
status, version
Where version is the version of the latest changelog where the pagename or keywords were found, and status is either UpToDate, or Outdated, depending on whether that changelog is older or newer than the page version.
If the page name or keywords have not been found in any changelog, the output defaults to:
Unknown
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.