Difference between revisions of "Template:Expand French/doc"

From blackwiki
Jump to navigation Jump to search
imported>Calliopejen1
imported>SimonTrew
(Document topics (scraped from switch statement))
Line 1: Line 1:
 
{{Expand language/howto|French}}
 
{{Expand language/howto|French}}
  
Topics can be indicated using topic=geo and topic=bio for geography and biography articles, respectively. For example, <nowiki>{{Expand French|Abancourt, Oise|topic=geo}}</nowiki>
+
Topics can be indicated using the topic= parameter. Doing so will place them in a subcategory. For example
 +
:<code><nowiki>{{Expand French|Abancourt, Oise|topic=geo}}</nowiki></code>
 +
 
 +
This template places articles in the category [[:Category:Geography articles needing translation from French Wikipedia]].
 +
 +
Topics recognised are:
 +
 
 +
{| class="wikitable"
 +
|-
 +
! value !! topic
 +
|-
 +
| bio || Biography
 +
|-
 +
| geo || Geography
 +
|-
 +
| gov || Government and politics
 +
|-
 +
| culture || Culture
 +
|-
 +
| hist || History
 +
|-
 +
| sci || Science
 +
|-
 +
| tech || Technology
 +
|-
 +
| sport || Sports
 +
|-
 +
| transport || Transport
 +
|-
 +
| struct || Building and structure
 +
|-
 +
| pacommune || Pyrénées-Atlantiques communes
 +
|}

Revision as of 12:32, 24 October 2014

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

Usage

To mark an article, tag it with

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

This template places articles in the category Category:Articles needing translation from French 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 French|fa=yes|date=December 2025}}

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

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

Topics can be indicated using the topic= parameter. Doing so will place them in a subcategory. For example

{{Expand French|Abancourt, Oise|topic=geo}}

This template places articles in the category Category:Geography articles needing translation from French Wikipedia.

Topics recognised are:

value topic
bio Biography
geo Geography
gov Government and politics
culture Culture
hist History
sci Science
tech Technology
sport Sports
transport Transport
struct Building and structure
pacommune Pyrénées-Atlantiques communes