Template:Skillbox: Difference between revisions

From Melvor Idle
No edit summary
(Use skill template for the skill image instead.)
 
(10 intermediate revisions by the same user not shown)
Line 3: Line 3:
! style="text-align:center;" colspan="2" | {{Skill|{{{1|{{PAGENAME}}}}}}}
! style="text-align:center;" colspan="2" | {{Skill|{{{1|{{PAGENAME}}}}}}}
|-  
|-  
| colspan="2" | [[File:{{{1|{{PAGENAME}}}}} (skill).svg|256px]]
| style="text-align:center;" colspan="2" | {{Skill|{{{1|{{PAGENAME}}}}}|size=200|notext=true}}
|-
|-
| style="text-align: center;" colspan="2" | Skill ID: None
| style="text-align: center;" colspan="2" | Skill ID: ''{{#invoke:Constants|getSkillIDText|{{{1|{{PAGENAME}}}}}}}''
|-
|-
| style="text-align: right; width: 1%; text-wrap: nowrap;" | '''Release Date:'''
| style="text-align: right; width: 1%; text-wrap: nowrap;" | '''Release Date:'''
Line 11: Line 11:
|-
|-
| style="text-align: right; width: 1%; text-wrap: nowrap;" | '''Game Version:'''
| style="text-align: right; width: 1%; text-wrap: nowrap;" | '''Game Version:'''
| style="text-align: left;" | {{#if:{{{expansion|}}}|{{{expansion}}}|Unknown}}
| style="text-align: left;" | {{#if:{{{expansion|}}}|{{ExpansionIcon|{{{expansion}}}}}|Unknown}}
|-
|-
| style="text-align: right; width: 1%; text-wrap: nowrap;" | '''Type:'''
| style="text-align: right; width: 1%; text-wrap: nowrap;" | '''Type:'''
| style="text-align: left;" | {{#if:{{{type|}}}|{{{type}}}|Unknown}}
| style="text-align: left;" | {{#if:{{{type|}}}|{{{type}}}|Unknown}}
|-  
|-  
! style="text-align:center;" colspan="2" | Level Information
! style="text-align:center;" colspan="2" | [[Expansions]] information
|-
|-
{{#if:{{{99dlc|}}}|
{{#if:{{{99|}}}|
{{!}} style="text-align: right; width: 1%; text-wrap: nowrap;" {{!}} Level 99:
{{!}} style="text-align: right; width: 1%; text-wrap: nowrap;" {{!}} Level 99:
{{!}} style="text-align: left;" {{!}} {{{99dlc}}}
{{!}} style="text-align: left;" {{!}} {{ExpansionIcon|{{{99}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{120dlc|}}}|
{{#if:{{{120|}}}|
{{!}} style="text-align: right; width: 1%; text-wrap: nowrap;" {{!}} Level 120:
{{!}} style="text-align: right; width: 1%; text-wrap: nowrap;" {{!}} Level 120:
{{!}} style="text-align: left;" {{!}} {{{120dlc}}}
{{!}} style="text-align: left;" {{!}} {{ExpansionIcon|{{{120}}}}}
{{!}}-
{{!}}-
}}
}}
{{#ifeq:{{{abyssal|}}}|yes|
{{#if:{{{abyssal60|}}}|
{{!}} style="text-align: right; width: 1%; text-wrap: nowrap;" {{!}} Abyssal 60:
{{!}} style="text-align: right; width: 1%; text-wrap: nowrap;" {{!}} Abyssal 60:
{{!}} style="text-align: left;" {{!}} {{ItA}} [[Into the Abyss Expansion]]
{{!}} style="text-align: left;" {{!}} {{ExpansionIcon|{{{abyssal60}}}}}
}}
}}
|}</includeonly><noinclude>{{/doc}}</noinclude>
|}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 23:23, 22 June 2024

An infobox that adds information on a skill page about the skill it's placed on. Uses {{PAGENAME}} by default for the skill.

Parameters

  • 1 - The name of the skill. Defaults to the page name if not provided.
  • released - The release date of the skill. Displays "Unknown" if not provided.
  • expansion - The expansion that is required for the skill. Displays "Unknown" if not provided.
  • type - The type of the skill. Displays "Unknown" if not provided.
  • 99 - The expansion required to reach level 99 in this skill.
  • 120 - The expansion required to reach level 120 in this skill.
  • abyssal - The expansion required to reach abyssal level 60 in this skill.

For valid parameters for the expansions, see Template:ExpansionIcon

Usage

If {{PAGENAME}} is "Woodcutting", then

{{Skillbox
|released=23 November 2018 ([[V0.01]])
|expansion=Base game
|type=Gathering
|99=None
|120=TotH
|abyssal60=ItA
}}

Becomes

Error creating thumbnail: File missing
Woodcutting
Error creating thumbnail: File missing
Skill ID: melvorD:Woodcutting
Release Date: 23 November 2018 (V0.01)
Game Version: Melvor Logo.svg Base game
Type: Gathering
Expansions information
Level 99: Melvor Logo.svg Base game
Level 120: Throne of the Herald Expansion
Abyssal 60:
Error creating thumbnail: File missing
Into the Abyss Expansion