Italic Title

}.

Documentation icon މޮޑިއުލް ޑޮކިއުމަންޓޭޝަން
This is a Lua implementation of

Please see the template page for documentation.

-- This module implements {{italic title}}.  local p = {}  function p.main(frame) local args = require('Module:Arguments').getArgs(frame, { wrappers = 'Template:Italic title' }) local title = mw.title.getCurrentTitle()  -- Find the parts before and after the disambiguation parentheses, if any. local prefix, parentheses = mw.ustring.match(title.text, '^(.+) (%([^%(%)]+%))$')  -- If parentheses were found, italicise only the part before them. Otherwise -- italicise the whole title. local result if prefix and parentheses and args.all ~= 'yes' then result = "''" .. prefix .. "'' " .. parentheses else result = "''" .. title.text .. "''" end  -- Add the namespace if we're not in mainspace. if title.namespace ~= 0 then result = mw.site.namespaces[title.namespace].name .. ':' .. result end  -- Call displaytitle with the text we generated. return mw.getCurrentFrame():callParserFunction( 'DISPLAYTITLE', result, args[1] ) end      return p 

Tags:

ފަންވަތް:Italic title

🔥 Trending searches on Wiki ދިވެހިބަސް:

މަކާއޫގައުމީ ފިލްމް އެވޯޑްޢަބްދުލްމަޖީދު ރަންނަބަނޑޭރި ކިލެގެފާނުޓައިވާންޑިސެމްބަރު 1މަލަޔާޅަމްފަލަކީ އިލްމުޕާކިސްތާންއެޕްރީލް 15އިސްލާމީ ތާރީޚުދިމިޝްޤުޕާކިސްތާނުގެ ދިދަފިރިހެން ހަށިޑިމޮކްރަސީބެލްޖިއަމްއިނގިރޭސިވިލާތު ބަށިރޮނަލްޑް ރޭގަންކަނދޮޅުހަންގޭރީސިމާދު ސަޢީދުދަމުއިމަނަދޫ ކަތީބުގެ މޫސަބޭގެ ދަރިކޮޅުމެސެޑޯނިއާޢަލީގެފާނުކާތަކެތި ހިގާ ހޮޅިޖޫން 7ޖުލައި 12އިލްހާމް އަލިޔެވް2012ތުރުކީވިލާތްފުސްޠާޠު ( މިސްރު )ރީނދޫމާޝަލް ޖަޒީރާމާރޗް 12ސަޢީދު ޤާސިމްކާލީކޯޓުއެޕްރީލް 13ބުދަ ދުވަސްޗެކް ޖުމްހޫރިއްޔާއެޕްރީލް 1އެޕްރީލް 22ޒިންކްފެބްރުއަރީ 22FAQs on composing Thaana on the computerޢަޤީދާމަޑުއްވަރީ (މ. އަތޮޅު)މައިކްރޯސޮފްޓްޖެނުއަރީފުރަގަސް ފަރާތު ދޮރުޖެނުއަރީ 5އިބްރާހިމް ޝިހާބްޑިސެމްބަރުޖެނުއަރީ 9ބިންރުވާންޑާ🡆 More