יחידה:Navbar: הבדלים בין גרסאות בדף
rem unneeded tabs/spacing for more unified importing/exporting |
מ 2 גרסאות של הדף wikipedia:he:יחידה:Navbar יובאו |
||
| (16 גרסאות ביניים של 9 משתמשים אינן מוצגות) | |||
| שורה 59: | שורה 59: | ||
:addClass('nv-view') | :addClass('nv-view') | ||
:wikitext('[[' .. title.fullText .. '|') | :wikitext('[[' .. title.fullText .. '|') | ||
:tag('span') | :tag(args.mini and 'abbr' or 'span') | ||
:attr('title', ' | :attr('title', 'צפייה בתבנית זו') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) | ||
:wikitext(args.mini and ' | :wikitext(args.mini and 'צ' or 'צפייה') | ||
:done() | :done() | ||
:wikitext(']]') | :wikitext(']]') | ||
| שורה 69: | שורה 69: | ||
:addClass('nv-talk') | :addClass('nv-talk') | ||
:wikitext('[[' .. talkpage .. '|') | :wikitext('[[' .. talkpage .. '|') | ||
:tag('span') | :tag(args.mini and 'abbr' or 'span') | ||
:attr('title', ' | :attr('title', 'שיחה על תבנית זו') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) | ||
:wikitext(args.mini and ' | :wikitext(args.mini and 'ש' or 'שיחה') | ||
:done() | :done() | ||
:wikitext(']]'); | :wikitext(']]'); | ||
| שורה 81: | שורה 81: | ||
:addClass('nv-edit') | :addClass('nv-edit') | ||
:wikitext('[' .. title:fullUrl('action=edit') .. ' ') | :wikitext('[' .. title:fullUrl('action=edit') .. ' ') | ||
:tag('span') | :tag(args.mini and 'abbr' or 'span') | ||
:attr('title', ' | :attr('title', 'עריכת תבנית זו') | ||
:cssText(args.fontstyle) | :cssText(args.fontstyle) | ||
:wikitext(args.mini and ' | :wikitext(args.mini and 'ע' or 'עריכה') | ||
:done() | :done() | ||
:wikitext(']'); | :wikitext(']'); | ||
| שורה 106: | שורה 106: | ||
:wikitext(args[1]) | :wikitext(args[1]) | ||
end | end | ||
local templateStyle = mw.getCurrentFrame():extensionTag( 'templatestyles', '', { src = 'יחידה:Navbar/styles.css' } ); | |||
return tostring(div:done()) | return tostring(div:done()) .. templateStyle | ||
end | end | ||