Search results
Results from the WOW.Com Content Network
See also: the {{}} template. The #if function selects one of two alternatives based on the truth value of a test string. {{#if: test string | value if true | value if false}} As explained above, a string is considered true if it contains at least one non-whitespace character.
Download as PDF; Printable version; ... This template is used in ... Omitting count will replace all occurrences. Space counts as a character if placed in any of the ...
The indices are one-based (meaning the first is number one), inclusive (meaning the indices you specify are included), and may be negative to count from the other end. For example, {{#invoke:string|sub|12345678|2|-3}} → 23456. Not all the legacy substring templates use this numbering scheme, so check the documentation of unfamiliar templates.
This template is used on approximately 6,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage . Consider discussing changes on the talk page before implementing them.
This is a keyboard shortcut for the "not equal to" sign. It can be invoked with the code {{!=}} . The above documentation is transcluded from Template:Not equal to/doc .
This is a documentation subpage for Template:Not equal to. It may contain usage information, categories and other content that is not part of the original template page. Shortcut
This template is used on approximately 166,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage .
This template returns the last word of the first parameter, i.e. the last non-space token after the last space. Use |1= for the first parameter if the string may contain an equals sign (=). By default, words are delimited by spaces, but the optional parameter |sep= can set the separator to any character.