More actions
10 October 2024
- 16:0016:00, 10 October 2024 diff hist +90 N Template:InfoboxNeue Created page with "<includeonly>{{#invoke:InfoboxNeue|fromArgs}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 15:5915:59, 10 October 2024 diff hist +14,560 N Module:InfoboxNeue/styles.css Created page with ".infobox { margin-bottom: var(--space-md); width: 100%; max-width: 400px; border-radius: var(--border-radius--medium); background-color: var(--color-surface-2); font-size: var(--font-size-small); line-height: var(--line-height-sm); } .infobox.mw-collapsed { background-color: transparent; box-shadow: inset 0 0 0 1px var(--border-color-base); } .infobox__content { position: relative; } .infobox__image { position: relative; margin-bottom: -2rem; } .infobox__..."
- 15:5615:56, 10 October 2024 diff hist +5,491 N Module:InfoboxNeue/doc Created page with "{{Documentation|scwShared=true}} This module is used by Lua modules to build infobox. == Components == {{#invoke:InfoboxNeue/example|makeComponentsExample}} === Image === <syntaxhighlight lang="lua"> infobox:renderImage( 'Pico at New Babbage 1 1.jpg' ) </syntaxhighlight> === Indicator === {| class="wikitable" ! Parameter !! Description !! Type !! Status |- | <code>data</code> || Data of the indicator || string || '''required''' |- | <code>desc</code> || De..."
- 15:5615:56, 10 October 2024 diff hist +18,620 N Module:InfoboxNeue Created page with "local InfoboxNeue = {} local metatable = {} local methodtable = {} local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti local i18n = require( 'Module:i18n' ):new() metatable.__index = methodtable metatable.__tostring = function ( self ) return tostring( self:renderInfobox() ) end --- Wrapper function for Module:i18n.translate --- --- @param key string The translation key --- @return..."
- 15:0515:05, 10 October 2024 diff hist −243 Main Page No edit summary Tag: Manual revert
- 15:0415:04, 10 October 2024 diff hist +243 Main Page No edit summary Tag: Reverted
- 14:4414:44, 10 October 2024 diff hist +32 N Module:Common/Api/doc Created page with "{{Documentation|scwShared=true}}" current
- 14:4314:43, 10 October 2024 diff hist +1,875 N Module:Common/Api Created page with "local common = {} --- Checks if Api Request was successful and if the Response is valid --- @param response table --- @param errorOnData boolean --- @param errorOnData boolean --- @return boolean function common.checkResponseStructure( response, errorOnStatus, errorOnData ) if response[ 'status_code' ] ~= nil and response[ 'status_code' ] ~= 200 then if errorOnStatus == nil or errorOnStatus == true then error( 'API request returns the error code..." current
- 14:4214:42, 10 October 2024 diff hist +17 N Module:Pluralize/doc Created page with "{{Documentation}}" current
- 14:4214:42, 10 October 2024 diff hist +1,780 N Module:Pluralize Created page with "local p = {} -- Pluralize a word based on local dictionary or rules. -- To use this directly in Lua, use common.pluralize instead function p.pluralize( frame ) local base = frame.args[ 1 ] local return_val local base_len = string.len( base ) local base_end = string.sub( base, -1 ) local base_last2 = string.sub( base, -2 ) -- dictionary first - irregular plurals if (string.lower( base ) == 'nebula') then return_val = string.sub( base,..." current
- 14:4114:41, 10 October 2024 diff hist +32 N Module:Common/doc Created page with "{{Documentation|scwShared=true}}" current
- 14:4114:41, 10 October 2024 diff hist +5,610 N Module:Common Created page with "local common = {} --- Convert an input to number ---@param num string|integer Input ---@param onFail string|integer Output if conversion fails ---@param base integer Base for tonumber, defaults to 10 ---@return number function common.toNumber( num, onFail, base ) base = base or 10 if num == nil then return onFail end local numCopy = num if type( num ) == 'string' then numCopy = num:gsub( ',', '.' ) end numCopy = tonumber( numCopy..." current
- 14:4114:41, 10 October 2024 diff hist +32 N Module:Common/SMW/doc Created page with "{{Documentation|scwShared=true}}" current
- 14:4014:40, 10 October 2024 diff hist +13,438 N Module:Common/SMW Created page with "local commonSMW = {} local common = require( 'Module:Common' ) local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local checkTypeMulti = libraryUtil.checkTypeMulti --- Formats a value to be used by smw.set --- --- @param datum table An entry from data.json --- @param val any The value to be formatted --- @param moduleConfig table Optional, only used for multilingual text (phasing out) --- @param lang table Content language, uses page l..." current
- 14:3714:37, 10 October 2024 diff hist +271 N Template:Infobox/doc Created page with "{{Documentation|fromWikipedia=true}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> Please refer to {{t|Infobox}} on Wikipedia for more details <noinclude></noinclude> <includeonly> <!-- Template catergories go here --> Category:Infobox templates </includeonly>" current
- 14:3714:37, 10 October 2024 diff hist +271 N Template:Infobox Created page with "{{Documentation|fromWikipedia=true}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> Please refer to {{t|Infobox}} on Wikipedia for more details <noinclude></noinclude> <includeonly> <!-- Template catergories go here --> Category:Infobox templates </includeonly>" current
- 14:3514:35, 10 October 2024 diff hist +168 N Module:Infobox/doc Created page with "{{Documentation|fromWikipedia=true}} '''Module:Infobox''' is a module that implements the {{tl|Infobox}} template. Please see the template page for usage instructions." current
- 14:3514:35, 10 October 2024 diff hist +16,087 N Module:Infobox Created page with "-- -- This module implements {{Infobox}} -- local p = {} -- local navbar = require('Module:Navbar')._navbar local args = {} local origArgs local root local function notempty( s ) return s and s:match( '%S' ) end local function fixChildBoxes(sval, tt) if notempty(sval) then local marker = '<span class=special_infobox_marker>' local s = sval s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1') s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker) i..." current
9 October 2024
- 21:5921:59, 9 October 2024 diff hist −2,384 Atlas Blanked the page Tags: Blanking Manual revert
- 21:5821:58, 9 October 2024 diff hist +2,384 Atlas test text content Tag: Reverted
6 October 2024
- 22:1722:17, 6 October 2024 diff hist −8 Module:Documentation/i18n.json No edit summary current
- 13:3513:35, 6 October 2024 diff hist 0 N Titan Prometheus main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Titan Egyptians main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N The Argo main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Petsuchos main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Boar of Set main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Tyr main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Automaton main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Behemoth main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Oracle Hero main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Baboon of Set main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Oracle main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Fanatic main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Aphrodite main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Roc main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Football main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Caravan Greek main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Fence Iron main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Obelisk main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Valkyrie main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Village Center main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Titan Gate main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Villager Greek main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Promethean Offspring main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Hephaestus main pages import
- 13:3513:35, 6 October 2024 diff hist 0 N Phoenix main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Water Buffalo of Set main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Cheiro ballista Hero main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Population main pages import current
- 13:3513:35, 6 October 2024 diff hist 0 N Caravan Egyptian main pages import current