Difference between revisions of "Template:Expand language/howto"

From blackwiki
Jump to navigation Jump to search
imported>Mathglot
(Tag it with... Was there a discussion about this I missed?)
imported>Mathglot
(→‎Optional parameters: Add 'section' param support, per Template:Expand language revision 963293142.)
 
(7 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
  
To mark an article, tag it with:
+
To mark an article, tag it with
  
:<code><nowiki>{{Expand</nowiki> {{{1}}}|''{{{2|{{{1}}}}}}articletitle''<nowiki>|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
+
:<code><nowiki>{{Expand</nowiki> {{{1}}}|''{{{2|{{{1}}}}}} article title''<nowiki>|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 
 
This template marks an opportunity, not a fault. It is less important than a stub mark. Therefore it should not be used as an urgent warning in the beginning of articles.
 
  
 
This template places articles in the category [[:Category:Articles needing translation from {{{1}}} Wikipedia]].
 
This template places articles in the category [[:Category:Articles needing translation from {{{1}}} Wikipedia]].
Line 18: Line 16:
  
 
:<code><nowiki>{{Expand</nowiki> {{{1}}}<nowiki>|fa=yes|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 
:<code><nowiki>{{Expand</nowiki> {{{1}}}<nowiki>|fa=yes|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 +
 +
The template may be placed in an individual section, using section=yes, as in
 +
 +
:<code><nowiki>{{Expand</nowiki> {{{1}}}<nowiki>|section=yes|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>

Latest revision as of 02:20, 19 June 2020

This template is generated by {{Expand language}}. It is used to mark articles that are better in {{{1}}} Wikipedia than in English Wikipedia, and thus should be translated from {{{1}}} into English.

Usage

To mark an article, tag it with

{{Expand {{{1}}}|{{{1}}} article title|date=December 2025}}

This template places articles in the category [[:Category:Articles needing translation from {{{1}}} Wikipedia]].

Because of this, the template should be added to the article page, and not to the Talk page.

Optional parameters

Foreign language featured articles can be marked using fa=yes, as in

{{Expand {{{1}}}|fa=yes|date=December 2025}}

The template may be placed in an individual section, using section=yes, as in

{{Expand {{{1}}}|section=yes|date=December 2025}}