ထႅမ်းပလဵတ်ႉ:Motor type/box
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်းၶေႃႈမုၼ်းၸိူဝ်းၽၢႆႇတႂ်ႈၼႆႉ ပဵၼ် တူဝ်ထတ်းတႃႁၼ်(VisualEditor) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃးၼၼ်ႉ ယိူင်းဢၢၼ်း တႃႇဢဝ် ၶိူင်ႈၸိူဝ်းၼၼ်ႉ ၸႂ်ႉလႆႈတီႈ ဝီႇၶီႇၽီးတီးယႃးတႆးသေ ၸင်ႇလႆႈဢဝ် ပိူင် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ (TemplateData) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢိင်းၵလဵတ်ႈၼၼ်ႉ ႁဵတ်းဝႆႉပဵၼ် တီႈမၢႆတီႈတွင်းယဝ်ႉ။ ႁူမ်ႈဝႃႈ ပႆႇၸႂ်ႉၶိူင်ႈၸိူဝ်းၼၼ်ႉသေတႃႉ ပေႃးပဵၼ် ၵူၼ်းႁူႉလွင်ႈတႅမ်ႈပရူဝ်ႇၵရႅမ်ႇ (computer programming) ဢိတ်းဢွတ်းၵေႃႈ ႁႂ်ႈပေႃးႁၼ်လႆႈၸႅင်ႈလႅင်းလီၼႆသေ ၸၢင်ႈဢဝ်ၸႂ်ႉလႆႈ သၽေႃးတီႈၵႅပ်ႈမၼ်းလႆႈယူႇ။
Motor type
{{motor type/box|left color|right color|left text|right text|left text color|right text color|kind=|color=|font-color=|type=}}
Adds a rectangular color box.
- Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See the article web colors for details.
Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
---|---|---|---|---|
Left color | 1 | Left background color of the box.
| String | suggested |
Right color | 2 | Right background color of the box.
| String | suggested |
Left text | 3 | Adds text inside the left triangle; box otherwise has no text.
| String | suggested |
Right text | 4 | Adds text inside the right triangle; otherwise it is empty.
| String | suggested |
Left text color | 5 | Sets the color of the text inside the left triangle.
| String | suggested |
Right text color | 6 | Sets the color of the text inside the right triangle.
| String | suggested |
Kind | kind | Electrification kind.
| String | optional |
Color | color | Electrification color.
| String | optional |
Font Color | font-color | Electrification font color.
| String | optional |
Type | type | Engine type.
| String | optional |
Format: inline
Test of raw TemplateData output:
Adds a rectangular color box. Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See the article web colors for details.
Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
---|---|---|---|---|
Left color | 1 | Left background color of the box.
| String | suggested |
Right color | 2 | Right background color of the box.
| String | suggested |
Left text | 3 | Adds text inside the left triangle; box otherwise has no text.
| String | suggested |
Right text | 4 | Adds text inside the right triangle; otherwise it is empty.
| String | suggested |
Left text color | 5 | Sets the color of the text inside the left triangle.
| String | suggested |
Right text color | 6 | Sets the color of the text inside the right triangle.
| String | suggested |
Kind | kind | Electrification kind.
| String | optional |
Color | color | Electrification color.
| String | optional |
Font Color | font-color | Electrification font color.
| String | optional |
Type | type | Engine type.
| String | optional |
Visual effect | Markup | Meaning |
---|---|---|
I |
{{motor type/box|darkviolet||I|I|#fff|#fff}} |
petrol compression ignition |
G T |
{{motor type/box|red||G|G|#fff|#fff|type=turbine}} |
petrol turbine |
P N C |
{{motor type/box|gold||N|N|type=cell|kind=P|color=deepskyblue|font-color=white}} |
CNG fuel cell plug-in hybrid |
F D |
{{motor type/box|#000||D|D|#fff|#fff|kind=F|color=pink}} |
diesel full hybrid |
M H W |
{{motor type/box|blue||H|H|type=wankel|kind=M|color=magenta|font-color=white}} |
hydrogen Wankel mild hybrid |
Variants
မႄးထတ်းTemplate | Description | Example |
---|---|---|
{{Color box}} | a small color box with black borders and text color | or ORANGE |
{{Color box striped}} | a striped version | |
{{RouteBox}} | a borderless version with text color and wikilinks | ORANGE |
{{Colorbull}} | a colored bullet with wikilinks | ■ |
{{Legend2}} | another borderless version | |
{{Color sample}} | a small color box with black borders | |
{{Swatch inline}} | orange | |
{{Background color}} | orange | |
{{Rail color box}} | a version with more display options (part of Module:Adjacent stations) |
●, လွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "San Diego Trolley color" does not exist., etc. |
{{Diagonal split color box}} | a small color box split diagonally | |
{{Motor type}} | A small color box corresponding to the motor type | ထႅမ်းပလဵတ်ႉ:Motor type/mild hybrid, etc. |
Supporting template
မႄးထတ်းတူၺ်းပႃး
မႄးထတ်း- {{Infobox color}}, an infobox for the detailed description of a color.
- {{Legend}}
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Motor type/box/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |