Template:YMSsub/doc

YMS subclass link template usage
YMSsub is an editor's shortcut for creating properly formatted links to the two subclasses, YMS-135 subclass and YMS-446 subclass, of the YMS-1-class minesweeper of minesweepers.

The most basic form is:

 

This form is appropriate for prose, such as a lead paragraph of an article

The values and resluts for format are:
 * 135 - for YMS ships 135–445, 480–81
 * 446 - for YMS ships 446–479

Using a value other than one of these two will create a red link.

An optional third parameter allows you to format the links into a more infobox-friendly format:

 

The values and results for format are:
 * 0 - same as default form above
 * 1 - formats link in infobox style