User:DodoMan/blockanddiscuss.js: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 62: | Line 62: | ||
var template = '{{Vandale banni}}'; |
var template = '{{Vandale banni}}'; |
||
if (duration != 'indéfiniment') { |
if (duration != 'indéfiniment') { |
||
template = '{{ |
template = '{{Blocked user|' + duration.replace(' ', '|') + '}}'; |
||
} |
} |
||
$('#' + textId).val( |
$('#' + textId).val( |
||