Template:For: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) |
Hoof Hearted (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
===With no identifying targets=== | ===With no identifying targets=== | ||
This option generates a basic disambiguation option to its identical pagename: | This option generates a basic disambiguation option to its identical pagename: | ||
;Code | ;''Code example | ||
<code><nowiki>{{For}}</nowiki></code> | <code><nowiki>{{For}}</nowiki></code> | ||
;Output | ;''Output | ||
{{For}} | {{For}} | ||
===With additional targeted identifiers=== | ===With additional targeted identifiers=== | ||
This option generates a number of specific and different article pages: | This option generates a number of specific and different article pages: | ||
;Code | ;''Code example | ||
<code><nowiki>{{For|the WikiIndex TourBusStop page|TourBusStop}}</nowiki></code> | <code><nowiki>{{For|the WikiIndex TourBusStop page|TourBusStop}}</nowiki></code> | ||
;Output | ;''Output | ||
{{For|the WikiIndex TourBusStop page|TourBusStop}} | {{For|the WikiIndex TourBusStop page|TourBusStop}} | ||
Latest revision as of 07:49, 17 July 2023
- For other uses, see: For (disambiguation).
Purpose[edit]
This hatnote template creates a hatnote, which is used at the top of article pages or categories (or the top of an appropriate sub-section within an article or category) for simple disambiguations, and to show readers similar alternative articles. This template currently supports twenty (20) additional articles. See also template:For on the English Wikipedia.
Usage[edit]
With no identifying targets[edit]
This option generates a basic disambiguation option to its identical pagename:
- Code example
{{For}}
- Output
- For other uses, see: For (disambiguation).
With additional targeted identifiers[edit]
This option generates a number of specific and different article pages:
- Code example
{{For|the WikiIndex TourBusStop page|TourBusStop}}
- Output
- For the WikiIndex TourBusStop page, see: TourBusStop.
Don't forget to use the 'Show preview' (Alt+p on your keyboard) when experimenting with differing phrases within the template, before saving (Alt+s) your edit.