1,835
回編集
Template>Izno (add hlist support, move related strings to cfg, add support for finding classes in any class parameter) |
細 (1版 をインポートしました) |
||
| (2人の利用者による、間の2版が非表示) | |||
| 141行目: | 141行目: | ||
:tag('div') | :tag('div') | ||
-- id for aria-labelledby attribute, if no title | -- id for aria-labelledby attribute, if no title | ||
:attr('id', args[cfg.arg.title] and | :attr('id', (not args[cfg.arg.title]) and mw.uri.anchorEncode(args[cfg.arg.above]) or nil) | ||
:wikitext(processItem(args[cfg.arg.above], args[cfg.arg.nowrapitems])) | :wikitext(processItem(args[cfg.arg.above], args[cfg.arg.nowrapitems])) | ||
end | end | ||