Difference between revisions of "Template:File/Documentation"
From PCGamingWiki, the wiki about fixing PC games
(added docs) |
m (added second argument) |
||
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 ''folder''). | ||
;Syntax | ;Syntax | ||
<pre><nowiki>{{File|1}}</nowiki></pre> | <pre><nowiki>{{File|1}}</nowiki></pre> | ||
+ | <pre><nowiki>{{File|1|folder}}</nowiki></pre> | ||
;Related | ;Related |
Revision as of 17:55, 5 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 supports folder).
- Syntax
{{File|1}}
{{File|1|folder}}
- Related
- {{Code}}