Template:Quest: Difference between revisions
Jump to navigation
Jump to search
>AnnanFay m (testing) |
>AnnanFay m (testing) |
||
Line 1: | Line 1: | ||
Debug:{{{1}}} : {{{1|Default}}} | Debug:{{{1}}} : {{{1|Default}}} : {{#if:{{{1|}}}|{{{1}}}|Default}} | ||
<includeonly>{{Quest/{{#sub: {{{1|Default | <includeonly>{{Quest/{{#sub: {{#if:{{{1|}}}|{{{1}}}|Default}} | 0 | {{#pos:{{#if:{{{1|}}}|{{{1}}}|Default}}|-}} }} | ||
| Name = {{{Name}}} | | Name = {{{Name}}} | ||
| PageName = {{#if: {{{PageName|}}} | {{{PageName}}} | {{{Name}}} }} | | PageName = {{#if: {{{PageName|}}} | {{{PageName}}} | {{{Name}}} }} | ||
Line 11: | Line 11: | ||
| Completion = {{{Completion|}}} | | Completion = {{{Completion|}}} | ||
| Act = {{{Act|}}} | | Act = {{{Act|}}} | ||
| NormalRewards = {{{NormalRewards|}}} | | NormalRewards = {{{NormalRewards|}}} | ||
| CruelRewards = {{{CruelRewards|}}} | | CruelRewards = {{{CruelRewards|}}} |
Revision as of 20:59, 26 April 2013
Debug:{{{1}}} : Default : Default
Overview
In order to stream-line quest pages and make further additions easier to track as well as automatically populating certain section this template exists.
See the arguments below for a description on the options of this template. In particular, there are also the following automatic features:
- Creating & populating quest rewards and vendor rewards automatically if those exist
- Adding quest and quest act categories
- Creating a formatted infobox with the main information
Arguments
Argument | Description | Lua | Min | Opt |
---|---|---|---|---|
name | ✓
|
✓
|
✗
| |
icon | ✓
|
✗
|
✓
| |
boss | Either accepts the boss name or a number.
If a boss is specified, it will generate a link and image to the boss in the appropinate field. If a number is specified, it is the number of bosses. Each individual boss can then be specified as boss1, boss2, boss3 ... bossN |
✓
|
✗
|
✓
|
boss_link | Specifiy this if the linked boss page differs from the boss name. | ✓
|
✗
|
✓
|
boss_image | Specify this if the boss image is different from the default "boss.png". Consider moving the image for consistency before setting this option | ✓
|
✗
|
✓
|
key_item | ✓
|
✗
|
✓
| |
required | ✓
|
✓
|
✓
| |
start | ✓
|
✓
|
✓
| |
objective | ✓
|
✓
|
✓
| |
completion | ✓
|
✓
|
✓
| |
act | ✗
|
✓
|
✓
|
Template
Minimal
{{Quest |name= |boss= |required= |start= |objective= |completion= |act= }}
Full
{{Quest |name= |icon= |boss= |boss_image= |required= |start= |objective= |completion= |key_item= |act= }}
The above documentation is transcluded from Template:Quest/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.