Template:Update layout/doc: Difference between revisions

add templatedata, cat,
Sur (talk | contribs)
m is_herolab param
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Usage ==
== Usage ==
This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page into [[:Category:Updates]].
This template is used to display patch notes, including navigation links to the previous and next updates. Automatically categorizes the page onto [[:Category:Updates]].


== Example ==
== Example ==
Line 21: Line 21:
| source = https://forums.playdeadlock.com/threads/05-10-2024-update.689/
| source = https://forums.playdeadlock.com/threads/05-10-2024-update.689/
| source_title = 05-10-2024 Update
| source_title = 05-10-2024 Update
| category = no
| notes =  
| notes =  
* Sandbox mode now supports entering it with your party
* Sandbox mode now supports entering it with your party
Line 32: Line 33:
"next_update": {},
"next_update": {},
"source": {},
"source": {},
"source2": {},
"source_title": {},
"source_title": {},
"notes": {}
"source2_title": {},
"notes": {},
"category": {},
        "is_herolab": {}
},
},
"format": "block"
"format": "block",
"paramOrder": [
"prev_update",
"current_update",
"next_update",
"source",
"source_title",
"source2",
"source2_title",
"category",
"notes",
        "is_herolab"
]
}
}
</templatedata>
</templatedata>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Navigation templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>