Template:TransclusionNotice: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) m (Protected "Template:TransclusionNotice" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
CptTwinkie (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
--> | --> | ||
==Usage== | ==Usage== | ||
The | 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 | *The transclusion notice should not be transcluded along with the page. Wrap it in with <code><nowiki><noinclude></noinclude></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.
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.