Difference between revisions of "Template:XDG"
From PCGamingWiki, the wiki about fixing PC games
(added Linux validity check) |
m (updated category name) |
||
Line 5: | Line 5: | ||
|#default = {{ii}} {{{1|}}} [[Linux XDG support::other| ]] | |#default = {{ii}} {{{1|}}} [[Linux XDG support::other| ]] | ||
− | }}{{#if: {{#var:Linux}} | | [[Category:Invalid template usage ( | + | }}{{#if: {{#var:Linux}} | | [[Category:Invalid template usage (Game data)]]}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 03:24, 12 October 2018
Documentation for the above template (sometimes hidden from view).
- Description
This template states whether the game observes the XDG base directory specification.
- Arguments
1
- Possible values: true, false, other
- Use true if the games observes all parts of the specification, including where to save if the value is not set (~/.local/share/, ~/.config/), as well as using either the environmental values XDG_DATA_HOME, XDG_CONFIG_HOME or both.
- Use false if none of the above are followed.
- If the case is different (environmental values are observed but not the default location, game crashes when value is set), enter a custom text describing the issue instead, like so
{{XDG|Custom text goes here.}}
.
- Syntax
{{XDG|1}}
Visit Template:XDG/Documentation to edit this text. (How does this work?)