Module:OutputBuffer/doc

This module provides an easy and efficient way to generate lengthy strings.

Usage
First, load the module.

Then, create the buffer and the functions that act on it.

getBuffer
Returns the contents of the buffer, with an optional separator string sep.

print
Adds the string s to the buffer.

printf
Adds the string s to the buffer. The string is formatted with any subsequent arguments, following the rules used for string.format.