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

Difference between revisions of "Template:Ini"

From ModEnc
Jump to: navigation, search
(Example)
(Usage)
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>
==Usage==
+
Finding this post has <a href="http://tauqbcc.com">anrsweed</a> my prayers
 
 
===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>.
 
 
 
It's <a href="http://traffe.com">wodfrenul</a> to have you on our side, haha!
 
 
 
===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>
 

Revision as of 23:19, 22 July 2016

Finding this post has <a href="http://tauqbcc.com">anrsweed</a> my prayers