Special types can be added to the name to have the output formatted accordingly. Use an underscore to separate identifier and type. The following types are available currently:
- dt
- a date in the form YYYY-MM-DD, formatted as simple text but the input is checked for correct format
- page
- the entry is treated as Wiki pagename and will be linked in output
- title
- like page, but an additional display title can be given separated by a pipe
- nspage
- like page, but the column name is treated as namespace for the link.
- url
- the value will be treated as external link
- tag
- the values are linked to a page named after the column name, using the value as control filter for a data table (change target by a type alias)
- mail
- the value is checked to contain a valid email address, additional text is used as name that will be linked with the given email address
- img<num>
- the input is assumed to be a image URL or local media id. The optional <num> is the wanted width in pixels to resize the image to (defaults to 40)
- wiki
- render the input as wikitext (use sparingly as this type impacts performance)
- pageid
- the input is the caption for a link to the data entry page
- hidden
- the input will not be shown in the data entry or the entry editor
when no type is given, it's just treated as simple string
new types can be created by using Type Aliases
When using a type, add the s for multi-values at the very end (like in the server_pages row)
In the values you can use two placeholders, useful for creating localization depended links.
Variable for value Meaning
- %lang%
- Language code of your default wiki language. e.g. en
- %trans%
- Language code of the localisation of the current page.
- Requires the Translation Plugin. For page link de:test:page, it is replaced by de. Fallback to default lang. Empty without Translation Plugin.