Template:Preview redirect: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{autoredirect|}}}|<div id='automaticRedirect' style='background-color:yellow;'>|}}<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}}:{{PAGENAME}}<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|}}}|<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.