- This function returns either the first argument or second argument passed to function p.main(frame) ...1 KB (223 words) - 08:21, 3 April 2022
- * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor. Object.keys(containers).forEach(function (key) { ...1 KB (139 words) - 12:16, 27 March 2024
- [[Category:Function templates|{{PAGENAME}}]] ...325 bytes (32 words) - 11:53, 12 June 2023
- function p.main(frame) function p._main(args) ...4 KB (487 words) - 13:41, 19 April 2024
- function p.For (frame) function p._For (args) ...1 KB (186 words) - 22:56, 28 May 2023
- -- local function to help normalize input arguments local function normalize_input_args(input_args, output_args) ...3 KB (430 words) - 13:26, 19 April 2024
- ...0.5em 0;"> '''''Note: Please do not add {{#ifeq:{{{type|}}}|module|modules|templates}} to this category; instead, use one of its subcategories.'''''{{category o ...ox|sidebar|stub|={{ucfirst:{{{type}}}}} templates |module=Modules|#default=Templates}} relating to {{{topic}}}.''' {{{1|}}}{{{description|}}} ...7 KB (700 words) - 15:08, 28 May 2023
- function p._main(args) -- own function to get the right error level. ...2 KB (386 words) - 18:18, 23 March 2022
- [[Category:Text-specific formatting and function templates|{{PAGENAME}}]] ...789 bytes (81 words) - 18:23, 23 March 2022
- function p.fetch(frame) local status, data = pcall(function () ...2 KB (335 words) - 23:55, 3 June 2023
- -- implements the {{hatnote}} and {{format link}} meta-templates and includes -- local function getArgs(frame) ...6 KB (728 words) - 22:56, 28 May 2023
- ...lows the <code>true</code> and <code>false</code> boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. T yesno(function() return 'This is a function.' end) ...4 KB (652 words) - 15:08, 28 May 2023
- ...tly only does so for the first parameter. It is safer to set up the switch function given above. [[Category:Wikipedia non-free file copyright templates|Video Game Screenshot]] ...1 KB (209 words) - 15:09, 28 May 2023
- local function getArgs(frame) local function removeInitialColon(s) ...6 KB (855 words) - 22:56, 28 May 2023
- -- for {{see also}} and similar templates. -- -- Helper function that pre-combines display parameters into page arguments. ...5 KB (591 words) - 19:28, 29 May 2023
- -- The "msg" function uses a Commons dataset to translate a message ...doc" function will generate the <templatedata> parameter documentation for templates. ...6 KB (970 words) - 13:26, 19 April 2024
- This function returns the length of the target string. function str.len( frame ) ...18 KB (2,778 words) - 11:46, 30 January 2024
- -- templates. It automatically detects namespaces, and allows for a -- local function shallowCopy(t) ...7 KB (901 words) - 10:51, 18 June 2022
- ...}. It is an alternative to {{tl|unbulleted list}}, which performs the same function in a more concise but less wiki-style manner. Note that {{tl|unbulleted lis ...ists}} for more information on creating lists within the Infobox family of templates, with examples in the following {{section link|Template:Infobox person#Exam ...5 KB (588 words) - 14:10, 7 June 2023
- local function searchDisp(haystack, needle) local function stringifyList(list, options) ...7 KB (952 words) - 00:22, 3 April 2024