Template:Model path

From Team Fortress Wiki
Revision as of 19:53, 1 October 2024 by Tark (talk | contribs) (Created page with "<includeonly><code>{{#invoke:Model path|main|1={{{1|}}}|2={{{2|}}}}}</code></includeonly><noinclude> {{Module:Model path/doc}} Category:Templates </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation for Model path

Fancy description heer.

Adding more models

Usage

  • {{model path|Tough Stuff Muffs|Montreal Style}} produces: models/workshop/player/items/all_class/all_earmuffs_style1/all_earmuffs_style1_[class].mdl
  • {{model path|Tough Stuff Muffs|Boston Style}} produces: models/workshop/player/items/all_class/all_earmuffs_style2/all_earmuffs_style2_[class].mdl
  • {{model path|Tough Stuff Muffs}} produces: Invalid item name (tough stuff muffs): is the model path in the database page?
  • {{model path|Tough Stuff Muffs|Style 3}} produces: Invalid style and/or item name (tough stuff muffs style 3): is the model path in the database page?
  • {{model path|Dr. Whoa}} produces: models/player/items/[class]/bowtie.mdl
  • {{model path|Hatsune Miku}} produces: Invalid item name (hatsune miku): is the model path in the database page?
  • {{model path}} produces: Lua error in Module:Model_path at line 11: Error: arg1 (item name) cannot be empty.

Syntax

{{model path|<item name>|<style name>}}

<item name> unnamed parameter 1
Item name, exactly as it is written in-game.
<style name> unnamed parameter 2
Style name, exactly as it is written in-game.