Template:Weekly site information/doc: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
(Updated template documentation and TemplateData to document new functionality.)
(Added {{High priority}} because this template is original to this Wiki (i.e., it was not pulled from Wikipedia).)
Line 1: Line 1:
{{High priority}}
{{Tlx|Weekly site information}} generates links to Weekly Briefing Releases. To use it, [[MW:Transclusion|transclude]] the template, and it will automatically insert a link to the most recent Weekly Briefing Release, determined automatically according to the release schedule. If the most recent Weekly Briefing Release is unavailable, the template automatically links to the last existing release.
{{Tlx|Weekly site information}} generates links to Weekly Briefing Releases. To use it, [[MW:Transclusion|transclude]] the template, and it will automatically insert a link to the most recent Weekly Briefing Release, determined automatically according to the release schedule. If the most recent Weekly Briefing Release is unavailable, the template automatically links to the last existing release.



Revision as of 14:15, 1 December 2024

{{Weekly site information}} generates links to Weekly Briefing Releases. To use it, transclude the template, and it will automatically insert a link to the most recent Weekly Briefing Release, determined automatically according to the release schedule. If the most recent Weekly Briefing Release is unavailable, the template automatically links to the last existing release.

By default, the link displays as "Weekly Site Information". To display custom text, pass the custom text as the first parameter:

This template can also display a previous Weekly Briefing Release relative to the current Release using |offset=:

TemplateData

This template generates links to Weekly Briefing Releases.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Link text1

Text to display for the generated link

Default
Weekly Site Information
Example
Weekly Briefing
Stringoptional
Offsetoffset

How many releases prior to the current one to link to.

Default
0
Example
-1
Numberoptional