Difference between revisions of "Template:File/Documentation"
From PCGamingWiki, the wiki about fixing PC games
m (-)) |
m (documented registry type) |
||
Line 4: | Line 4: | ||
;Arguments | ;Arguments | ||
* <code>1</code> - text used. | * <code>1</code> - text used. | ||
− | * <code>2</code> - (optional) alternate type (currently only supports {{Code|folder}}). | + | * <code>2</code> - (optional) alternate type (currently only supports {{Code|folder}} and {{Code|registry}}). |
;Syntax | ;Syntax | ||
<pre><nowiki>{{File|1}}</nowiki></pre> | <pre><nowiki>{{File|1}}</nowiki></pre> | ||
− | |||
;Related | ;Related | ||
* {{T|Folder}} - shorthand for the {{Code|folder}} alternate type. | * {{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> |
Revision as of 18:58, 10 January 2023
- Description
This template wraps the text provided to it in code tags and applies some additional styling
- Arguments
1
- text used.2
- (optional) alternate type (currently only supportsfolder
andregistry
).
- Syntax
{{File|1}}
- Related