Template:Preview redirect: Difference between revisions
Jump to navigation
Jump to search
m (Rudolf@tygron.nl moved page Template:PreviewRedirect to Template:Preview redirect without leaving a redirect) |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{autoredirect|}}}|<div id='automaticRedirect | {{#if:{{{autoredirect|}}}|<div id='automaticRedirect'>|}}<noinclude> | ||
</noinclude>{{#if:{{{newarticle|}}}|This article will soon be available, accompanying our upcoming release, but can be previewed here:|This article will soon be updated, accompanying our upcoming release, but the updated version can be previewed here:}} https://previewsupport.tygron.com/wiki/{{NAMESPACE}}:{{ | </noinclude>{{#if:{{{newarticle|}}}|This article will soon be available, accompanying our upcoming release, but can be previewed here:|This article will soon be updated, accompanying our upcoming release, but the updated version can be previewed here:}} https://previewsupport.tygron.com/wiki/{{NAMESPACE}}:{{PAGENAMEE}}<noinclude> | ||
</noinclude>{{#if:{{{autoredirect|}}}|<br>The page will auto-redirect in <span class='timeToRedirect'>5</span> seconds. | |||
|}}<noinclude> | |||
</noinclude>{{#if:{{{autoredirect|}}}|</div>|}}<noinclude> | </noinclude>{{#if:{{{autoredirect|}}}|</div>|}}<noinclude> | ||
Latest revision as of 14:42, 15 June 2021
This article will soon be updated, accompanying our upcoming release, but the updated version can be previewed here: https://previewsupport.tygron.com/wiki/Template:Preview_redirect
Parameters:
- autoredirect: Add a class which triggers an automatic redirect (relies on Javascript)
- newarticle: If set, the text implies a new article. Else, the text implies an update of the article.