このモジュールについての説明文ページを モジュール:Quote/doc に作成できます
-- 
local Quote = {}local getArgs = require('Dev:Arguments').getArgslocal i18n = require('Dev:I18n').loadMessages('Quote')local function build(quotecontents, quotesource, options)    local quotecontainer = mw.html.create('blockquote')        :addClass('pull-quote')        :addClass(options.align)        :addClass(options.extraclasses)        :css(options.styles)        :cssText(options.extrastyles)    quotecontainer:node(quotecontents)    if quotesource then        local quote_source = quotecontainer:tag('cite')            :addClass('pull-quote__source')            :wikitext(quotesource)    end    return quotecontainerendlocal function options(args)    local options = {}    options.styles = {}    options.extraclasses = i18n:parameter('class', args)    options.extrastyles = i18n:parameter('style', args)    options.align = ''    local align = i18n:parameter('align', args)    if align then        options.align = 'pull-quote--' .. align        options.styles['width'] = i18n:parameter('width', args) or                                  i18n:parameter('quotewidth', args) or                                  '300px'    end    return optionsendfunction Quote.quote(frame)    local args = getArgs(frame)    local options = options(args)    local quotetext=args[1] or                      i18n:parameter('quotetext', args) or                      i18n:parameter('quote', args) or                      i18n:parameter('text', args)    local person = args[2] or                   i18n:parameter('person', args) or                   i18n:parameter('speaker', args) or                   i18n:parameter('personquoted', args) or nil    local source = args[3] or                   i18n:parameter('source', args) or                   i18n:parameter('quotesource', args) or nil    local quotecontents = mw.html.create('p')        :addClass('pull-quote__text')        :wikitext(quotetext)    local quotesource = person    if source then        quotesource = person .. ', ' .. source    end    return build(quotecontents, quotesource, options)endfunction Quote.dialogue(frame)    local args = getArgs(frame)    local options = options(args)    local quotecontents = mw.html.create('div')        :addClass('pull-quote__text')    local quotesource    for i, v in ipairs(args) do        local next_param = i + 1        if i % 2 ~= 0 then            quotecontents:tag('div')                :addClass('pull-quote__line')                :tag('strong')                    :addClass('pull-quote__speaker')                    :wikitext(v .. ':')                    :done()                :wikitext(' ' .. args[next_param])                :done()        end    end    local context=i18n:parameter('context', args)    local source = i18n:parameter('source', args)    if context and source then        quotesource = context .. ', ' .. source    elseif context and not source then        quotesource = context    elseif source and not context then        quotesource = source    end    return build(quotecontents, quotesource, options)endreturn Quote
特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。
                                    
                        
    
    
            最近更新されたページ
                            
                    
                    左メニューサンプル左メニューはヘッダーメニューの【編集】>【左メニューを編集する】をクリックすると編集できます。ご自由に編集してください。掲示板雑談・質問・相談掲示板更新履歴最近のコメントカウン...
                    2023-08-31 13:55:36
                
                            
                    
                    蟷螂です特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...
                    2023-04-27 19:42:18
                
                            
                    
                    https://twitter.com/aoi3827特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...
                    2023-04-27 19:42:12
                
                            
                    
                    まあ、おちつけ特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...
                    2023-04-27 19:42:06
                
                            
                    
                    ちょくちょく追加します特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...
                    2023-04-27 19:41:37
                
                            
                    
                    50人クラフトの編集をしています。この主は暇なので頻繁に編集することもあります。2021年3月9日までは、220.210.161.195として活動していました。特に記載のない限り、コミュニティのコンテ...
                    2023-04-27 19:41:30
                
                            
                    
                    特に記載のない限り、コミュニティのコンテンツはCC BY-SAライセンスの下で利用可能です。...
                    2023-04-27 19:41:24
                
                            
                    
                    Hello! This is a page of the global bot, maintained by the International Wiki Representatives team.P...
                    2023-04-27 19:41:18
                
                            
                    
                    Stubこの記事は書きかけの項目です。この項目を加筆・訂正などしてくださる協力者を求めています。書きかけの記事については書きかけのページについてをご参照下さい。ユクモ村とは、BANクラフトに登場する地...
                    2023-04-27 19:41:12
                
                            
                    
                    Stubこの記事は書きかけの項目です。この項目を加筆・訂正などしてくださる協力者を求めています。書きかけの記事については書きかけのページについてをご参照下さい。ユキIDOtoka0124↓Yuki_1...
                    2023-04-27 19:41:06
                
                            
                    
                    モハマド・ナビドIDNAVID_IRNその他の呼称ナビドスキンモデルトーブプロフィール生年月日6月22日活躍登場作品日本列島クラフト初登場日本列島クラフト?TwitterTwitterhttps://...
                    2023-04-27 19:40:36
                
                            
                    
                    このモジュールについての説明文ページを モジュール:Quote/doc に作成できます-- local Quote = {}local getArgs = require('Dev:Arguments...
                    2023-04-27 19:40:30
                
                            
                    
                    このモジュールについての説明文ページを モジュール:Mbox/data/doc に作成できますlocal localStyle = { ['mbox'] = { ['display'] = 'flex...
                    2023-04-27 19:40:24
                
                            
                    
                    このモジュールについての説明文ページを モジュール:Mbox/doc に作成できます-- This Module is used for making templates based in the L...
                    2023-04-27 19:40:18
                
                            
                    
                    このモジュールについての説明文ページを モジュール:I18n/doc に作成できます-- This Module is used for making templates based in the L...
                    2023-04-27 19:40:12
                
                            
                    
                    このモジュールについての説明文ページを モジュール:Hatnote/i18n/doc に作成できます-- -- See also--- Template:Hatnote-- ["lang"] = { ...
                    2023-04-27 19:40:06
                
                            
                    
                    i] = hatnote._formatLink(link, display) end return linksendfunction hatnote.makeWikitextError(msg, h...
                    2023-04-27 19:39:37
                
                            
                    
                    このモジュールについての説明文ページを モジュール:Dialogue/doc に作成できます-- This Module is used for making templates based in t...
                    2023-04-27 19:39:30
                
                            
                    
                    メタボ 現在主に使用しているスキン。胴体にドット化されたKUNの写真を使用している。IDMETABOnoONAKA↓METABOnoCOMAIJI↓M_E_T_A_B_OID(サブ垢)komaiji↓...
                    2023-04-27 19:39:24
                
                            
                    
                    Stubこの記事は書きかけの項目です。この項目を加筆・訂正などしてくださる協力者を求めています。書きかけの記事については書きかけのページについてをご参照下さい。メスガキランドとは、新50人クラフト2期...
                    2023-04-27 19:39:18