User:Slimyboi500/Sandbox/Template:Model info
< User:Slimyboi500 | Sandbox
| Model information | |
|---|---|
| Model name | {{{1}}}
|
| Style | None |
| Paint | Unpainted |
| Rotation | (0.000000 0.000000 0.000000)
|
| Translation | (0.000000 0.000000 0.000000)
|
| Extra materials | None |
| Model location | Error: invalid item name ({{{1}}}). Is the model path set correctly?
|
Documentation for Slimyboi500/Sandbox/Template:Model info
Template for optional inclusion on file pages with cosmetic items to display some basic information for future editors.
Contents
Usage
{{Model info|type=<type of model>|model=<model name>|style=<style name>|paint=<paint color/name>|rot=<rotation>|trans=<translation>|materials=<extra materials needed>|path=<model path>}}
Parameters
- type
- Type of model. Can be a weapon, cosmetic item, tool, action item, taunt prop, or craft item.
- model
- Takes the model's name.
- style
- Takes the name of the cosmetic item style. Defaults to "None".†
- paint
- Takes the name of the paint or the color. Defaults to "Unpainted".†
- rot
- Takes the model's rotation. Defaults to "
(0.000000 0.000000 0.000000)". This parameter is required.‡
- trans
- Takes the model's translation. Defaults to "
(0.000000 0.000000 0.000000)". This parameter is required.‡
- materials
- Takes any extra materials from the model.†
- path
- Replaces the model path generated by Template:Model path.†
†This parameter is optional.
‡See Painted variants (tutorial) for more info.
Example
{{Model info
| type = cosmetic
| model = Batter's Helmet
| style = Hat and Headphones
| paint = Unpainted (RED)
| rot = (6.546314 -35.263538 -4.608794)
| trans = (40.000000 1.000000 75.000000)
| materials = https://github.com/gabrielwoj/hlmv-resources/raw/main/Backup%20-%20HLMV%20Rotations%20Page%20-%20Files/scout_head%20hat%20headset_materials.zip
}}
results in:
| Model information | |
|---|---|
| Cosmetic item | Batter's Helmet |
| Style | Hat and Headphones |
| Paint | Unpainted (RED) |
| Rotation | (6.546314 -35.263538 -4.608794)
|
| Translation | (40.000000 1.000000 75.000000)
|
| Extra materials | Here |
| Model location | models/player/items/scout/batter_helmet.mdl
|