Difference between revisions of "Module:Nav/doc"
(Created page with "== Introduction == This module is to optimize the resources consumed in the process of expanding the template of the analyzer. It is only for {{tl|Navbar}}, {{tl|Navbox}} and...") |
(→Introduction) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
− | This module is to optimize the resources consumed in the process of expanding the template of the analyzer. It is only for {{tl|Navbar}}, {{tl|Navbox}} and their sister templates. The author is [[User:サンムル]]. Some templates are translated and rewritten according to the user There are some additions and deletions to the parameters due to factors such as habits. | + | This module is to optimize the resources consumed in the process of expanding the template of the analyzer. It is only for {{tl|Navbar}}, {{tl|Navbox}} and their sister templates. The author is [[zhmoe:User:サンムル]]. Some templates are translated and rewritten according to the user There are some additions and deletions to the parameters due to factors such as habits. |
== Invokes == | == Invokes == | ||
Line 11: | Line 11: | ||
The second unnamed parameter of the module is to fill in the Navbox auxiliary template {{tl|Navbox subgroup}}, {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}} styles, for example: <code ><nowiki>{{#invoke:Nav|box|collapsible groups}}</nowiki></code>, Navbox subgroup has already used this module, it is recommended not to invoke it separately. | The second unnamed parameter of the module is to fill in the Navbox auxiliary template {{tl|Navbox subgroup}}, {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}} styles, for example: <code ><nowiki>{{#invoke:Nav|box|collapsible groups}}</nowiki></code>, Navbox subgroup has already used this module, it is recommended not to invoke it separately. | ||
− | |||
− | |||
− |
Latest revision as of 16:08, 6 March 2022
Contents
Introduction
This module is to optimize the resources consumed in the process of expanding the template of the analyzer. It is only for {{Navbar}}, {{Navbox}} and their sister templates. The author is zhmoe:User:サンムル. Some templates are translated and rewritten according to the user There are some additions and deletions to the parameters due to factors such as habits.
Invokes
One of the export functions of the module, called in the wiki code via {{#invoke:Nav|bar}}
, used to build the wiki code for {{Navbar}}.
One of the export functions of the module, called in the wiki code via {{#invoke:Nav|box}}
, used to build the wiki code for {{Navbox}} and its sister templates.
The second unnamed parameter of the module is to fill in the Navbox auxiliary template {{Navbox subgroup}}, {{Navbox with columns}} and {{Navbox with collapsible groups}} styles, for example: {{#invoke:Nav|box|collapsible groups}}
, Navbox subgroup has already used this module, it is recommended not to invoke it separately.