Difference between revisions of "Template:Blog"
From Roll20 Wiki
Andreas J. (Talk | contribs) (try make template dynamic based on input url, so old post/ links go to Web Archives, and it adjust the url depending on of you include or exclude the posts/ part of url) |
Andreas J. (Talk | contribs) m (now redirects to oldest snapshot) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>[https://web.archive.org/web/0/https://blog.roll20.net/post/{{{1}}}]<sup style="font-size:0.6em;">(Blog, Archived)</sup></includeonly><noinclude>[[Category:Roll20 Site Link Templates]]{{documentation}}</noinclude> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 10:28, 28 September 2024
Use {{Blogs}} for links to any newer blog posts, {{Blog}} is for the older url format used prior ~2020. |
For making links to the old Roll20 Blog posts that contain /post/
as part of the url, these links take you to a version of it on Web Archives, and these urls no longer works.
Template substitute automatically the https://blog.roll20.net/post/
part of the url, and then adds https://web.archive.org/web/0/
to the start, so the link takes you to the oldest version of the page on Web Archives.
Example:
Updated DL version 1.0 is live(Blog, Archived)
{{blog|640321601818198016/updated-dynamic-lighting-10-is-live Updated DL version 1.0 is live}}
The above documentation is transcluded from Template:Blog/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |