Module:Message box/doc: Difference between revisions

From The Kodiak Republic Wiki

Content added Content deleted
(Rvv)
No edit summary
Line 45: Line 45:
See the template page of each box type for the available parameters.
See the template page of each box type for the available parameters.


== Usage from #invoke ==



As well as the <code>main</code> function, this module has separate functions for each box type. They are accessed using the code <code><nowiki>{{#invoke:Message box|mbox|...}}</nowiki></code>, <code><nowiki>{{#invoke:Message box|ambox|...}}</nowiki></code>, etc. These will work when called from other modules, but they access code used to process arguments passed from #invoke, and so calling them will be less efficient than calling <code>main</code>.
As well as the <code>main</code> function, this module has separate functions for each box type. They are accessed using the code <code><nowiki>{{#invoke:Message box|mbox|...}}</nowiki></code>, <code><nowiki>{{#invoke:Message box|ambox|...}}</nowiki></code>, etc. These willt than calling <code>main</code>.


== Technical details ==
== Technical details ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.