This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Main Page"

From cpt
No edit summary
No edit summary
Line 3: Line 3:
{{#vardefine:hours|{{#ifeq:{{#var:type}}|hours|{{#urlget:hours|{{#switch:{{#timel:N}}|1=72|7=48|#default=24}}}}}}}}
{{#vardefine:hours|{{#ifeq:{{#var:type}}|hours|{{#urlget:hours|{{#switch:{{#timel:N}}|1=72|7=48|#default=24}}}}}}}}
</div>
</div>
<div style="text-align:center;font-size:1.5em;font-weight:bold;">[{{fullurl:{{FULLPAGENAME}}|hours=24}} Last 24 hours] | {{fullurl:{{FULLPAGENAME}}|hours=48}} | {{fullurl:{{FULLPAGENAME}}|hours=72}} | {{fullurl:{{FULLPAGENAME}}|last}}</div>
<div style="text-align:center;font-size:1.5em;font-weight:bold;">[{{fullurl:{{FULLPAGENAME}}|hours=24}} Last day] | [{{fullurl:{{FULLPAGENAME}}|hours=48}} Last 2 days] | [{{fullurl:{{FULLPAGENAME}}|hours=72}} Last 3 days] | [{{fullurl:{{FULLPAGENAME}}|last}} Last 20]</div>
{{#ifeq:{{#var:type}}|hours|{{#!:
 
{#ifeq:{{#var:type}}|hours|{{#!:
{|
{|
| style="vertical-align:top;" |
| style="vertical-align:top;" |

Revision as of 15:13, 30 July 2019