Modul:Protection banner/config: Unterschied zwischen den Versionen
Modul:Protection banner/config (Quelltext anzeigen)
Version vom 10. Juni 2014, 00:44 Uhr
, vor 11 Jahrenadd icon text
(restructure banners table) |
(add icon text) |
||
| Zeile 23: | Zeile 23: | ||
-- $6 = the protection date | -- $6 = the protection date | ||
-- $7 = {{vandal-m|username}} replacement | -- $7 = {{vandal-m|username}} replacement | ||
-- $8 = protection level/type blurb, e.g. "create-protected" or "fully protected" | |||
-- $9 = the expiry - " until DD Month YYYY". If protection is indefinite, this is the blank string. | |||
-- $10 = the icon-reason, prefixed with ", " | |||
cfg.banners = { | cfg.banners = { | ||
edit = {}, | edit = {}, | ||
| Zeile 121: | Zeile 124: | ||
cfg.banners.autoreview.pc2 = { | cfg.banners.autoreview.pc2 = { | ||
} | } | ||
-------------------------------------------------------------------------------- | |||
-- Icon text | |||
-------------------------------------------------------------------------------- | |||
-- Parameters are the same as for the banner table. | |||
cfg['icon-text-pc1'] = 'All edits by unregistered and new users are subject to review' | |||
cfg['icon-text-pc2'] = 'All edits by users who are not reviewers or administrators are subject to review' | |||
cfg['icon-text-template'] = 'This is a permanently protected $4' | |||
cfg['icon-text-default'] = 'This $4 is $8$9$10' | |||
-------------------------------------------------------------------------------- | |||
-- Images | |||
-------------------------------------------------------------------------------- | |||
cfg.images = { | cfg.images = { | ||