Difference between revisions of "Template:NeedsTranslating"

From Moegirlpedia
Jump to: navigation, search
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
>{{#if:{{{1|}}}|{{Highlighted|内容={{{1}}}|背景颜色=#FBFE76|内容提示={{{2|Text below needs translating, }}}|上标文字=(Needs translating)|上标文字色=red|上标提示=Text below needs translating, }}|<span style="background-color:#FBFE76;color:red;" title="Here's plenty of text that needs translating. "><div style="color: red; border: 1px solid orange; margin: 2px auto; padding: 2px 10px; text-align: center; font-size:small">{{{text| '''Text below isn't written in English, please help to translate!'''}}}</div></span>}}<includeonly[[Category:Pages with Materials Awaiting Translation]]</includeonly><noinclude>{{Documentation}} <!--请将分类与跨语言链结增加在/doc子页面 / 請將分類與跨語言連結增加在/doc子頁面 --></noinclude>
+
{{#if:{{{1|}}}|{{Highlighted|内容={{{1}}}|背景颜色=#FBFE76|内容提示={{{2|Text that needs translation}}}|上标文字=(Needs translation)|上标文字色=red|上标提示=}}|<span style="background-color:#FBFE76;color:red;" title="The test below needs translation. "><div style="color: red; border: 1px solid orange; margin: 2px auto; padding: 2px 10px; text-align: center; font-size:small">▼  '''The {{#switch:{{lc:{{{lang|}}}}}|ja=Japanese&#32;|zh=Chinese&#32;|#default=}}text below needs help with translation!'''</div></span>}}<includeonly>{{#ifeq:{{{nocat|}}}|true||{{#switch:{{lc:{{{lang|}}}}}
 +
|ja=[[Category:Pages with Japanese materials awaiting translation]]
 +
|zh=[[Category:Pages with Chinese materials awaiting translation]]
 +
 +
|#default=[[Category:Pages with Materials Awaiting Translation]]}}}}</includeonly><noinclude>{{Documentation}}[[zh:Template:需要翻译]]</noinclude>

Latest revision as of 13:40, 23 December 2022

The text below needs help with translation!
Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

This template can be used to notify a section or a short phrase of information not translated into English. It will also add the page into Category:Pages with Materials Awaiting Translation or similar categories by the lang argument you provided.

Aliases

Syntax and Usage

If there is a rather large section of text awaiting translation, just place this template above those texts. You may also specify the language of those texts; the template will look like

The text below needs help with translation!
The Chinese text below needs help with translation!
The Japanese text below needs help with translation!

for no language declaration, lang=zh and lang=ja, respectively.

If there is a small amount of text, supply them as the argument of the template.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. {{NeedsTranslating|萌娘百科,万物皆可萌}}. Nullam sit amet risus in dolor viverra euismod non vitae nisl. Nunc nec sapien neque. Sed viverra varius pulvinar. Aliquam sollicitudin tellus nunc, viverra ultricies elit vehicula non. Aenean molestie lorem sed metus sollicitudin, non rutrum libero scelerisque. Duis lobortis cursus lacus, non fringilla lacus auctor a. Ut posuere vehicula gravida. Aenean rhoncus neque eget diam gravida, non tristique arcu aliquet. Aenean elementum non massa ac vulputate. Cras facilisis quam et felis imperdiet, ut ornare eros semper. Phasellus pretium facilisis laoreet.

Outcome

Lorem ipsum dolor sit amet, consectetur adipiscing elit. 萌娘百科,万物皆可萌(Needs translation). Nullam sit amet risus in dolor viverra euismod non vitae nisl. Nunc nec sapien neque. Sed viverra varius pulvinar. Aliquam sollicitudin tellus nunc, viverra ultricies elit vehicula non. Aenean molestie lorem sed metus sollicitudin, non rutrum libero scelerisque. Duis lobortis cursus lacus, non fringilla lacus auctor a. Ut posuere vehicula gravida. Aenean rhoncus neque eget diam gravida, non tristique arcu aliquet. Aenean elementum non massa ac vulputate. Cras facilisis quam et felis imperdiet, ut ornare eros semper. Phasellus pretium facilisis laoreet.