Template:Protected page text/get/doc

From Wikinews, the free news source you can write!
Jump to navigation Jump to search

Usage[edit]

This subtemplate of {{Protected page text}} extracts the contents of an expected table on page Template:Protected page text/lookup/<mode>, where the final pagename is provided by template parameter mode.

Also passes parameters right and action through to the table, from the parent template.

Internals[edit]

The table page should be formatted via {{Protected page text/table}}. The data extracted is formatted as a wikilisp association list — a list of lists, each of which is a field-name string followed by its associated value string.