Difference between revisions of "Template:Data template used"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{{Box|type=notice|2=This is a data template. To add content which doesn't belong to this template <span class="plainlinks">[{{fullurl:{{KS...")
 
m (Fix box, move doc)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Box|type=notice|2=This is a [[Project:Templates#Data_templates|data template]]. To add content which doesn't belong to this template <span class="plainlinks">[{{fullurl:{{KSPROOTPAGE}}|action=edit}} edit]</span> the English page (or one of it's translations).}}<noinclude>
+
{{Box|type=notice|This is a [[Project:Templates#Data_templates|data template]]. To add content which doesn't belong to this template <span class{{=}}"plainlinks">[{{fullurl:{{KSPROOTPAGE}}|action=edit}} edit]</span> the English page (or one of its translations).{{#if: {{{1|}}}{{#ifeq: {{SUBPAGENAME}}|Param|1}}|<br/><br/>This page doesn't show any content, because it consists only of internal code. Please be extra careful when editing this page.}}}}[[Category:Data template templates| ]]<noinclude>
----
+
{{Documentation}}
Adds this notice to a page using a data template. This notice needs to be enclosed in &lt;noinclude&gt; tags:
+
</noinclude>
  <nowiki><noinclude>{{Data template used}}</noinclude></nowiki>
 
 
 
[[Category:Templates]]</noinclude>
 

Latest revision as of 10:37, 27 February 2020

This is a data template. To add content which doesn't belong to this template edit the English page (or one of its translations).
Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:Data template used

Usage

Adds this notice to a page using a data template. This notice needs to be enclosed in <noinclude> tags:

 <noinclude>{{Data template used}}</noinclude>

On pages with the subpagename Param like Kerbin/Param or if the first parameter is not empty, it also shows a note that there is intentionally nothing shown.