m (testing a included no include) |
|||
Line 1: | Line 1: | ||
<noinclude>{{doc}}</noinclude><includeonly | <noinclude>{{doc}}</noinclude><includeonly>{{mbox|image=[[File:Wikitext.png|50px]]|text= | ||
This nugget is one of several version on this topic. Each version presents the same content with a different level of detail. If you are editing the content of this nugget, please also check if the related versions require the same edit. | This nugget is one of several version on this topic. Each version presents the same content with a different level of detail. If you are editing the content of this nugget, please also check if the related versions require the same edit. | ||
Line 12: | Line 12: | ||
* [[{{{8}}}]]}} {{#if:{{{9|}}}| | * [[{{{8}}}]]}} {{#if:{{{9|}}}| | ||
* [[{{{9}}}]]}} {{#if:{{{10|}}}| | * [[{{{9}}}]]}} {{#if:{{{10|}}}| | ||
* [[{{{10}}}]]}}}}|{{special:prefixindex/{{{BasePage|{{FULLPAGENAME}}}}}/|hide redirects=1|stripprefix=1}}}}}} | * [[{{{10}}}]]}}}}|{{special:prefixindex/{{{BasePage|{{FULLPAGENAME}}}}}/|hide redirects=1|stripprefix=1}}}}}}</includeonly> |
Revision as of 18:49, 24 September 2015
This template banner should be added to all pages of nuggets with multiple versions. For example if there are summary, simple, and detailed versions of the same nugget.
Make sure you place the banner inside <noinclude>...</noinclude>
tags on the nugget subpages, so it is not displayed on the main parent page where the nuggets are aggregated.
Use the syntax <noinclude>{{Related}}</noinclude>
This will produce the banner including a list off subpages of the current page.
This nugget is one of several version on this topic. Each version presents the same content with a different level of detail. If you are editing the content of this nugget, please also check if the related versions require the same edit. |
Parameters
|BasePage=
You can specify the page from which all subpages should be listed. For example we can use {{Related|BasePage=Navigation instructions for unnamed segments}}
This will not work if you use the |LINK 1
method below.
The above syntax will produce:
This nugget is one of several version on this topic. Each version presents the same content with a different level of detail. If you are editing the content of this nugget, please also check if the related versions require the same edit. |
|LINK 1...10
The other option for using this banner is to specify the direct links to any related versions of the nugget. You can add up to 10 links this way as unnamed parameters.
Example syntax:
{{Related|Places#Area Place size|Places/Gas Station|OTHER RELATED PAGE}}
The above will produce:
This nugget is one of several version on this topic. Each version presents the same content with a different level of detail. If you are editing the content of this nugget, please also check if the related versions require the same edit. |
The above documentation is transcluded from Template:Related/doc. Please add categories to the /doc subpage. Subpages of this template. |