Difference between revisions of "Template:noexport"

From SoftMC-Wiki
Jump to: navigation, search
(description)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{{1}}}</includeonly><!--  
+
<includeonly><div class="noexport">{{{1}}}</div></includeonly><!--  
  
  
Line 8: Line 8:
 
{{Template
 
{{Template
 
|description=
 
|description=
This template should be used to add a description to all other templates.
+
This template is used to exclude (delete) content from exported pages ([[Help:Export]]).
 
 
Within a template page, the description has to be enclosed by <code>{{/tag|noinclude}}{{/tag|/noinclude}}</code>, so it is not shown on the page, which uses the template (see examples).
 
  
 
|template=
 
|template=
 
<nowiki>
 
<nowiki>
{{Template
+
{{noexport|
|description=
+
content
|template=
 
|parameters=
 
|operation=
 
|examples=
 
 
}}
 
}}
 
</nowiki>
 
</nowiki>
  
 
|parameters=
 
|parameters=
;description
+
;content
: Main description of the template.
+
: Content that should be excluded from export pages.
;template
 
: Prototype of the template definition, which can be copied and pasted to the place of use.
 
: The content has to be enclosed into <code><nowiki><nowiki></nowiki></nowiki></code>, so it is not treated as a template itself.
 
;parameters (optional)
 
: Template parameters description.
 
;operation (optional)
 
: Description of automatic operations of the template.
 
;examples
 
: Please provide at least one example!
 
  
 
|operation=
 
|operation=
This template does not provide any automatic operations.
 
  
 
|examples=
 
|examples=
The source code of this template is the best example! :)
+
<pre>
 +
{{noexport|
 +
=== Internal Information ===
 +
* verified by: xxx
 +
* authorized by: xxx
 +
}}
 +
</pre>
 +
 
 
}}
 
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:29, 22 July 2012

This template is used to exclude (delete) content from exported pages (Help:Export).

Template

{{noexport|
content
}}

Parameters

content
Content that should be excluded from export pages.

Examples

{{noexport|
=== Internal Information ===
* verified by: xxx
* authorized by: xxx
}}

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.