enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Help:Conditional expressions - Wikipedia

    en.wikipedia.org/wiki/Help:Conditional_expressions

    This parser function can be used to detect whether a template parameter is defined, even if it has been set to a false value. For example, to check whether the first positional parameter has been passed to a template (note that the strings " + " and " - " can be any two different non-whitespace strings):

  3. Template:Switch by pattern - Wikipedia

    en.wikipedia.org/wiki/Template:ReSwitch

    Unlike Switch parser function, this template matches any part of the input string or any Lua pattern in the input string. It returns the first match, or all matches separated by the chosen separator. It returns the first match, or all matches separated by the chosen separator.

  4. Help:Switch parser function - Wikipedia

    en.wikipedia.org/wiki/Help:Switch_parser_function

    The switch parser function, coded as "#switch", selects the first matching branch in a list of choices, acting as a case statement. Each branch can be a value , an expression ( calculation ), or a template call, [ 1 ] evaluated and compared to match the value of the switch.

  5. Help:A quick guide to templates - Wikipedia

    en.wikipedia.org/.../Help:A_quick_guide_to_templates

    A template is a Wikipedia page created to be included in other pages. It usually contains repetitive material that may need to show up on multiple articles or pages, often with customizable input. Templates sometimes use MediaWiki parser functions, nicknamed "magic words", a simple scripting language. Template pages are found in the template ...

  6. Template:Switch - Wikipedia

    en.wikipedia.org/wiki/Template:Switch

    Template: Switch. 50 languages. ... Help:Switch parser function This page is a soft redirect This page was last edited on 30 September 2023, at 01:34 (UTC). ...

  7. Template:Toggle switch/doc - Wikipedia

    en.wikipedia.org/wiki/Template:Toggle_switch/doc

    Language links are at the top of the page across from the title.

  8. Template:Switches - Wikipedia

    en.wikipedia.org/wiki/Template:Switches

    A navigational box that can be placed at the bottom of articles. Template parameters [Edit template data] Parameter Description Type Status State state The initial visibility of the navbox Suggested values collapsed expanded autocollapse String suggested Template transclusions Transclusion maintenance Check completeness of transclusions The above documentation is transcluded from Template ...

  9. Wikipedia:Advanced template coding - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Advanced...

    Copy a template section into a test-page edit-window, for debug. Copy a template section to the top of the template, for debug. Restructure a template so that each section is more separated. The basic strategy: isolate the code section to be debugged. Next, the testing, of each section of code, is crucial. There are some age-old adages to heed: