Template:Tutorial Skill Level: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{| class=standard-table | style="width:50%; margin:0 auto 20px; color:black; font-weight:bold;"
 
{{doc}}<includeonly>{| 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
! colspan=6 style="background-color: rgb(75,75,75); color: rgb(185,185,185); font-weight:600;" | Skill Level
<br /><p style="font-size:10px; line-height:10px;">This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly.</p>
<br /><p style="font-size:10px; line-height:10px;">This tutorial expects you to have this amount of knowledge within the topic to follow along smoothly.</p>
Line 9: Line 10:
|width=20% style="background-color: #FF1000; {{#ifeq: {{{skill|0}}} | 4 | border:2px solid white; | background-color: #AA1000 !important; }}" align=center | Expert
|width=20% style="background-color: #FF1000; {{#ifeq: {{{skill|0}}} | 4 | border:2px solid white; | background-color: #AA1000 !important; }}" align=center | Expert
|}</includeonly>
|}</includeonly>
<noinclude>
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: novice): 0 = novice, 1 = familiar, 2 = competent, 3 = proficient, 4 = expert
<p>Markup: ''<nowiki>{{Tutorial Skill Level | skill=1}}</nowiki>''</p>
<p>Result:</p> {{Tutorial Skill Level | skill=1}}
</noinclude>

Revision as of 12:40, 2 May 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history

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

|}