Difference between revisions of "Template:Documentation/preload-module-doc"

From blackwiki
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>{{ombox|image=[[Image:Template-info.png|128px]]
+
<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 [[mediawikiwiki:Manual:Creating_pages_with_preloaded_text|preloaded template]] for module documentation pages. It is not actual documentation.}}
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
</noinclude>{{module rating|<!-- Insert rating or delete if not needed. Values: "pre-alpha", "alpha", "beta", "release" or "protected". -->}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
 
 
 
== Usage ==
 
== Usage ==
  
  &#123;{#invoke:{{BASEPAGENAME}}|''function_name''}}
+
  <nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}
  
<include<includeonly></includeonly>only>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<include<includeonly></includeonly>only>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories go here and interwikis go in Wikidata. -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
  
 
}}</include<includeonly></includeonly>only>
 
}}</include<includeonly></includeonly>only>

Revision as of 09:35, 1 December 2014

Error: {{Module rating}} must be placed in the Module namespace.

Usage

{{#invoke:Documentation|function_name}}

<includeonly></includeonly>