Module:Params/doc/link to the code
This is a helper template for the documentation of Module:Params that creates a link to the line in the Lua code where a function or a modifier is declared.
Usage
{{module:params/doc/link to the code|squeezing}}→ squeezing{{module:params/doc/link to the code|cutting|Lorem ipsum}}→ Lorem ipsum
Complete list of the links generated
sequentialnon-sequentialall_sortedreassortedsettingsqueezingfilling_the_gapsclearingcuttingcroppingpurgingbackpurgingshiftingreversing_numeric_namessorting_sequential_valuessplicingimposingprovidingdiscardingexcluding_non-numeric_namesexcluding_numeric_nameswith_name_matchingwith_name_not_matchingwith_value_matchingwith_value_not_matchingtrimming_valuesmapping_to_lowercasemapping_to_uppercasemapping_by_callingmapping_by_invokingmapping_by_magicmapping_by_replacingmapping_by_mixingrenaming_to_lowercaserenaming_to_uppercaserenaming_to_sequencerenaming_by_callingrenaming_by_invokingrenaming_by_magicrenaming_by_replacingrenaming_by_mixinggrouping_by_callingparsingreinterpretingevaluatingmixing_names_and_valuescombiningcombining_valuescombining_by_callingcombining_by_invokingcombining_by_magicsnapshottingrememberingentering_substackpullingdetaching_substackdropping_substackleaving_substackmerging_substackflushingcountconcat_and_callconcat_and_invokeconcat_and_magicvalue_oflistlist_valueslist_maybe_with_namescoinsunique_coinsfor_eachcall_for_eachinvoke_for_eachmagic_for_eachcall_for_each_valueinvoke_for_each_valuemagic_for_each_valuecall_for_each_groupnewself
Updating the list
After each update in the code of Module:Params the list of line numbers stored in this template needs to be updated. If you use GNU or other Unix-like operating systems you can do that automatically by launching:
grep -n '^library.\|^static_iface.' params.lua | sed 's/\(library\|static_iface\)\(\.\|\['\''\)\|'\''\]\|\s*=\s*function\s*([^)]\+)//g;s/^\([0-9]\+\):\(.\+\)$/ | \2 = L-\1/g'
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.