A Wiki in the Desert
Log in

Difference between revisions of "Template:SkillPrerequisiteList"

From A Wiki in the Desert
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#ask: [[{{trim|{{{1}}}}}]] |?Requires experience#=|mainlabel=-|format=array|name=experience}}<nowiki/>
{{#ask: [[{{trim|{{{1}}}}}]] |?Requires experience#=|mainlabel=-|format=array|name=experience}}<nowiki/>
 
 
{{#loop: x
 
{{#loop: x
 
   | 0
 
   | 0
Line 14: Line 13:
 
{{#if: {{#pos:{{FULLPAGENAME}}|{{#explode:{{#var:req}}|/|1}}}}||* Skill: [[{{#var:req}}|{{#replace:{{#replace:{{#var:req}}|Skill/|}}|/|&nbsp;}}]]}}
 
{{#if: {{#pos:{{FULLPAGENAME}}|{{#explode:{{#var:req}}|/|1}}}}||* Skill: [[{{#var:req}}|{{#replace:{{#replace:{{#var:req}}|Skill/|}}|/|&nbsp;}}]]}}
 
}}<nowiki/>
 
}}<nowiki/>
{{#ask: [[-Has subobject::{{trim|{{{1}}}}}]]|?Count#=|?Requires#=|mainlabel=-|headers=hide|format=template|template=RequireTableItem}}
+
{{#ask: [[-Has subobject::{{trim|{{{1}}}}}]]|?Count#=|?Requires#=|mainlabel=-|headers=hide|format=template|template=RequireTableItem}}</includeonly>
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
<templatedata>
 
<templatedata>

Revision as of 17:53, 25 May 2021


This template generates a bulleted list of requirements to unlock a skill. The values include other skills (that are not of this skill type), items and experience required.

Template parameters

ParameterDescriptionTypeStatus
skill1

The skill to generate the list for

Example
Skill/Knapping/1
Pagerequired