Jump to content

Module:Region topic/doc

From Wikipedia, the free encyclopedia


This module contains the main code for Lua-based continent-/region-topic navboxes.

Usage

[edit]

To create a customizable navbox based on this module, create a wrapper template invoking it with the parameters "data" and "name":

{{#invoke:Region topic|main
|data = Module:DataPageName
|name = {{{name|{{subst:PAGENAME}}}}}
}}

|name= is necessary for correct "V•T•E" links; the parameter {{{name}}} allows creation of further wrapper templates. |data= is the page name of the data module for the region names and other options.

See also

[edit]
  • Sandboxes using this module:
  • Wikipedia:Lua/Requests/Archive 5 § Re-write Template:World topic as a Lua module