Quests/row: Difference between revisions
Jump to navigation
Jump to search
(Create template for inserting table rows in Quests) |
(Add `level‑rowspan` and `inherit = level`) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
<onlyinclude> | <onlyinclude> | ||
|- | |- | ||
! scope="row" | {{QuestLink|{{{1}}}}} | ! scope="row" {{#if:{{{1|}}}| data-sort-value="{{#sub:{{{1|}}}}}" }} | {{QuestLink| {{#sub: {{{1|}}} }} }}<!-- | ||
| {{{level}}} | -->{{#if: {{#pos:{{{inherit|}}}|level}}{{#ifeq:{{{inherit|}}}|all|1}} ||<nowiki/> | ||
| {{{location}}} | {{!}} {{#if: {{{level-rowspan|}}}<!-- | ||
| {{{ | -->| rowspan="{{{level-rowspan|}}}"<!-- | ||
| {{{notes|}}} | -->}} {{#if:{{{level|}}}<!-- | ||
-->| data-sort-value="{{padleft:{{#sub:{{{level}}}}}|2}}"<!-- | |||
-->}}<!-- | |||
-->{{!}} {{#sub: {{{level|}}} }}<!-- | |||
-->}}{{#if: {{#pos:{{{inherit|}}}|location}}{{#ifeq:{{{inherit|}}}|all|1}} ||<nowiki/> | |||
{{!}} {{#if: {{{location-rowspan|}}}<!-- | |||
-->| rowspan="{{{location-rowspan|}}}"<!-- | |||
-->}}<!-- | |||
-->{{!}} {{#sub:{{{location|}}}}}<!-- | |||
-->}}{{#if: {{#pos:{{{inherit|}}}|prereqs}}{{#ifeq:{{{inherit|}}}|all|1}} ||<nowiki/> | |||
{{!}} {{#if: {{{prereqs-rowspan|}}}<!-- | |||
-->| rowspan="{{{prereqs-rowspan|}}}" }}<!-- | |||
-->{{!}} {{#sub:{{{prereqs|}}}}}<!-- | |||
-->}}{{#if: {{#pos:{{{inherit|}}}|notes}}{{#ifeq:{{{inherit|}}}|all|1}} ||<nowiki/> | |||
{{!}} {{#if: {{{notes-rowspan|}}}<!-- | |||
-->| rowspan="{{{notes-rowspan|}}}"<!-- | |||
-->}}<!-- | |||
-->{{!}} {{#sub:{{{notes|}}}}}<!-- | |||
-->}} | |||
|- | |- | ||
</onlyinclude> | </onlyinclude> | ||
|} | |} | ||
{{Doc}} | {{Doc}} |
Latest revision as of 15:52, 2 May 2021
Quest | Level | Location | Prerequisites | Notes |
---|---|---|---|---|
[[| ]] |
This template has no documentation. If you know how to use this template, please add some.
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | no description | String | required |
Level | level | no description | Number | required |
Location | location | no description | Content | required |
Prerequisites | prereqs | no description | Content | optional |
Notes | notes | no description | Content | optional |
Level `rowspan` | level-rowspan | no description | Number | optional |
Location `rowspan` | location-rowspan | no description | Number | optional |
Prerequisites `rowspan` | prereqs-rowspan | no description | Number | optional |
Notes `rowspan` | notes-rowspan | no description | Number | optional |
Inherit | inherit | The list of values to inherit. Syntax: [ "all" | { [ "level" | "location" | "prereqs" | "notes" ] } ] | String | optional |