Template:unimplemented inline

  • Revision slug: Template:Unimplemented_inline
  • Revision title: Template:unimplemented inline
  • Revision id: 235266
  • Created:
  • Creator: lmorchard
  • Is current revision? No
  • Comment

Revision Content

<% /* optional parameter: bug number */ var lang = env.locale; var str = "Unimplemented"; var see = "see";   switch(lang) { case 'fr': str = "Non implémenté"; break; case 'de': str = "Nicht implementiert"; see = "siehe"; break; case 'ja': str = "未実装"; see = "参照"; break;   case 'zh-cn':     str = "未实现";     see = "查看";     break; case 'es': str = "No implementado"; see = "mira"; break; } if ($0) { str = str + " (" + see + " " + template('bug', [$0]) + ")"; } %> <%-str%>

Revision Source

<%
/* optional parameter: bug number */
var lang = env.locale;

var str = "Unimplemented";
var see = "see";
 
switch(lang) {
  case 'fr':
    str = "Non implémenté";
    break;
  case 'de':
    str = "Nicht implementiert";
    see = "siehe";
    break;
  case 'ja':
    str = "未実装";
    see = "参照";
    break;
    case 'zh-cn':
    str = "未实现";
    see = "查看";
    break;
  case 'es':
    str = "No implementado";
    see = "mira";
    break;
}

if ($0) {
  str = str + " (" + see + " " + template('bug', [$0]) + ")";
}
%>
<span class="unimplementedInlineTemplate" style="border: 1px solid rgb(246, 111, 111); background-color: rgb(255, 153, 204); font-size: x-small; white-space: nowrap; padding: 2px;"><%-str%></span>
Revert to this revision