Difference between revisions of "Template:Locomotive index/doc"

From blackwiki
Jump to navigation Jump to search
imported>Swpb
(Undid revision 756134287 by 2605:E000:A459:9C00:7934:93CB:623C:593E (talk))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 23: Line 23:
 
* [[Template:Infobox locomotive]] – The template for locomotive infoboxes
 
* [[Template:Infobox locomotive]] – The template for locomotive infoboxes
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Set index article templates]]
 
[[Category:Set index article templates]]
 
[[Category:Rail transport templates]]
 
[[Category:Rail transport templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:16, 26 April 2020

This is the {{Locomotive index}} or locomotive index article template.

It can be used to mark a page as a set index article about locomotives. It is usually placed at the bottom of the page.

This template adds the page to Category:Set indices on locomotives.

Usage

This template can be used without any parameters like this:

{{Locomotive index}}

Editors usually, however, want to control how the page is sorted in Category:Set indices on locomotives. This is accomplished by using the "name=" parameter, like this:

{{Locomotive index|name=locomotive name}}

See also