Difference between revisions of "Template:Rnd"

From Timelines
Jump to: navigation, search
(applying fix per Jimp.)
(reformat code per talk)
Line 1: Line 1:
<includeonly>{{rnd/e{{#expr:(abs({{{1}}}round{{{2}}})<0.0001)+(abs({{{1}}}round{{{2}}})>=100000)-({{{1}}}=0)}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude>{{pp-template}}
+
<includeonly>{{formatnum:{{rnd/a|{{#expr:({{{1}}})round({{{2}}})}}|{{{2}}}}}}}</includeonly><noinclude>{{pp-template}}
 
{{template doc}}
 
{{template doc}}
 
</noinclude>
 
</noinclude>

Revision as of 22:54, 9 July 2008

Lua error in Module:Effective_protection_level at line 60: attempt to index field 'TitleBlacklist' (a nil value). Template:Template doc