Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Region topic/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Module rating|alpha}} This module contains the main code for Lua-based [[Template:About continent and region topic templates|continent-/region-topic navboxes]]. ==Usage== 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:<var>DataPageName</var> |name = {{param|name|{{((}}subst:PAGENAME{{))}}|nested=yes}} {{))}} {{para|name}} is necessary for correct [[Template:Navbar|"Vβ’Tβ’E" links]]; the parameter {{param|name}} allows creation of [[Template:About continent and region topic templates#Creating a new template|further wrapper templates]]. {{para|data}} is the page name of the data module for the region names and other options. ==See also== *Sandboxes using this module: {{hlist|style=display:inline-block;|[[Template:Africa topic/sandbox|Africa topic]]|[[Template:Asia topic/sandbox|Asia topic]]|[[Template:Europe topic/sandbox|Europe topic]]|[[Template:North America topic/sandbox|North America topic]]|[[Template:Oceania topic/sandbox|Oceania topic]]|[[Template:South America topic/sandbox|South America topic]]|[[Module:Region topic/tests|/tests]]}} *{{slink|Wikipedia:Lua/Requests/Archive 5#Re-write Template:World topic as a Lua module}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | [[Category:Configurable area-topic templates]] }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:((
(
edit
)
Template:))
(
edit
)
Template:Hlist
(
edit
)
Template:Module rating
(
edit
)
Template:Para
(
edit
)
Template:Param
(
edit
)
Template:Slink
(
edit
)
Module:Arguments
(
edit
)
Module:List
(
edit
)
Module:TableTools
(
edit
)