Template:TalkMaybe
Jump to navigation
Jump to search
Usage
Provides a Talk link rather than a default link if the namespace of the current context is "Talk".
Examples
This page is in the Template namespace, so you should see a normal link, such that:
{{talkMaybe|Accessibility Roles}}
will give you:
Accessibility Roles
If the template is included into a talk page, with:
{{talkMaybe|Accessibility Roles}}
you would actually see:
Talk:Accessibility Roles
To provide a different label to the default link text, an optional second parameter can be given. This is still prefixed by 'Talk:' if linking to the Talk namespace. eg.
{{talkMaybe|Accessibility Roles|Roles}}
will emit:
Roles
Note that the default page to use if no parameter is given is Main Page, ie.
{{talkMaybe}}
will provide:
Main Page