Template:For: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(→‎Usage: example)
 
Line 14: Line 14:
===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 example
;''Code example
<code><nowiki>{{For|the WikiIndex TourBusStop page|TourBusStop}}</nowiki></code>
<code><nowiki>{{For|the WikiIndex TourBusStop page|TourBusStop}}</nowiki></code>
;''Output
;''Output

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.

See also[edit]