Template:Preview redirect: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#if:{{{autoredirect|}}}|<div id='automaticRedirect'>|}}<noinclude>
{{#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}}:{{PAGENAMEE}}<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}}:{{PAGENAMEE}}<noinclude>
</noinclude>{{#if:{{{autoredirect|}}}|
The page will auto-redirect in <span class='timeToRedirect'>5</span> seconds.
|}}<noinclude>
</noinclude>{{#if:{{{autoredirect|}}}|</div>|}}<noinclude>
</noinclude>{{#if:{{{autoredirect|}}}|</div>|}}<noinclude>



Revision as of 09: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.