Difference between revisions of "Template:NeedsTranslating/doc"

From Moegirlpedia
Jump to: navigation, search
m (Add Aliases)
(Changing category)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
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]].
+
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 <code>lang</code> argument you provided.
  
 
== Aliases ==
 
== Aliases ==
 +
*{{tl|Translation needed}}
  
*<code><nowiki>{{Translation Needed}}</nowiki></code>
+
==Syntax and Usage==
  
==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
*<code><nowiki>{{NeedsTranslating}}</nowiki></code>
+
 
*<code><nowiki>{{NeedsTranslating|text awaiting translation}}</nowiki></code>
+
{{NeedsTranslating|nocat=true}}
*<code><nowiki>{{NeedsTranslating|1=text awaiting translation}}</nowiki></code>
+
{{NeedsTranslating|lang=zh|nocat=true}}
 +
{{NeedsTranslating|lang=ja|nocat=true}}
  
If there is a rather large section of text awaiting translation, just place this template above those texts.
+
for no language declaration, <code>lang=zh</code> and <code>lang=ja</code>, respectively.  
  
 
If there is a small amount of text, supply them as the argument of the template.  
 
If there is a small amount of text, supply them as the argument of the template.  
Line 17: Line 19:
 
</nowiki></pre>
 
</nowiki></pre>
  
yields
+
Outcome
  
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. {{NeedsTranslating|萌娘百科,万物皆可萌|nocat=true}}. 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.
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit. {{NeedsTranslating|萌娘百科,万物皆可萌|nocat=true}}. 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.
  
<includeonly>[[Category:Maintenance Templates]][[Category:Informational Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
+
<includeonly>[[Category:Function templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 23:12, 6 October 2023

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.