317
редагувань
starcitizen>Alistair3149 (Created page with "local libraryUtil = require( 'libraryUtil' ) local checkType = libraryUtil.checkType local mArguments -- lazily initialise Module:Arguments local mError -- lazily initialise Module:Error local p = {} --- Helper function to throw error -- -- @param msg string - Error message -- -- @return string - Formatted error message in wikitext local function makeWikitextError( msg ) mError = require( 'Module:Error' ) return mError.error{ message = 'Error: ' .. msg .. '...") |
м (2 ревізії: Template:Infobox_Species from StarCitizenTools) |
||
| (Не показано 3 проміжні версії 2 користувачів) | |||
| Рядок 48: | Рядок 48: | ||
mbox | mbox | ||
:attr( 'role', ' | :attr( 'role', 'presentation' ) | ||
:addClass( 'mbox' ) | :addClass( 'mbox' ) | ||
:addClass( extraclasses ) | :addClass( extraclasses ) | ||
| Рядок 57: | Рядок 57: | ||
mboxTitle:tag( 'div' ) | mboxTitle:tag( 'div' ) | ||
:addClass( 'mbox-icon metadata' ) | :addClass( 'mbox-icon metadata' ) | ||
:wikitext( '[[File:' .. options.icon .. ' | :wikitext( '[[File:' .. options.icon .. '|14px|link=]]' ) | ||
:done() | :done() | ||
:tag( 'div' ) | :tag( 'div' ) | ||