Difference between revisions of "Template:Data template used"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m
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 its translations).{{if||{{{1|}}}{{#ifeq: {{SUBPAGENAME}}|Param|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 its translations).{{if||{{{1|}}}{{#ifeq: {{SUBPAGENAME}}|Param|1}}|
  
This page doesn't show any content, because it consists only of internal code. Please be extra careful when editing this page.}}}}<noinclude>
+
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>
 
----
 
----
 
Adds this notice to a page using a data template. This notice needs to be enclosed in &lt;noinclude&gt; tags:
 
Adds this notice to a page using a data template. This notice needs to be enclosed in &lt;noinclude&gt; tags:
Line 8: Line 8:
 
On pages with the subpagename <tt>Param</tt> like [[Kerbin/Param]] or if the first parameter is not empty, it also shows a note that there is intentionally nothing shown.
 
On pages with the subpagename <tt>Param</tt> like [[Kerbin/Param]] or if the first parameter is not empty, it also shows a note that there is intentionally nothing shown.
  
[[Category:Box templates]]
+
[[Category:Box templates]]</noinclude>
[[Category:Data template templates| ]]</noinclude>
 

Revision as of 08:05, 16 April 2018

This is a data template. To add content which doesn't belong to this template edit the English page (or one of its translations).

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.