Difference between revisions of "Template:Param"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This is the template for a parameter; first supplied value is parameter ''type,'' second is parameter ''description.''<br />
 
This is the template for a parameter; first supplied value is parameter ''type,'' second is parameter ''description.''<br />
Note that the second parameter, ''description'', is optional. If used, it will be displayed styled by [[Template:Pspan]].,br />
+
Note that the second parameter, ''description'', is optional. If used, it will be displayed styled by [[Template:Pspan]].<br />
 
To specify that the return dataype is an aggregate, supply an additional argument of "ag=SOMETHING" where SOMETHING can be any string at all.
 
To specify that the return dataype is an aggregate, supply an additional argument of "ag=SOMETHING" where SOMETHING can be any string at all.
 
[[Category:Basic Templates]]
 
[[Category:Basic Templates]]
 
</noinclude><includeonly>&nbsp;{{#if: {{{ag|}}}|'''[[Aggregate|{{{1}}}]]'''|'''[[{{{1}}}]]'''}}&nbsp;{{#if: {{{2|}}}|{{Pspan|{{{2}}}}}&nbsp;}}</includeonly>
 
</noinclude><includeonly>&nbsp;{{#if: {{{ag|}}}|'''[[Aggregate|{{{1}}}]]'''|'''[[{{{1}}}]]'''}}&nbsp;{{#if: {{{2|}}}|{{Pspan|{{{2}}}}}&nbsp;}}</includeonly>

Revision as of 14:24, 28 February 2010

This is the template for a parameter; first supplied value is parameter type, second is parameter description.
Note that the second parameter, description, is optional. If used, it will be displayed styled by Template:Pspan.
To specify that the return dataype is an aggregate, supply an additional argument of "ag=SOMETHING" where SOMETHING can be any string at all.