Template:Special quest table/doc

From Tokyo Afterschool Summoners
< Template:Special quest table
Revision as of 17:37, 13 March 2020 by SurtrFan8511 (talk | contribs) (I don't even know if what I wrote here makes any sense)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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))

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.