Template:Ini: Difference between revisions
Appearance
m 15 revisions imported |
|||
| (7 intermediate revisions by 5 users not shown) | |||
| Line 6: | Line 6: | ||
Copy and paste the code above and replace ''ini-name'' with the name of the [[INI]] file you want to link, without the file extension and the "md" suffix. If parameter 1 is omitted, it defaults to <code>rules</code>. | Copy and paste the code above and replace ''ini-name'' with the name of the [[INI]] file you want to link, without the file extension and the "md" suffix. If parameter 1 is omitted, it defaults to <code>rules</code>. | ||
====Example==== | |||
<pre>{{Ini|rules}}</pre> | |||
This code yields {{ini|rules}}. | |||
===Formatted Text Generation=== | ===Formatted Text Generation=== | ||
Latest revision as of 22:21, 31 March 2025
Usage
Quick Link Generation
{{Ini|ini-name}}
Copy and paste the code above and replace ini-name with the name of the INI file you want to link, without the file extension and the "md" suffix. If parameter 1 is omitted, it defaults to rules.
Example
{{Ini|rules}}
This code yields rules(md).ini.
Formatted Text Generation
This template can also be used to render standardized formatting of INI filenames as text.
Example
{{Ini|rules|txt}}
This code simply yields rules(md).ini. This is used where standardized formatting is important. In most cases it would be easier to simply type it out.