From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
The following template is to be used on tutorial pages to tell the reader what skill level they are expected to be at within a certain task beforehand to follow along without any major issues. The template is used like in the following example, where skill represents one of the 5 skill levels (default is novice):
- 0 = novice
- 1 = familiar
- 2 = competent
- 3 = proficient
- 4 = expert
Markup: {{Tutorial Skill Level | skill=1}}
Result:
Template loop detected: Template:Doc{| class=standard-table | style="width:50%; margin:0 auto 20px; color:black; font-weight:bold;"
! colspan=6 style="background-color: rgb(75,75,75); color: rgb(185,185,185); font-weight:600;" | Skill Level
This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly.
|-
|width=20% style="background-color: #10FF00; background-color: #10AA00 !important;" align=center | Novice
|width=20% style="background-color: #80FF00; border:2px solid white;" align=center | Familiar
|width=20% style="background-color: #FFFF00; background-color: #AAAA00 !important;" align=center | Competent
|width=20% style="background-color: #FF8000; background-color: #AA8000 !important;" align=center | Proficient
|width=20% style="background-color: #FF1000; background-color: #AA1000 !important;" align=center | Expert
|}