Difference between revisions of "Module:Excerpt/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sophivorus
blackwiki>Pppery
Line 1: Line 1:
 
{{Module rating|beta}}
 
{{Module rating|beta}}
 
{{high-use|6644}}
 
{{high-use|6644}}
{{Uses Lua|Module:Excerpt/i18n}}
+
{{Uses Lua|Module:Excerpt/i18n|Module:Transclude}}
  
 
This module can transclude any part of any page.
 
This module can transclude any part of any page.

Revision as of 20:15, 27 June 2020

Template:Uses Lua

This module can transclude any part of any page.

Usage

Templates

This module has only one entry point for templates:

  • {{#invoke:Excerpt|main}} — Wraps the get() entry point, see its documentation for details

The main entry point gives access to most if not all the functionality of the module and should suffice for most simple templates, but in more sophisticated cases, it my become necessary to create a custom submodule like Module:Excerpt/templates to implement the template.

Modules

  • get(page, options) — Main entry point for modules

Dependent modules, templates, sandboxes and testcases

This section attempts to keep track of all modules, templates, sandboxes and testcases dependent of this module to ease navigation, development and testing.