Module:Region topic/doc
Appearance
This is a documentation subpage for Module:Region topic. It may contain usage information, categories and other content that is not part of the original module page. |
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