mozilla

Revision 373851 of Template:DevDerbyPromoHeader

  • Revision slug: Template:DevDerbyPromoHeader
  • Revision title: Template:DevDerbyPromoHeader
  • Revision id: 373851
  • Created:
  • Creator: ethertank
  • Is current revision? No
  • Comment Last word in array might be wrong. Please review!
Tags: 

Revision Content

<%/* Parameter $0 : Learning about [This word!!] ? */ // Translation: [ Title, Sentence, DefaultTitle ] var str = mdn.localString({ "ca": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "cs": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "de": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "el": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "es": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "fa": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "fi": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "fr": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "he": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "hr": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "hu": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "id": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "it": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ja": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ka": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ko": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ms": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "nl": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "pl": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ro": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ru": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "sq": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "th": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "tr": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "vi": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "bn-BD": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "fy-NL": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "ga-IE": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "pt-BR": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "pt-PT": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "zh-CN": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "zh-TW": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'], "en-US": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the Dev Derby to show the world what you can do!', 'Leaning about this feature ?'] }); var str0 = $0 || str[2]; %>

<%- str0 %>

<%- str[1] %>

Revision Source

<%/*
Parameter
    $0 : Learning about [This word!!] ?
*/


//  Translation: [ Title,  Sentence,  DefaultTitle ]
var str = mdn.localString({
    "ca": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "cs": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "de": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "el": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "es": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "fa": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "fi": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "fr": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "he": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "hr": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "hu": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "id": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "it": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ja": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ka": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ko": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ms": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "nl": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "pl": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ro": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ru": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "sq": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "th": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "tr": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "vi": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "bn-BD": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "fy-NL": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "ga-IE": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "pt-BR": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "pt-PT": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "zh-CN": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "zh-TW": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?'],
    "en-US": ['Learning about ' + $0 + ' ?', 'After reading this article, head over to the <a href="https://developer.mozilla.org/demos/devderby">Dev Derby</a> to show the world what you can do!', 'Leaning about this feature ?']
});
 
var str0 = $0 || str[2];


%><div class="overheadIndicator" style="padding:10px;background:#FFFDD8;"> 
  <p><%- str0 %></p> 
  <p><%- str[1] %></p> 
</div>