Main Page: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Protected "Main Page": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite)))
(Article of the day code cleanup)
Line 32: Line 32:
<div id="mp-upper"><div id="mp-left" class="mp-box">
<div id="mp-upper"><div id="mp-left" class="mp-box">
<h2 class="mp-h2">Article of the day</h2>
<h2 class="mp-h2">Article of the day</h2>
{{#ifexist:TEPwiki:Article of the day/{{#expr:trunc(abs((((trunc({{LOCALTIMESTAMP}}/10^6))^4mod(2^61-1))/2^56)fmod(sqrt 2)/sqrt 2)*{{TEPwiki:Article of the day|transcludesection=Count}}+1)}}|{{TEPwiki:Article of the day/{{#expr:trunc(abs((((trunc({{LOCALTIMESTAMP}}/10^6))^4mod(2^61-1))/2^56)fmod(sqrt 2)/sqrt 2)*{{TEPwiki:Article of the day|transcludesection=Count}}+1)}}}}|{{Error|Transcluded page number {{#expr:trunc(abs((((trunc({{LOCALTIMESTAMP}}/10^6))^4mod(2^61-1))/2^56)fmod(sqrt 2)/sqrt 2)*{{TEPwiki:Article of the day|transcludesection=Count}}+1)}} does not exist}}}}</div>
{{#ifexist:TEPwiki:Article of the day/{{TEPwiki:Article of the day/Randomizer}}|{{TEPwiki:Article of the day/{{TEPwiki:Article of the day/Randomizer}}}}|{{Error|Transcluded page number {{TEPwiki:Article of the day/Randomizer}} does not exist}}}}</div>
<div id="mp-right" class="mp-box">
<div id="mp-right" class="mp-box">
<h2 class="mp-h2">Current roleplays (<span class="noprint plainlinks">[{{fullurl:TEPwiki:Current roleplays|action=edit}} edit]</span>)</h2>
<h2 class="mp-h2">Current roleplays (<span class="noprint plainlinks">[{{fullurl:TEPwiki:Current roleplays|action=edit}} edit]</span>)</h2>