User contributions for ConsciousCode
Jump to navigation
Jump to search
20 February 2023
- 01:4501:45, 20 February 2023 diff hist +19,420 User:ConsciousCode/sandbox Homework current
- 01:3301:33, 20 February 2023 diff hist +329 N Module:If preview/styles.css Created page with "→{{pp|small=yes}}: .preview-warning { font-style: italic; →@noflip: padding-left: 1.6em; margin-bottom: 0.5em; color: red; } →The templatestyles element inserts a link element before hatnotes. * TODO: Remove link if/when WMF resolves T200206: .preview-warning + link + .preview-warning { margin-top: -0.5em; }" current
- 01:3001:30, 20 February 2023 diff hist +842 N Module:If preview/configuration Created page with "--We perform the actual check for whether this is a preview here since preprocessing is relatively expensive. local frame = mw.getCurrentFrame() local function is_preview() local revision_id = frame:preprocess('{{REVISIONID}}') -- {{REVISIONID}} is usually the empty string when previewed. -- I don't know why we're checking for nil but hey, maybe someday things -- would have broken return revision_id == nil or revision_id == '' end local function templatestyl..." current
- 01:2101:21, 20 February 2023 diff hist +35 N File:Circuit.png Category:deleteme current
- 00:4100:41, 20 February 2023 diff hist +35 N File:PXL 20230220 003850486.jpg Category:deleteme current
19 February 2023
- 23:5423:54, 19 February 2023 diff hist +769 N Template:Preview warning/doc Created page with "{{Documentation subpage}} {{Lua|Module:If preview}} '''Template:Preview warning''' emits a warning in preview. Modules should instead use the module interface <code>_warning()</code> in Module:If preview. == Usage == <code><nowiki>{{preview warning|Warning text in preview}}</nowiki></code> The warning will appear at the top of the page in preview, no matter where it is placed. It will be prefaced by "Preview warning:" in bold. The template will emit an always-visi..." current
- 23:5423:54, 19 February 2023 diff hist +100 N Template:Preview warning Created page with "<includeonly>{{#invoke:If preview|pwarning}}</includeonly><noinclude> {{documentation}} </noinclude>" current
- 23:5323:53, 19 February 2023 diff hist +3,838 N Module:Lua banner Created page with "-- This module implements the {{lua}} template. local yesno = require('Module:Yesno') local mList = require('Module:List') local mTableTools = require('Module:TableTools') local mMessageBox = require('Module:Message box') local p = {} function p.main(frame) local origArgs = frame:getParent().args local args = {} for k, v in pairs(origArgs) do v = v:match('^%s*(.-)%s*$') if v ~= '' then args[k] = v end end return p._main(args) end function p._main(args)..." current
- 23:5323:53, 19 February 2023 diff hist +196 N Template:Lua Created page with "<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude> {{Lua|Module:Lua banner}} {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinclude>" current
- 23:5223:52, 19 February 2023 diff hist +1,453 N Module:If preview Created page with "local p = {} local cfg = mw.loadData('Module:If preview/configuration') --main This function returns either the first argument or second argument passed to this module, depending on whether the page is being previewed. function p.main(frame) if cfg.preview then return frame.args[1] or '' else return frame.args[2] or '' end end --[[ pmain This function returns either the first argument or second argument passed to this module's parent (i.e. template usi..." current
- 23:5223:52, 19 February 2023 diff hist +1,055 N Template:If preview/doc Created page with "{{Documentation subpage}} {{Lua|Module:If preview}} This is a template that helps other templates determine if they are being previewed or not, and do or display different things accordingly. == Usage == <code><nowiki>{{If preview|value if being previewed|value if not being previewed}}</nowiki></code> The first parameter is returned if the page is being previewed, otherwise the second parameter will be returned. Either parameter may be empty. ==Examples== Preview thi..." current
- 23:5123:51, 19 February 2023 diff hist +70 N Template:If preview Created page with "{{#invoke:If preview|pmain}}<noinclude> {{documentation}} </noinclude>" current
- 22:3822:38, 19 February 2023 diff hist +35 N File:EeENZ.jpg Category:Deleteme current
- 21:4021:40, 19 February 2023 diff hist +35 N File:GGXAK.jpg Category:Deleteme current
- 21:3321:33, 19 February 2023 diff hist +35 N File:Debug-tag-connect-footprint.jpg Category:Deleteme current
- 21:2421:24, 19 February 2023 diff hist +35 N File:Pdi bmp001x4 320.jpeg Category:Deleteme current
18 February 2023
- 21:3321:33, 18 February 2023 diff hist +35 N File:610wiBrepRL. AC SX679 .jpg Category:Deleteme current
- 21:2921:29, 18 February 2023 diff hist +35 N File:PXL 20230218 212249762.MP.jpg Category:Deleteme current
- 21:2721:27, 18 February 2023 diff hist +35 N File:PXL 20230218 212221319 2.jpg Category:Deleteme current
- 21:2621:26, 18 February 2023 diff hist +35 N File:PXL 20230218 212221319.jpg Category:Deleteme current