Template:Talk page link/Doc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
You can simply include this template in order to produce a link like the one above, to the current page's discussion page: | You can simply include this template in order to produce a link like the one above, to the current page's discussion page: | ||
{{ | {{code|lang=mediawiki|line=no|<nowiki>{{talk page link}}</nowiki>}} | ||
You can override the display text of a link by providing an unnamed argument: | You can override the display text of a link by providing an unnamed argument: | ||
{{ | {{code|lang=mediawiki|line=no|<nowiki>{{talk page link|discussion page}}</nowiki>}} | ||
{{talk page link|discussion page}} | {{talk page link|discussion page}} | ||
| Line 17: | Line 17: | ||
Alternatively, you can specify a wiki link yourself in order to link to a different page: | Alternatively, you can specify a wiki link yourself in order to link to a different page: | ||
{{ | {{code|lang=mediawiki|line=no|<nowiki>{{talk page link|talk=Talk:Main page}}</nowiki>}} | ||
{{talk page link|talk=Talk:Main page}} | {{talk page link|talk=Talk:Main page}} | ||
| Line 23: | Line 23: | ||
Finally, you can specify a section within the current page's discussion page: | Finally, you can specify a section within the current page's discussion page: | ||
{{ | {{code|lang=mediawiki|line=no|<nowiki>{{talk page link|section=Template redesign}}</nowiki>}} | ||
{{talk page link|section=Template redesign}} | {{talk page link|section=Template redesign}} | ||