Template:For: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (Clobbered this part)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dablink|For {{#if:{{{1|}}}|{{{1}}}|other uses}}, see [[:{{{2|{{PAGENAME}} (disambiguation)}}}]]{{#if:{{{3|}}}|{{#if:{{{4|}}}|, [[:{{{3}}}]], {{#if:{{{5|}}}|[[:{{{4}}}]], {{#if:{{{6|}}}|[[:{{{5}}}]], {{#if:{{{7|}}}|[[:{{{6}}}]], {{#if:{{{8|}}}|[[:{{{7}}}]], {{#if:{{{9|}}}|[[:{{{8}}}]], {{#if:{{{10|}}}|[[:{{{9}}}]], {{#if:{{{11|}}}|[[:{{{10}}}]], {{#if:{{{12|}}}|[[:{{{11}}}]], {{#if:{{{13|}}}|[[:{{{12}}}]], {{#if:{{{14|}}}|[[:{{{13}}}]], {{#if:{{{15|}}}|[[:{{{14}}}]], {{#if:{{{16|}}}|[[:{{{15}}}]], {{#if:{{{17|}}}|[[:{{{16}}}]], {{#if:{{{18|}}}|[[:{{{17}}}]], {{#if:{{{19|}}}|[[:{{{18}}}]], {{#if:{{{20|}}}|[[:{{{19}}}]], {{#if:{{{21|}}}|[[:{{{20}}}]], and [[:{{{21}}}]]|and [[:{{{20}}}]]|and [[:{{{19}}}]]|and [[:{{{18}}}]]|and [[:{{{17}}}]]|and [[:{{{16}}}]]|and [[:{{{15}}}]]|and [[:{{{14}}}]]|and [[:{{{13}}}]]|and [[:{{{12}}}]]|and [[:{{{11}}}]]|and [[:{{{10}}}]]|and [[:{{{9}}}]]|and [[:{{{8}}}]]|and [[:{{{7}}}]]|and [[:{{{6}}}]]|and [[:{{{5}}}]]|and [[:{{{4}}}]]}}|&#32;and [[:{{{3}}}]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}.}}<noinclude>
{{Dablink|For {{#if:{{{1|}}}|{{{1}}}|other uses}}, see: ''[[:{{{2|{{PAGENAME}} (disambiguation)}}}]]''{{#if:{{{3|}}}|{{#if:{{{4|}}}|, ''[[:{{{3}}}]]'', {{#if:{{{5|}}}|''[[:{{{4}}}]]'', {{#if:{{{6|}}}|''[[:{{{5}}}]]'', {{#if:{{{7|}}}|''[[:{{{6}}}]]'', {{#if:{{{8|}}}|''[[:{{{7}}}]]'', {{#if:{{{9|}}}|''[[:{{{8}}}]]'', {{#if:{{{10|}}}|''[[:{{{9}}}]]'', {{#if:{{{11|}}}|''[[:{{{10}}}]]'', {{#if:{{{12|}}}|''[[:{{{11}}}]]'', {{#if:{{{13|}}}|''[[:{{{12}}}]]'', {{#if:{{{14|}}}|''[[:{{{13}}}]]'', {{#if:{{{15|}}}|''[[:{{{14}}}]]'', {{#if:{{{16|}}}|''[[:{{{15}}}]]'', {{#if:{{{17|}}}|''[[:{{{16}}}]]'', {{#if:{{{18|}}}|''[[:{{{17}}}]]'', {{#if:{{{19|}}}|''[[:{{{18}}}]]'', {{#if:{{{20|}}}|''[[:{{{19}}}]]'', {{#if:{{{21|}}}|''[[:{{{20}}}]]'', and ''[[:{{{21}}}]]''|and ''[[:{{{20}}}]]''|and ''[[:{{{19}}}]]''|and ''[[:{{{18}}}]]''|and ''[[:{{{17}}}]]''|and ''[[:{{{16}}}]]''|and ''[[:{{{15}}}]]''|and ''[[:{{{14}}}]]''|and ''[[:{{{13}}}]]''|and ''[[:{{{12}}}]]''|and ''[[:{{{11}}}]]''|and ''[[:{{{10}}}]]''|and ''[[:{{{9}}}]]''|and ''[[:{{{8}}}]]''|and ''[[:{{{7}}}]]''|and ''[[:{{{6}}}]]''|and ''[[:{{{5}}}]]''|and ''[[:{{{4}}}]]''}}|&#32;and ''[[:{{{3}}}]]''}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}.}}<noinclude>{{TOC right}}


==Purpose==
==Purpose==
This {{tag|Shortcut templates|shortcut template}} is used at the <u>top</u> of article pages or [[Special:Categories|categories]] for simple {{tag|disambiguation}}s, and to show readers similar alternative articles.  This template currently supports six additional articles.  See also [[wp:Template:For|template:For]] on [[English Wikipedia]].
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==
;Code
===With no identifying targets===
<pre>{{for|the WikiIndex TourBusStop page|TourBusStop}}</pre>
This option generates a basic disambiguation option to its identical pagename:
;Output
;''Code example
{{for|the WikiIndex TourBusStop page|TourBusStop}}
<code><nowiki>{{For}}</nowiki></code>
;''Output
{{For}}


Don't forget to use the 'Show preview' (<tt>Alt+p</tt> on your keyboard) when experimenting with differing phrases within the template.
===With additional targeted identifiers===
This option generates a number of specific and different article pages:
;''Code example
<code><nowiki>{{For|the WikiIndex TourBusStop page|TourBusStop}}</nowiki></code>
;''Output
{{For|the WikiIndex TourBusStop page|TourBusStop}}
 
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==
*[[Template: This]]
*[[Template: Main]]
*[[Template: Not]]
*[[Template: See also]]
*[[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.

See also[edit]