Template:XdgDataHome clarification/doc

From Unvanquished
Jump to: navigation, search

Variables

  • subdirectory (optional)
    The subdirectory will be appended to the path if exists.

Examples

This snippet:

{{XdgDataHome_clarification}}

will display:

More precisely: ${XDG_DATA_HOME:-${HOME}/.local/share}/unvanquished (it's an XDG data home directory).

This snippet:

{{XdgDataHome_clarification|subdirectory=base}}

will display:

More precisely: ${XDG_DATA_HOME:-${HOME}/.local/share}/unvanquished/base (it's an XDG data home directory).