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
 
(3 intermediate revisions by the same user not shown)
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>&lt;noinclude&gt;&lt;/noinclude&gt;</nowiki></code> tags.
{{:Template Ordering}}
[[Category:Templates/Formatting]]</noinclude>
[[Category:Templates/Formatting]]</noinclude>

Latest revision as of 16:23, 27 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.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.