Template:TransclusionNotice: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:TransclusionNotice" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Line 6: Line 6:
-->
-->
==Usage==
==Usage==
The Check template is meant to be used to make a decorative textbox with a checkmark.
The TransclusionNotice template is meant to be used as a visual notice on pages that are used '''only''' for transclusion into other pages. This notice should not be used on pages that are meant to be read on their own. In those cases, a similar message can be added inside of comment tags <code><nowiki><!-- --></nowiki></code>.
<pre>{{TransclusionNotice}}</pre>
<pre>{{TransclusionNotice}}</pre>
*The code above can be pasted into your page.
*The code above can be pasted into your page.
*The transclusion notice does not use ''noinclude'' tags so must be added inside ''noinclude'' tags.
*The transclusion notice should not be transcluded along with the page. Wrap it in with <code><nowiki><noinclude></noinclude></nowiki></code> tags.
[[Category:Templates/Formatting]]</noinclude>
[[Category:Templates/Formatting]]</noinclude>

Revision as of 04:54, 6 January 2018

Example


TRANSCLUSION NOTICE

This page is transcluded into other pages. Changes here are reflected in all locations.
Check what links here to find out which pages.

Usage

The TransclusionNotice template is meant to be used as a visual notice on pages that are used only for transclusion into other pages. This notice should not be used on pages that are meant to be read on their own. In those cases, a similar message can be added inside of comment tags <!-- -->.

{{TransclusionNotice}}
  • The code above can be pasted into your page.
  • The transclusion notice should not be transcluded along with the page. Wrap it in with <noinclude></noinclude> tags.