Template:Change History: Difference between revisions
Template page
More actions
Aurelianus (talk | contribs) Create per-page change history template |
Aurelianus (talk | contribs) Fix transcluded history section heading rendering |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
<div class="hw-change-history-release" data-current-version="{{Current version}}" data-current-series="{{Current version page}}" data-history-page="{{FULLPAGENAME}}/Change History"> | <div class="hw-change-history-release" data-current-version="{{Current version}}" data-current-series="{{Current version page}}" data-history-page="{{FULLPAGENAME}}/Change History"> | ||
Released in {{Version link|{{{1|{{Current version}}}}}|{{{2|{{Current version page}}}}}}} | Released in {{Version link|{{{1|{{Current version}}}}}|{{{2|{{Current version page}}}}}}} | ||
<span class="hw-history-editor-tools">[{{fullurl:{{FULLPAGENAME}}/Change History|action=edit}} Edit history] < | <span class="hw-history-editor-tools">[{{fullurl:{{FULLPAGENAME}}/Change History|action=edit}} Edit history] <span class="hw-history-add">[{{fullurl:{{FULLPAGENAME}}/Change History|action=edit§ion=new}} + Add current-version entry]</span></span> | ||
</div> | |||
<div class="hw-change-history-body"> | |||
{{:{{{page|{{FULLPAGENAME}}}}}/Change History}} | |||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Displays an article's release version and transcludes its editable <code>/Change History</code> subpage. Editor controls are hidden from visitors and shown only to signed-in users with edit permission. | Displays an article's release version and transcludes its editable <code>/Change History</code> subpage. Editor controls are hidden from visitors and shown only to signed-in users with edit permission. | ||
| Line 15: | Line 19: | ||
Entries are stored at <code>Page name/Change History</code>. | Entries are stored at <code>Page name/Change History</code>. | ||
[[Category:Content templates]] | [[Category:Content templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:06, 29 July 2026
Displays an article's release version and transcludes its editable /Change History subpage. Editor controls are hidden from visitors and shown only to signed-in users with edit permission.
Usage
== Change History ==
{{Change History|0.01.0|0.01}}
Entries are stored at Page name/Change History.