Template:For: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) |
Hoof Hearted (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==Purpose== | ==Purpose== | ||
This {{tag| | This {{tag|hatnote template}} creates a {{Wp|Wikipedia:Hatnote|hatnote}}, which is used at the <u>top</u> of [[article]] pages or [[Special:Categories|categories]] (or the top of an appropriate sub-section within an article or [[category]]) for simple {{tag|disambiguation}}s, and to show readers similar alternative articles. This [[Special:Templates|template]] currently supports twenty (20) additional articles. See also {{Wp|template:For}} on the [[English Wikipedia]]. | ||
==Usage== | ==Usage== | ||
===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}} | ||
Don't forget to use the 'Show preview' (< | Don't forget to use the 'Show preview' (<kbd>Alt+p</kbd> on your keyboard) when experimenting with differing phrases within the template, before saving (<kbd>Alt+s</kbd>) your edit. | ||
==See also== | ==See also== | ||
Line 27: | Line 27: | ||
*[[Template: See also]] | *[[Template: See also]] | ||
*[[Template: Parent category]] | *[[Template: Parent category]] | ||
*[[WikiIndex: Merge policy]] | |||
[[Category:Disambiguation|*]]</noinclude> | [[Category:Disambiguation|*]]</noinclude> |
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.