name: " .. text) end end text = "''" .. text .. "''" --[[ Adds <span class="searchmatch">italics</span> toggle ('') around the whitespace that surrounds various things that...
indexed by entity-id, and contains the value " or '' --]] local p = {} p.<span class="searchmatch">italics</span> = { "Q571", -- book "Q13593966", -- literary trilogy "Q277759", --...
{['no']='no', ['off']='no'}, -- values accepted by |italic= and |<span class="searchmatch">italics</span>=; {{lang}} expects 'no' so 'off' must be translated paren = {['no']=true...
italic markup '' ... '' Note: We cannot use <i> for <span class="searchmatch">italics</span>, as the expected behavior for <span class="searchmatch">italics</span> specified by ''...'' in the title is that they will...
]+)[^[%]]*(%]))\0", -- External link "((\127'\"`UNIQ%-%-%l+%-%x+%-+QINU`\"'\127))", -- Strip marker "('*(''').-'*('''))", -- Bold "('*('').-'*(''))" -- <span class="searchmatch">Italics</span> }...
]+)[^[%]]*(%]))\0", -- External link "((\127'\"`UNIQ%-%-%l+%-%x+%-+QINU`\"'\127))", -- Strip marker "('*(''').-'*('''))", -- Bold "('*('').-'*(''))" -- <span class="searchmatch">Italics</span> }...
if italicized_ranks[rank] or args["i"] then result = require("Module:<span class="searchmatch">italics</span>").i(result) end if exists then result = result .. "<sup>" .. wikispecies_link(taxon...
name = string.gsub(name, italMarker, "") -- first remove any internal <span class="searchmatch">italics</span> local words = mw.text.split(name, " ", true) if...
spans while keeping text inside :gsub('<i.->(.-)</i>', '%1') --remove <span class="searchmatch">italics</span> while keeping text inside :gsub('<b.->(.-)</b>', '%1') --remove bold...
use a function from Module:0Taxon<span class="searchmatch">Italics</span> to italicize a taxon name local Taxon<span class="searchmatch">Italics</span> = require("Module:0Taxon<span class="searchmatch">Italics</span>") local IfPreview = require([[Module:0If...