Module:Changelog/doc: Difference between revisions
Jump to navigation
Jump to search
initial |
m →Parameters: typo |
||
Line 16: | Line 16: | ||
===Parameters=== | ===Parameters=== | ||
* '''date''' - Date of the changelog, in the format 05-03-2024 | * '''date''' - Date of the changelog, in the format 05-03-2024 | ||
* '''tag''' - Tag to search | * '''tag''' - Tag to search relevant changelogs for | ||
===Examples=== | ===Examples=== |
Revision as of 19:09, 8 October 2024
Overview
Generates changelog lines from data pages such as Data:Changelog_05-03-2024.json
Invokes
Invokes are callable by wikitext, i.e.
{{#invoke|Changelog|invokable_name|param1|paramN}}
test
not a final invoke, just used for testing purposes right now
Functions
Functions are callable by lua modules, i.e.
function_name(param1, paramN)
date_tag_to_lines
Given the data of a changelog and a specific tag, output the lines / bullet points of that changelog that pertain to that tag.
Parameters
- date - Date of the changelog, in the format 05-03-2024
- tag - Tag to search relevant changelogs for
Examples
date_tag_to_lines('05-03-2024','Abrams')
Outputs
Script error: The function "test" does not exist.
Notes
To see list of all tags, see Changelog Tags (WIP). To see all tags that aren't individual entities, see Changelogs (WIP).