Template:Sclass/core/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Sclass/core. It contains usage information, categories and other content that is not part of the original template page. |
This template provides essential services to {{sclass-}}
and {{sclass2-}}
.
Usage[edit source]
{{sclass-}}
and {{sclass2-}}
pass all of the parameters received from the article along with a format parameter to {{sclass/core}}
. The format parameter, simply the name of the calling template, controls how {{sclass/core}}
formats the output. Output format is described in the appropriate template documentation.
{{sclass-|class name|ship type|format|ship-type disambiguator|class-name disambiguator|format=template name}}
- the unnamed third parameter (format) should not be confused with the named parameter
|format=
. The unnamed third parameter controls how the various parts are assembled and linked. The named|format=
parameter controls italics and hyphenation.
- the unnamed third parameter (format) should not be confused with the named parameter
In article space the {{sclass-}}
template is written:
{{sclass-|Haskell|attack transport|3}}
{{sclass-}}
makes a call to {{sclass/core}}
that more-or-less amounts to this:
{{sclass/core|Haskell|attack transport|3|||format=sclass}}
Categories, module used[edit source]
- Module:Redirect isRedirect, main
- Module:Preview warning
External links[edit source]
- Template:Sclass/core/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.