Difference between revisions of "Template:File/Documentation"
From PCGamingWiki, the wiki about fixing PC games
m (code) |
m (added * {{T|Folder}} - automatically applies the {{Code|folder}} alternate type.) |
||
Line 9: | Line 9: | ||
<pre><nowiki>{{File|1}}</nowiki></pre> | <pre><nowiki>{{File|1}}</nowiki></pre> | ||
<pre><nowiki>{{File|1|folder}}</nowiki></pre> | <pre><nowiki>{{File|1|folder}}</nowiki></pre> | ||
+ | |||
+ | ;Redirect | ||
+ | * {{T|Folder}} - automatically applies the {{Code|folder}} alternate type. | ||
;Related | ;Related |
Revision as of 08:48, 6 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
).
- Syntax
{{File|1}}
{{File|1|folder}}
- Redirect
- {{Folder}} - automatically applies the
folder
alternate type.
- Related
- {{Code}}