Difference between pages "Template:Function" and "User:StDoodle/FunctionPage sandbox"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>StDoodle
m
 
imported>StDoodle
m
 
Line 1: Line 1:
<noinclude>This is the main function template. Supply the function ''name,'' the data type of the value it ''returns,'' and what, if any, ''parameters'' it takes.</noinclude>
+
<noinclude>This is template for a function page (for just a function line, see "Template:Function").</noinclude>
<includeonly>
+
<includeonly>{{#customtitle:{{{name}}}()|{{{name}}}()}}
{{#customtitle:{{{name}}}()|{{{name}}}()}}
+
<!-- FILL OUT EVERYTHING IN CAPS WITH INFO FOR THIS PAGE (EXCEPT COMMENTS LIKE THIS LINE)-->
'''[[{{{returns}}}]]''' '''{{{name}}}('''<nowiki></nowiki>{{{parameters}}}<nowiki></nowiki>''')'''
+
{{#if: {{{function1|}}}|{{{function1}}}}}
{{#if: p1 | '''{{{p1t}}}''' {{{p1}}} - {{{p1d}}} }}
+
{{#if: {{{function2|}}}|{{{function2}}}}}
{{#if: p2 | '''{{{p2t}}}''' {{{p2}}} - {{{p2d}}} }}
+
{{#if: {{{function3|}}}|{{{function3}}}}}
[[Category:Ash Functions]]
+
{{#if: {{{function4|}}}|{{{function4}}}}}
 +
{{#if: {{{function5|}}}|{{{function5}}}}}
 +
{{#if: {{{code1|}}}|{{User:StDoodle/CodeStart_sandbox|{{{code1title}}}|{{{code1desc}}}{{{code1code}}}{{User:StDoodle/CodeEnd_sandbox}} }}
 +
[[Category:Test Functions]]
 
</includeonly>
 
</includeonly>

Revision as of 21:14, 24 February 2010

This is template for a function page (for just a function line, see "Template:Function").