Difference between revisions of "Template:PracticeLog"

From West Of Vipers Gate
(Previous edit not minor: Add detailed usage)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
+
<includeonly>{| class="wikitable"
 
! Skill !! Time spent !! Cycle !! Test Type !! Hours per day !! Category
 
! Skill !! Time spent !! Cycle !! Test Type !! Hours per day !! Category
 
|-
 
|-
Line 84: Line 84:
 
The time taken field is free form, unless you wish to show a progress indicator.
 
The time taken field is free form, unless you wish to show a progress indicator.
 
In this case, append ", show_progress" to the entry line.
 
In this case, append ", show_progress" to the entry line.
Then the time taken field must look like "# units" where units is one of
+
Then the time spent field must look like "# units" where units is one of
 
* hour(s)
 
* hour(s)
 
* day(s)
 
* day(s)

Latest revision as of 19:58, 4 May 2022

Usage

{{PracticeLog
|entry1=Meditation,         5 hours,  Routine,     School of Thought
|entry2=Storm Fist,        15 days,   Difficult,   Physical
|entry3=Strategy,           1 month,  Challenging, Military
|entry4=Soothing Platitudes,3 weeks,  Routine,     Social
|entry5=Estate Management,  5 months, Difficult,   Special
|entry6=Perception,         1 year,   Challenging, Stat
}}

Produces the following output:

Skill Time spent Cycle Test Type Hours per day Category
Meditation 5 hours 6 months Routine 3 hours School of Thought
Storm Fist 15 days 1 month Difficult 4 hours Physical
Strategy 1 month 6 months Challenging 8 hours Military
Soothing Platitudes 3 weeks 1 month Routine 2 hours Social
Estate Management 5 months 3 months Difficult 6 hours Special
Perception 1 year 6 months Challenging 12 hours Stat

The skill category name and test type must be matched exactly, including case. For stats and attributes, specify Stat or Attribute respectively.

The skill field is free form, no lookup is performed.

The time taken field is free form, unless you wish to show a progress indicator. In this case, append ", show_progress" to the entry line. Then the time spent field must look like "# units" where units is one of

  • hour(s)
  • day(s)
  • week(s)
  • year(s)

The pluralization is optional, both "1 month" and "5 years" are valid. The unit name must match exactly, including case.

The show_progress field is specified for individual lines

{{PracticeLog
|entry1=Meditation,         5 hours,  Routine,     School of Thought, show_progress
|entry2=Storm Fist,        15 days,   Difficult,   Physical
|entry3=Strategy,           1 month,  Challenging, Military
|entry4=Soothing Platitudes,3 weeks,  Routine,     Social,            show_progress
|entry5=Estate Management,  5 months, Difficult,   Special,           show_progress
|entry6=Perception,         1 year,   Challenging, Stat,
}}
Skill Time spent Cycle Test Type Hours per day Category
Meditation 5 hours 6 months Routine 3 hours School of Thought

Storm Fist 15 days 1 month Difficult 4 hours Physical
Strategy 1 month 6 months Challenging 8 hours Military
Soothing Platitudes 3 weeks 1 month Routine 2 hours Social

Estate Management 5 months 3 months Difficult 6 hours Special

Perception 1 year 6 months Challenging 12 hours Stat

If you want it for each entry, you have to specify it for each entry

{{PracticeLog
|entry1=Meditation,         5 hours,  Routine,     School of Thought, show_progress
|entry2=Storm Fist,        15 days,   Difficult,   Physical,          show_progress
|entry3=Strategy,           1 month,  Challenging, Military,          show_progress
|entry4=Soothing Platitudes,3 weeks,  Routine,     Social,            show_progress
|entry5=Estate Management,  5 months, Difficult,   Special,           show_progress
|entry6=Perception,         1 year,   Challenging, Stat,              show_progress
}}
Skill Time spent Cycle Test Type Hours per day Category
Meditation 5 hours 6 months Routine 3 hours School of Thought

Storm Fist 15 days 1 month Difficult 4 hours Physical

Strategy 1 month 6 months Challenging 8 hours Military

Soothing Platitudes 3 weeks 1 month Routine 2 hours Social

Estate Management 5 months 3 months Difficult 6 hours Special

Perception 1 year 6 months Challenging 12 hours Stat