Template:PortalDYK/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

For portal pages, used in Portal DYK blurbs. The earlier system for displaying DYKs on portal pages lead to numerous duplicate entries, which this template avoids.

Usage

{{PortalDYK|Pagename|3<!-- number of random bulleted items retrieved -->}}

The {{{1}}} parameter specifies a pagename. The {{{2}}} parameter determines the number of bulleted items randomly taken from the pagename.

Formatting of pagename

The specified page must be formatted as a list of bulleted items. Nested bullets are not supported (i.e. "**foo"). Here is an example.

*... Example1
*... Example2
*... Example3

An arbitrary amount of bulleted items can be supported.