Template:QuestLink: Difference between revisions
Jump to navigation
Jump to search
(Fix `nowrap` parameter) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>[[{{QuestLink/linkList|{{{1}}}}}|{{{showName|{{{1}}}}}}]]</includeonly></onlyinclude> | <onlyinclude><includeonly>{{#ifeq:{{WsBool|{{{nowrap}}}|1}}|1<!-- | ||
-->|<span class="nowrap" style="white-space: nowrap;"><!-- | |||
-->}}[[{{QuestLink/linkList|{{{1}}}}}|{{{showName|{{{1}}}}}}]]<!-- | |||
-->{{#ifeq:{{WsBool|{{{nowrap}}}|1}}|1<!-- | |||
-->|</span><!-- | |||
-->}}</includeonly></onlyinclude> | |||
{{Doc}} | {{Doc}} |
Latest revision as of 22:40, 15 April 2021
About
This template exists to simplify linking to quests.
Parameter
Do not use named parameter for 1
... x
. The first Parameter will be automatically marked as 1
, the second as 2
and so on.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quest Name | 1
|
Questname to be linked. Invalid Questnames will linked to the main quest page
|
String | Required |
Name Override | showName
|
no description
|
String | WikiCode |
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
Test of raw TemplateData output:
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quest Name | 1 | Questname to be linked. Invalid Questnames will linked to the main quest page
| String | required |
Name Override | showName | no description
| String | optional |