Template:Special quest table/doc
Description
This template is used to create a table that lists special quests available in an event and links to their translations.
It is assumed that translation pages follow a consistent format: Event Quest:<prefix (optional)><character><suffix (optional)>
. Therefore, the template takes prefix and/or suffix as its parameters to create an appropriate hyperlink to a page.
Characters should be passed as unnamed parameters. Their list is printed in the same order as the characters are written when calling this template.
The template automatically detects whether the page exists and changes the yes/no statement in the second column accordingly. Note that each operation uses an expensive parser command and therefore you should avoid passing more than 99 different characters to this template. If you really need to do so, put anything in the nocheck
argument. When doing so, the expensive parser function will be skipped and the list will look slightly different (see below).
Usage examples
{{Special quest table|prefix=Sweet Time with:|suffix=|Surtr|Arc|Azathoth}}
Character | Translated? |
---|---|
Surtr | Yes |
Arc | No |
Azathoth | No |
(obviously, empty string parameters can be omitted)
{{Special quest table|prefix=After Christmas Eve with |Kalki|Sitri|Aegir}}
Character | Translated? |
---|---|
Kalki | No |
Sitri | Yes |
Aegir | No |
(A non-breaking white space was used here (see below))
{{Special quest table|prefix=Sweet Time with:|suffix=|nocheck=true|Ziz|Behemoth}}
Character | Translation |
---|---|
Ziz | Link |
Behemoth | Link |
(Avoids using expensive parser functions)
Notes
You can use the amazing technology of & nbsp;
(Remove space between "&" and "n") to mark spaces at the start/end of the prefix/suffix names as the wiki normally omits them.