Wikipedia:Requests for comment/Arbitration Committee/Transclusion notice/doc
![]() | This is a documentation subpage for Wikipedia:Requests for comment/Arbitration Committee/Transclusion notice. It may contain usage information, categories and other content that is not part of the original wikipedia page. |
Usage
To create a page which uses this template, use the following in your page:
To indicate text that will appear on the page but will not appear when it is transcluded:
<noinclude><!-- part of tranclusion mechanism, do not modify --> text goes here </noinclude><!-- part of tranclusion mechanism, do not modify -->
To indicate text that will be included only in transcluded pages and then only if expand=no, but not in the page when it is viewed by itself:
<includeonly>{{#ifeq:{{{expand|no}}}|no| <!-- part of tranclusion mechanism, do not modify --> text goes here }}</includeonly> <!-- part of tranclusion mechanism -->
To indicate text that will be included when the page is viewed by itself OR when the transcluded page uses the expand=yes parameter:
{{#ifeq:{{{expand|yes}}}|yes| <!-- part of tranclusion mechanism, do not modify --> text goes here }}<!-- part of tranclusion mechanism, do not modify -->
Bugs and workarounds
- If text goes here include a pipe character, |, it can break things. Replace the | with {{!}} and it will fix it. This can be a problem on discussion pages where signatures can contain pipe characters.