Difference between revisions of "Template:File"
From PCGamingWiki, the wiki about fixing PC games
Masked Turk (talk | contribs) m |
m (added registry type) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <includeonly><span class="file-span-linebreak">{{#switch: {{lc: {{{2|}}} }} |
− | + | |dir | |
− | + | |directory | |
+ | |folder=<span class="file-span-directory"></span> | ||
+ | |registry=<span class="file-span-registry"></span> | ||
+ | |#default=<span class="file-span"></span> | ||
+ | }}<code class="file-code">{{{1}}}</code></span></includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 18:57, 10 January 2023
Documentation for the above template (sometimes hidden from view).
- 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 supportsfolder
andregistry
).
- Syntax
{{File|1}}
- Related
Visit Template:File/Documentation to edit this text. (How does this work?)