Module:Navbar: Difference between revisions
Content added Content deleted
m (1 revision imported) |
(changes requested by User:Matt Fitzpatrick to improve accessibility) |
||
Line 59: | Line 59: | ||
:addClass('nv-view') |
:addClass('nv-view') |
||
:wikitext('[[' .. title.fullText .. '|') |
:wikitext('[[' .. title.fullText .. '|') |
||
:tag('span') |
:tag(args.mini and 'abbr' or 'span') |
||
:attr('title', 'View this template') |
:attr('title', 'View this template') |
||
:cssText(args.fontstyle) |
:cssText(args.fontstyle) |
||
Line 69: | Line 69: | ||
:addClass('nv-talk') |
:addClass('nv-talk') |
||
:wikitext('[[' .. talkpage .. '|') |
:wikitext('[[' .. talkpage .. '|') |
||
:tag('span') |
:tag(args.mini and 'abbr' or 'span') |
||
:attr('title', 'Discuss this template') |
:attr('title', 'Discuss this template') |
||
:cssText(args.fontstyle) |
:cssText(args.fontstyle) |
||
Line 81: | Line 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', 'Edit this template') |
:attr('title', 'Edit this template') |
||
:cssText(args.fontstyle) |
:cssText(args.fontstyle) |