Template:Preview redirect: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
m (Rudolf@tygron.nl moved page Template:PreviewRedirect to Template:Preview redirect without leaving a redirect)
No edit summary
Line 1: Line 1:
{{#if:{{{autoredirect|}}}|<div id='automaticRedirect' style='background-color:yellow;'>|}}<noinclude>
{{#if:{{{autoredirect|}}}|<div id='automaticRedirect' style='background-color:yellow;'>|}}<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|}}}|</div>|}}<noinclude>
</noinclude>{{#if:{{{autoredirect|}}}|</div>|}}<noinclude>



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