Template:SameName
Creates text to show there is another page with the same name, although different topics. Place this at the top of the page, under any infoboxes or BubbleNav templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | 1 | Type of SameName being used. Use "single" if there is only one (1) page with the same name. Use "multi" if there are multiple pages with the same name.
| String | required |
SINGLE: Current Topic // MULTI: Other Page | 2 | SINGLE: The topic of the current page. It is advised to use "the" before writing the topic unless there is a case it isn't needed. // MULTI: Links to the other pages with the same name.
| String | optional |
Other Topic (SINGLE only) | 3 | The topic of the other page with the same name. If the topic has multiple pages, use (for example) "other games" for this parameter.
| String | optional |
Other Page (SINGLE only) | 4 | A link to the other page with the same name. Make sure to include any extensions to the name such as parentheses.
| String | optional |
{{SameName|single|CURRENT_TOPIC|OTHER_TOPIC|OTHER_PAGE_LINKS}} {{SameName|multi|OTHER_PAGE_LINKS}}
Usage:
{{SameName|single|the character|the sector|[[Parker (Sector)]]}} {{SameName|multi|[[Assault Rifle (RF2)]], [[Assault Rifle (RF:G)]], or [[Assault Rifle (RF:A)]]}}
Output:
This article is about the character. For the sector, see Parker (Sector).
For other similarly named articles, see Assault Rifle (RF2), Assault Rifle (RF:G), or Assault Rifle (RF:A).
Linking a section from a page:
If the other topic is within a section under a heading, you can add a hashtag and the name of the heading in front of the page's name, for example:
{{SameName|single|the character|the sector|[[Parker (Sector)#Background|Parker (Sector)]]}}
This article is about the character. For the sector, see Parker (Sector).
Be sure to use the display label parameter to make the link appear as the page name.