User contributions for Plz2

A user with 1,314 edits. Account created on 18 February 2024.
Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

25 June 2024

24 June 2024

23 June 2024

16 June 2024

18 May 2024

11 May 2024

7 May 2024

25 April 2024

  • 00:3600:36, 25 April 2024 diff hist +912 N Module:Switch infoboxCreated page with "local p = {} function p.main(frame) local args = frame:getParent().args local contents = {} local i = 1 while args['item'..i] do table.insert(contents, { text = args['text'..i] or ('Item '..i), content = '\n' .. args['item'..i] }) i = i + 1 end local ret = mw.html.create('div') :addClass('switch-infobox') :addClass('loading') :tag('span') :addClass('loading-button') :addClass('button') :wikitext('Loading...') :done() local mah_t..." current
  • 00:3400:34, 25 April 2024 diff hist +1,020 N Template:Switch infobox/docCreated page with "{{documentation}} This template is used to separate different information on a specific page (mostly NPC) with different condition (For example, before and after a quest). After the insertion of the template, there will be different buttons stating the possible conditions of that page. When clicked on different conditions, the page will display different information. ==Usage== ''Note: By following the pattern, the template is able to add 2-50 conditions.'' <pre> {{Swit..." current
  • 00:3300:33, 25 April 2024 diff hist +89 N Template:Switch infoboxCreated page with "<includeonly>{{#invoke:Switch infobox|main}}</includeonly><noinclude>{{/doc}}</noinclude>" current
  • 00:3200:32, 25 April 2024 diff hist +1,902 N Template:Synced switch/docCreated page with "{{Documentation}} {{invokes|Synced switch}} '''Synced switch''' is a method to have content change at the same time as a switch infobox, without generating the associated buttons. ==Usage== <pre>{{Synced switch|version1=content shown for variant 1|version2=content shown for variant 2|default=content shown for all other variants}}</pre> This usage requires a Module:Infobox-based switch infobox to be on the page, as the setup for switching that infobox completes the..." current
  • 00:3100:31, 25 April 2024 diff hist +61 N Template:Synced switchCreated page with "{{#invoke:Synced switch|main}}<noinclude>{{/doc}}</noinclude>" current
  • 00:3000:30, 25 April 2024 diff hist +1,028 N Module:Synced switchCreated page with "local p = {} local hc = require('Module:Paramtest').has_content p._sortFunc = function(a,b) return a.id < b.id end p.main = function(frame) local args = frame:getParent().args local parsed = { {id=0, content=args.default or '', showing = true} } for k,v in pairs(args) do local s = tostring(k):match('version(%d+)') if hc(v) and s then local obj = {id=tonumber(s), text=args['text'..s], content=v} if obj.id == 1 then obj.showing = true parsed[1].sh..." current

18 April 2024

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)