Template:Categorize update: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "<includeonly>{{#if:{{{date|}}}|<!-- YYYY updates -->[[Category:{{#time:Y|{{{date|}}}}} updates|{{Hexmonth|{{#time:F|{{{date|}}}}}}}{{#time:c|{{{date|}}}}}]]<!-- D MMMM updates -->[[Category:{{#time:j F|{{{date|}}}}} updates|{{#time:Yc|{{{date|}}}}}]]<!-- -->}}{{#subobject:{{{name}}} |Update date={{{date|}}} |Update name={{{name|}}} |Update source={{{type|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{date|}}}|<!--
<includeonly>{{#switch:{{FULLPAGENAME}}
<!-- These two pages transclude updates but shouldn't get categorised -->
|Game updates=
|Game news=
|#default={{#if:{{{date|}}}|<!--
YYYY updates -->[[Category:{{#time:Y|{{{date|}}}}} updates|{{Hexmonth|{{#time:F|{{{date|}}}}}}}{{#time:c|{{{date|}}}}}]]<!--
YYYY updates -->[[Category:{{#time:Y|{{{date|}}}}} updates|{{Hexmonth|{{#time:F|{{{date|}}}}}}}{{#time:c|{{{date|}}}}}]]<!--
D MMMM updates -->[[Category:{{#time:j F|{{{date|}}}}} updates|{{#time:Yc|{{{date|}}}}}]]<!--
D MMMM updates -->[[Category:{{#time:j F|{{{date|}}}}} updates|{{#time:Yc|{{{date|}}}}}]]<!--
Line 5: Line 9:
|Update date={{{date|}}}
|Update date={{{date|}}}
|Update name={{{name|}}}
|Update name={{{name|}}}
|Update source={{{type|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
|Update source={{{type|}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 20:12, 30 December 2024

Template documentation
This documentation is transcluded from Template:Categorize update/doc. [edit] [history] [purge]

This template is not meant to be transcluded directly. It is transcluded by {{News}} and {{Unlisted update}} to add the page to the relevant categories and store Property:Update date, Property:Update name and Property:Update source, so they can be retrieved on the relevant pages.