Difference between revisions of "Template:Documentation/preload-module-doc"
Jump to navigation
Jump to search
test>Mr. Stradivarius (copy edit the bottom category comment to read like the top one) |
test>Sardanaphalus (Updated comments to match those at Template:Documentation/preload and syntax, amended {{Module rating}} comment, Ombox margin-bottom) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>{{ | + | <noinclude>{{Ombox |style=margin-bottom:2.0em; |image=[[File:Template-info.png|128px|alt=|link=]] |text=The text below is a [[mw:Manual:Creating pages with preloaded text|preloaded template]] for module documentation pages. It is not actual documentation.}}</noinclude>{{Module rating |<!-- If not needed, delete this template call, or, if known, replace this comment with one of the following values: pre-alpha • alpha • beta • release • protected -->}} |
| − | |text=The text below is a [[ | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| − | </noinclude>{{ | ||
| − | <!-- | ||
| − | |||
== Usage == | == Usage == | ||
| − | + | <nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}} | |
| − | <include<includeonly></includeonly>only>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | + | <include<includeonly></includeonly>only>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
| − | <!-- Categories | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
}}</include<includeonly></includeonly>only> | }}</include<includeonly></includeonly>only> | ||
Revision as of 09:35, 1 December 2014
| 128px | The text below is a preloaded template for module documentation pages. It is not actual documentation. |
Error: {{Module rating}} must be placed in the Module namespace.
Usage
{{#invoke:Documentation|function_name}}
<includeonly></includeonly>