Module:OutputBuffer/doc: Revision history

From All Skies Encyclopaedia

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 February 2025

  • curprev 13:2613:26, 1 February 2025Sushoff talk contribs 1,701 bytes +1,701 Created page with "This module provides an easy and efficient way to generate lengthy strings. == Usage == First, load the module. <syntaxhighlight lang="lua"> local newBuffer = require('Module:OutputBuffer') </syntaxhighlight> Then, create the buffer and the functions that act on it. <syntaxhighlight lang="lua"> local getBuffer, print, printf = newBuffer() </syntaxhighlight> === getBuffer === <syntaxhighlight lang="lua"> local text = getBuffer(sep) </syntaxhighlight> Returns the c..."