Template:ViewTest: Difference between revisions

See if this fixes preload
imported>FrozenPlum
(Greatly simplified template (I was majorly overthinking how to do/preload examples before, going to simplify).)
imported>FrozenPlum
(See if this fixes preload)
Line 3:
{{#if:{{{nosandbox|}}}|<!-- has value don't display --><!-- otherwise display
-->|<div class="demo-viewpage" style="margin-top:{{{margintop|}}};">
[{{fullurl:Special:Mypage/Sandbox|action=edit}}&section=new&preloadtitle={{urlencode:{{{base|{{{1}}}}}}/{{{2|}}}|PATH}}&preload={{anchorencode:{{{base|{{{2|}}} }}} }} {{{3|Test in sandbox}}}]
</div>}}
{{#if:{{{noresult|}}}|<!-- has value don't display --><!-- otherwise display
Anonymous user