Difference between revisions of "Module:Excerpt/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Pppery
m (35 revisions imported)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Module rating|beta}}
 
{{Module rating|beta}}
 
{{high-use|6644}}
 
{{high-use|6644}}
{{Uses Lua|Module:Transcluder|Module:Yesno|Module:Excerpt/config}}
+
{{Uses Lua|Module:Transcluder|Module:Yesno|Module:Excerpt/config|Module:TNT|Module:Hatnote}}
  
This module can transclude any part of any page.
+
This module implements [[Template:Excerpt]].
  
== Usage ==
+
* See [[Template:Excerpt]] for documentation on the template parameters
 +
* See [[mw:Module:Excerpt]] for documentation on this module
 +
* See [[Module:Excerpt/config]] for configuration of this module
  
=== Templates ===
+
== Portals ==
 
 
This module has only one entry point for templates:
 
 
 
* <code><nowiki>{{#invoke:Excerpt|main}}</nowiki></code> — 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.
+
Portals still use a previous version of this module:
 
 
=== Modules ===
 
 
 
* <code><nowiki>get(page, options)</nowiki></code> — Main entry point for modules
 
 
 
== Portals ==
 
  
* [[Module:Excerpt/portals]] / [[Module:Excerpt/portals/sandbox|sandbox]] — Previous version of this module, still used by:
+
* [[Module:Excerpt/portals]] / [[Module:Excerpt/portals/sandbox|sandbox]] — Used by:
 
** {{tl|Transclude lead excerpt}} / [[Template:Transclude lead excerpt/sandbox|sandbox]] / [[Template:Transclude lead excerpt/testcases|testcases]]
 
** {{tl|Transclude lead excerpt}} / [[Template:Transclude lead excerpt/sandbox|sandbox]] / [[Template:Transclude lead excerpt/testcases|testcases]]
 
** {{tl|Transclude linked excerpt}} / [[Template:Transclude linked excerpt/sandbox|sandbox]] / [[Template:Transclude linked excerpt/testcases|testcases]]
 
** {{tl|Transclude linked excerpt}} / [[Template:Transclude linked excerpt/sandbox|sandbox]] / [[Template:Transclude linked excerpt/testcases|testcases]]

Latest revision as of 16:31, 26 September 2020

Template:Uses Lua

This module implements Template:Excerpt.

Portals

Portals still use a previous version of this module: