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:File/Documentation"

From PCGamingWiki, the wiki about fixing PC games
(added docs)
 
m (''Note that this styling template is meant for fixboxes and regular text, and should not be used in game data rows.'')
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
;Description
 
;Description
This template wraps the text provided to it in code tags and applies some additional styling
+
This template wraps the text provided to it in code tags and applies some additional styling.
 +
 
 +
''Note that this styling template is meant for fixboxes and regular text, and should not be used in game data rows.''
  
 
;Arguments
 
;Arguments
 
* <code>1</code> - text used.
 
* <code>1</code> - text used.
 +
* <code>2</code> - (optional) alternate type (currently only supports {{Code|folder}} and {{Code|registry}}).
  
 
;Syntax
 
;Syntax
Line 9: Line 12:
  
 
;Related
 
;Related
 +
* {{T|Folder}} - shorthand for the {{Code|folder}} alternate type.
 +
* {{T|Registry}} - shorthand for the {{Code|registry}} alternate type.
 
* {{T|Code}}
 
* {{T|Code}}
  
 
<includeonly>[[Category:General templates]]</includeonly>
 
<includeonly>[[Category:General templates]]</includeonly>
 
<noinclude>[[Category:Documentation templates]]</noinclude>
 
<noinclude>[[Category:Documentation templates]]</noinclude>

Latest revision as of 21:02, 19 March 2023

Description

This template wraps the text provided to it in code tags and applies some additional styling.

Note that this styling template is meant for fixboxes and regular text, and should not be used in game data rows.

Arguments
  • 1 - text used.
  • 2 - (optional) alternate type (currently only supports folder and registry).
Syntax
{{File|1}}
Related
  • {{Folder}} - shorthand for the folder alternate type.
  • {{Registry}} - shorthand for the registry alternate type.
  • {{Code}}