恪別𡧲版𢯢𢷮𧵑「模庉:Navbox」
Keepout2010 (討論 | 㨂𢵰) n空固縿略𢯢𢷮 |
Keepout2010 (討論 | 㨂𢵰) 空固縿略𢯢𢷮 |
||
| 𣳔49: | 𣳔49: | ||
-- also no show/hide link, then we need a spacer on the right to achieve the left shift. | -- also no show/hide link, then we need a spacer on the right to achieve the left shift. | ||
if args.state == 'plain' then spacerSide = 'right' end | if args.state == 'plain' then spacerSide = 'right' end | ||
elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == ' | elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == '板㑄:Hộp điều hướng') then | ||
-- No navbar. Need a spacer on the left to balance out the width of the show/hide link. | -- No navbar. Need a spacer on the left to balance out the width of the show/hide link. | ||
if args.state ~= 'plain' then spacerSide = 'left' end | if args.state ~= 'plain' then spacerSide = 'left' end | ||
| 𣳔380: | 𣳔380: | ||
getArgs = require('模庉:Arguments').getArgs | getArgs = require('模庉:Arguments').getArgs | ||
end | end | ||
args = getArgs(frame, {wrappers = ' | args = getArgs(frame, {wrappers = '板㑄:Hộp điều hướng'}) | ||
-- Read the arguments in the order they'll be output in, to make references number in the right order. | -- Read the arguments in the order they'll be output in, to make references number in the right order. | ||