Difference between revisions of "Template:Infobox Task"
Jump to navigation
Jump to search
m |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="wikitable" | + | {| class="wikitable tw-infobox" {{#if:{{{left|}}}||style="float: right;"}} |
− | !colspan="2" | + | !colspan="2" class="tw-infobox-header"|{{{task|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan="2" | + | |colspan="2" class="tw-center"|[[File:{{{image|Task icon.webp}}}|24px]] |
|- | |- | ||
− | |colspan="2" | + | |colspan="2" class="tw-infobox-multi-top"|'''Description''' |
|- | |- | ||
− | |colspan="2" | + | |colspan="2" class="tw-infobox-multi-bottom"|{{{description|Insert task description here.}}} |
|- | |- | ||
− | | | + | |class="tw-infobox-row-title"|'''Tier''' |
− | | | + | |class="tw-infobox-row"|{{{tier|Beginner}}}{{#ifeq:{{{tier|Beginner}}}|Passive|<nowiki/> |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}class="tw-infobox-row-title"{{!}}'''Difficulty''' |
− | {{!}} | + | {{!}}class="tw-infobox-row tw-stars"{{!}}{{#switch:{{{stars|}}}|1=★☆☆☆☆|2=★★☆☆☆|3=★★★☆☆|4=★★★★☆|5=★★★★★|☆☆☆☆☆}}}} |
|- | |- | ||
− | | | + | |class="tw-infobox-row-title"|'''ID''' |
− | | | + | |class="tw-infobox-row tw-infobox-task-id-block"|{{ids|{{{id|}}}}} |
|- | |- | ||
− | | | + | |- |
− | | | + | |class="tw-infobox-row-title"|'''RS Wiki page''' |
+ | |class="tw-infobox-row"|{{#if:{{{wikialt|}}}|{{rsw|{{{wiki|Main Page}}}|{{{wikialt|}}}}}|{{rsw|{{{wiki|Main Page}}}}}}}{{#if:{{{unique|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}class="tw-infobox-row-title"{{!}}'''Uniques''' |
− | {{!}} | + | {{!}}class="tw-infobox-row"{{!}}<span class="mw-linkline" data-format="https://runescape.wiki/w/$1">{{#replace:{{{unique|}}}|,|<br/>}}</span>}}{{#if:{{{upt|}}}|<nowiki/> |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}class="tw-infobox-row-title"{{!}}'''Uniques per task''' |
− | {{!}} | + | {{!}}class="tw-infobox-row"{{!}}{{{upt|}}}[[Category:Tasks with uniques]]}} |
|}<includeonly>{{Infobox Task/categorise|{{{tier|Beginner}}}|{{{stars|0}}}}}</includeonly><noinclude> | |}<includeonly>{{Infobox Task/categorise|{{{tier|Beginner}}}|{{{stars|0}}}}}</includeonly><noinclude> | ||
Latest revision as of 16:49, 12 May 2023
Infobox Task | |
---|---|
Description | |
Insert task description here. | |
Tier | Beginner |
ID | |
RS Wiki page | Main Page |
Parameters[edit]
- task: The title of the task. Defaults to the page title.
- description: The body of the task description.
- tier: The tier the task appears in. Should be one or more of Beginner, Easy, Medium, Hard, Elite, Master, Legendary, God or Passive, comma separated.
- id: A list of Id templates with the ID or IDs of this task, comma separated.
- stars: The difficulty of the task. Only used on passives.
- wiki: Path to the relevant wiki page on the RuneScape Wiki. Only use the part that appears after https://runescape.wiki/w/
- wikialt: Alternative text to show as the wiki link.
- unique: A comma-separated list of unique items that count for completion of this task (optional)
- upt: The number of uniques required to complete the task.