Module:Region topic/doc
Jump to navigation
Jump to search
| 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. |
| File:Greek lc alpha icon.svg | This module is rated as alpha. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome. |
This module contains the main code for Lua-based continent-/region-topic navboxes.
Usage
[edit source]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 source]- Sandboxes using this module:
- Wikipedia:Lua/Requests/Archive 5 § Re-write Template:World topic as a Lua module