Difference between revisions of "Template:Revdate"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m (fix position, should eliminate "float:right;"-issues of other elements on pages) |
||
(15 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{mbox| | <includeonly>{{mbox| | ||
− | |image = <div style="width:80px !important;>[[Image: | + | |image = <div style="width:80px !important;>[[Image:Wiki-Logo 75x49.png|75px||link=https://wiki.roll20.net/About:Community_Wiki]]</div> |
− | |text = '''Page Updated:'''<br> {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} | + | |text = <div style="float: right">'''Page Updated:'''<br> {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}</div> |
− | |style = width: 222px; font-size: 0.85em;margin-left: 0;border- | + | |style = width: 222px; font-size: 0.85em;margin: 5px;border-left: 1px solid #aaa;position: absolute;top: 0.5em;right: 4em;border-radius: 6px; |
− | }}</includeonly><noinclude>[[Category:Mbox_and_messagebox_templates]]{{documentation}}</noinclude> | + | }}{{clear|right}}</includeonly><noinclude>[[Category:Mbox_and_messagebox_templates]]{{documentation}}</noinclude> |
Latest revision as of 09:16, 14 December 2021
Used for displaying the timestamp for when the page was last edited. Consistent top-left or top-right placement on all major pages, so it's clearly visible, similar to Help Center articles.
Example:
Page Updated: 2021-12-14 |
{{Revdate}}
The above documentation is transcluded from Template:Revdate/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |