Template:Model number factory: Difference between revisions
From Computing Classics Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[{{{1|Foo}}} {{{2|Bar}}}|{{{2|Foo}}} {{<includeonly>safesubst:</includeonly>#if: {{{3|}}}|({{{3|}}}}}]]<noinclude>{{Documentation}}</noinclude> | [[{{{1|Foo}}} {{{2|Bar}}}|{{{2|Foo}}}{{<includeonly>safesubst:</includeonly>#if: {{{3|}}}| ({{{3|}}}}}]]<noinclude>{{Documentation}}</noinclude> | ||
Revision as of 10:22, 16 June 2022
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
Creates wikilinks of the format [[Manufacturer ModelNumber|ModelNumber (Traits)]].
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Prefix | 1 | The beginning of the model number, to be omitted in the piped link.
| String | required |
| Unique number | 2 | The second part of the model number, which will be displayed in the piped link.
| String | required |
| Traits | 3 | Traits are shown in brackets (like this) to help identify the model number from others.
| String | required |