Difference between revisions of "Template:Data template used"
From Kerbal Space Program Wiki
m (!wrong noinclude parsing;) |
(*more specific categories; +extra note for empty pages;) |
||
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|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).{{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> | ||
---- | ---- | ||
Adds this notice to a page using a data template. This notice needs to be enclosed in <noinclude> tags: | Adds this notice to a page using a data template. This notice needs to be enclosed in <noinclude> tags: | ||
<nowiki><noinclude>{{Data template used}}</noinclude></nowiki> | <nowiki><noinclude>{{Data template used}}</noinclude></nowiki> | ||
− | [[Category: | + | 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:Data template templates]]</noinclude> |
Revision as of 14:58, 27 December 2013
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.