Template:Model number factory: Difference between revisions

From Computing Classics Wiki
Revert to this version
If info isn't provided, don't show it
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[{{{1|Foo}}} {{{2|Bar}}}|{{{2|Foo}}} ({{{3|Info}}})]]<noinclude>{{Documentation}}</noinclude>
[[{{{1|Foo}}} {{{2|Bar}}}|{{{2|Foo}}}{{#if: {{{3||}}}| ({{{3}}})}}]]<noinclude>{{Documentation}}</noinclude>

Latest revision as of 05:04, 28 May 2025

Foo

Template documentation (for the above template, sometimes hidden or invisible)


Icon This template should always be substituted.

This template assists in creating links in navboxes of the format [[Manufacturer ModelNumber|ModelNumber (Traits)]]

TemplateData[edit source]

Creates wikilinks of the format [[Manufacturer ModelNumber|ModelNumber (Traits)]].

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Prefix1

The beginning of the model number, to be omitted in the piped link.

Example
TOSHIBA
Stringrequired
Unique number2

The second part of the model number, which will be displayed in the piped link.

Example
HDWR480
Stringrequired
Traits3

Traits are shown in brackets (like this) to help identify the model number from others.

Example
8 TB, 256 MB cache, 5 platters
Stringrequired

Cookies help us deliver our services. By using our services, you agree to our use of cookies.