Difference between revisions of "Template:McDonnell-Locomotives-2nd/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m ("{{t1" --> "{{tl"; update one other transclusion as well.)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 31: Line 31:
 
}</templatedata>
 
}</templatedata>
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
  {{DEFAULTSORT:McDonnell, Greg}}
 
  {{DEFAULTSORT:McDonnell, Greg}}
 
  [[Category:Rail transport book citation templates]]
 
  [[Category:Rail transport book citation templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 00:57, 26 April 2020

This template is for the second edition of McDonnell's Locomotives: The Modern Diesel and Electric Reference, published in 2015. For the first edition, please use {{McDonnell-Locomotives}}.

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for McDonnell-Locomotives-2nd

Template parameters

ParameterDescriptionTypeStatus
Pagepage

Page in the source that supports the content; displays after 'p.'

Stringoptional
Pagespages

Pages in the source that support the content (not an indication of the number of pages in the source); displays after 'pp.'

Stringoptional
No ppnopp

Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')

Stringoptional
Refref

An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv template

Stringoptional