ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Ini: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#switch:{{{2}}}|text|txt|t={{{1|rules}}}(md).ini|#default=[[{{{1|rules}}}.ini|{{{1|rules}}}(md).ini]]}}</includeonly><noinclude>
<includeonly>{{#switch:{{{2}}}|text|txt|t={{{1|rules}}}(md).ini|#default=[[{{{1|rules}}}.ini|{{{1|rules}}}(md).ini]]}}</includeonly><noinclude>
 ( 2001.12.25 18:06 )  : Howdy! I know this is somewhat off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I&#8217;m using the same blog platform as yours and I&#8217;m having problems finding one? Thanks a lot!
==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 <code>rules</code>.
 
====Example====
<pre>{{Ini|rules}}</pre>
This code yields {{ini|rules}}.
 
===Formatted Text Generation===
This template can also be used to render standardized formatting of INI filenames as text.
 
====Example====
<pre>{{Ini|rules|txt}}</pre>
This code simply yields {{ini|rules|txt}}. This is used where standardized formatting is important. In most cases it would be easier to simply type it out.
</noinclude>

Latest revision as of 16:06, 25 July 2016

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.