Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:XDG/Documentation"

From PCGamingWiki, the wiki about fixing PC games
(Created page with ";Description This template states whether the game observes the [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG base directory specification]. ;Ar...")
 
m (updated categories)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
;Description
 
;Description
This template states whether the game observes the [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG base directory specification].
+
This template states whether the game observes the [https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html XDG base directory specification].
  
 
;Arguments
 
;Arguments
Line 14: Line 14:
 
</nowiki></code>
 
</nowiki></code>
  
<includeonly>[[Category:Template information]]</includeonly>
+
<includeonly>[[Category:General templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
+
<noinclude>[[Category:Documentation templates]]</noinclude>

Revision as of 14:31, 31 October 2020

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. Sets Property:Linux XDG support to true.
Use false if none of the above are followed. Sets Property:Linux XDG support to false.
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.}}. Sets Property:Linux XDG support to other.
Syntax

{{XDG|1}}