Template:Infobox Skill: Difference between revisions

From Eco - English Wiki
[unchecked revision][checked revision]
m Changed Category:Infobox Templates to Category:Infobox templates - Only the first word in name should be capitalized except in certain cases.
No edit summary
Tag: 2017 source edit
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Documentation ==
== Documentation ==
<pre>
<pre>
{{Infobox_Skill|name = 'Skill name'}}
{{Infobox_Skill|skill = 'Skill name'}}
{{Infobox_Skill|talent = 'Talent name'}}
</pre>
</pre>


This template can be used to grab details relevant to an item. It formats the results into an infobox.
This template can be used to grab details relevant to an item. It formats the results into an infobox.
The Infobox_Item will generate the following information, using the Module:Infobox_Skill, and Module:Skills.
 
If the template is passed, this module creates a table using details from the following Modules:
*[[Module:Infobox_Skill]]
*[[Module:SkillData]]
*[[Module:TalentData]]


== Usage==
== Usage==
===Parameters===
===Parameters===
; name
; skill
: The name of the skill. This pulls the description for that skill.
: The name of the skill. This pulls the description for that skill.
 
; talent
===Infobox Properies===
: The name of the talent. This pulls the description for that talent.
If .name is found it will generate the following:
 
COMING SOON
 
''Note:'' Put the tag between <code>&lt;noinclude&gt; &lt;/noinclude&gt;</code> tags for outdated transcluded pages.


==Examples==
==Examples==
{{Infobox_Skill|name = Survivalist}}
{{Infobox_Skill|skill = Survivalist}}
{{Infobox_Skill|name = Self Improvement}}
{{Infobox_Skill|skill = Self Improvement}}
{{Infobox_Skill|name = Fishing}}
{{Infobox_Skill|skill = Hunting}}
{{Infobox_Skill|name = Hunting}}
{{Infobox_Skill|talent = Lucky Break: Mining}}


[[Category:Infobox templates]]
[[Category:Infobox Templates]]


</noinclude><includeonly>
</noinclude><includeonly>
{{#invoke:Infobox_Skill|SkillMain}}
{{#invoke:Infobox_Skill|SkillMain}}
</includeonly>
</includeonly>

Latest revision as of 08:01, 2 July 2024

Documentation[edit source]

{{Infobox_Skill|skill = 'Skill name'}}
{{Infobox_Skill|talent = 'Talent name'}}

This template can be used to grab details relevant to an item. It formats the results into an infobox.

If the template is passed, this module creates a table using details from the following Modules:

Usage[edit source]

Parameters[edit source]

skill
The name of the skill. This pulls the description for that skill.
talent
The name of the talent. This pulls the description for that talent.

Examples[edit source]

Survivalist
Profession
Description
All citizens are survivalists in the world of Eco. How can you save the world if you can't save yourself?
Skill Information
Profession: Survivalist
Leads to: Self Improvement
Max Level: Level 7
Talent Information
Level 3 Talents:
Level 6 Talents:
IDs
Item ID: SurvivalistSkill


Self Improvement
Specialty
Description
Self-improvement increases both the amount of weight citizens can carry and their stomach capacity. It also decreases the calories expended when using hammers and shovels. Experience is gained when leveling up other specialties.
Skill Information
Profession: Survivalist
Max Level: Level 7
Talent Information
Level 3 Talents:
Level 6 Talents:
IDs
Item ID: SelfImprovementSkill


Hunting
Specialty
Description
Hunt animals for skin and meat. Levels up by successfully hunting.
Skill Information
Profession: Hunter
Max Level: Level 7
Talent Information
Level 3 Talents:
Level 6 Talents:
IDs
Item ID: HuntingSkill


Lua error in Module:Utils at line 35: attempt to index local 'name' (a nil value).