Module

DYK/doc

From Dogcraft Wiki

(Created page with "This module is responsible for some of the functionality of the currently in-progress "Did you know" feature. It currently contains: * The "random" function generating a sin...")
 
No edit summary
Line 2: Line 2:


It currently contains:
It currently contains:
* The "random" function generating a single random number per day.  
* The "random" function generating a single random number per day. <br> ''Example: ''<code><nowiki>{{#invoke:DYK|random|33}}</nowiki></code>'' generates: ''<code>{{#invoke:DYK|random|33}}</code>'' (this number changes daily)''
    Example: <nowiki>{{#invoke:DYK|random|33}}</nowiki> generates: {{#invoke:DYK|random|33}} (this number changes daily)

Revision as of 11:37, 4 March 2021

This module is responsible for some of the functionality of the currently in-progress "Did you know" feature.

It currently contains:

  • The "random" function generating a single random number per day.
    Example: {{#invoke:DYK|random|33}} generates: Lua error in Module:DYK at line 5: attempt to perform arithmetic on a nil value. (this number changes daily)
This page was last modified on 4 March 2021, at 11:37. (2 years ago)
Background Dragon Slayer - Retriever by Ironboundred