Difference between revisions of "Template:Param"
From MCEWiki
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[MCE commands#{{{1|}}}_{{{2}}}|<tt>{{{3|{{{2}}}}}}</tt>]] | + | [[MCE commands#{{{1|}}}_{{{2}}}|<tt>{{{3|{{{2}}}}}}</tt>]]<noinclude> |
+ | ==Documentation== | ||
+ | Use this template like this: | ||
+ | {{param|CARD|PARAM}} | ||
+ | to produce a link to the [[MCE commands]] list pointing to parameter PARAM in card section CARD. CARD should be one of: sys, cc, rc, bc, ac or empty, for the "general card commands". If you want a different name for the link, give a third parameter: | ||
+ | {{param|CARD|PARAM|NAME}} | ||
+ | |||
+ | === Examples === | ||
+ | {| class="wikitable" | ||
+ | ! code !! result | ||
+ | |- | ||
+ | | {{param|sys|num_rows}} || {{param|sys|num_rows}} | ||
+ | |- | ||
+ | | {{param||fw_rev}} || {{param||fw_rev}} | ||
+ | |- | ||
+ | | {{param|rc|adc_offset0|adc_offset''#''}} | ||
+ | | {{param|rc|adc_offset0|adc_offset''#''}} | ||
+ | |} | ||
+ | </noinclude> |
Latest revision as of 19:59, 9 September 2014
[[MCE commands#_{{{2}}}|{{{2}}}]]
Documentation
Use this template like this:
{{param|CARD|PARAM}}
to produce a link to the MCE commands list pointing to parameter PARAM in card section CARD. CARD should be one of: sys, cc, rc, bc, ac or empty, for the "general card commands". If you want a different name for the link, give a third parameter:
{{param|CARD|PARAM|NAME}}
Examples
code | result |
---|---|
{{param|sys|num_rows}} | num_rows |
{{param||fw_rev}} | fw_rev |
{{param|rc|adc_offset0|adc_offset''#''}} | adc_offset# |