{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Expand Spanish}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Expand Spanish}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Articles to be expanded from 
   ||}}
 |[[Category:{{#if:
              ||Articles to be expanded}}]]}}{{#if:All articles to be expanded
     |}}}}}}{{#ifeq:模板|Template

| {{#if:{{#ifeq:Expand |sandbox|1}}{{#ifeq:Expand Spanish|doc|1}}||}}{{#if:|

|

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:expand spanish |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Expand Spanish
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

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

Usage编辑

To mark an article, tag it with

{{Expand Spanish|Spanish article title|date=6月 2024}}

This template places articles in the category Category:Articles needing translation from Spanish 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 Spanish|fa=yes|date=6月 2024}}

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

{{Expand Spanish|section=yes|date=6月 2024}}

}} | {{#ifeq:|yes|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}

| main ={{#if:|}}{{#if:|}} | other | #default = }} }}{{#if:{{#switch: {{{topic}}}

| geo = Geography
| gov = Government and politics
| cult 
| culture = Culture
| hist = History
| sci = Science
| tech = Technology
| sport = Sports
| transport = Transport
| struct = Building and structure

}}|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}

| main = [[Category:{{#switch: {{{topic}}}

| geo = Geography
| gov = Government and politics
| cult 
| culture = Culture
| hist = History
| sci = Science
| tech = Technology
| sport = Sports
| transport = Transport
| struct = Building and structure

}} articles needing translation from español Wikipedia]]{{#if:|[[Category:{{#switch: {{{topic}}}

| geo = Geography
| gov = Government and politics
| cult 
| culture = Culture
| hist = History
| sci = Science
| tech = Technology
| sport = Sports
| transport = Transport
| struct = Building and structure

}} articles needing translation from Wikipedia]]}}{{#if:|[[Category:{{#switch: {{{topic}}}

| geo = Geography
| gov = Government and politics
| cult 
| culture = Culture
| hist = History
| sci = Science
| tech = Technology
| sport = Sports
| transport = Transport
| struct = Building and structure

}} articles needing translation from Wikipedia]]}} | other | #default = }}|{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}

| main = {{#ifexist:Category:Articles needing translation from español Wikipedia||}} | other | #default = }}{{#if:|{{#ifexist:Category:Articles needing translation from Wikipedia||}} }}{{#if:{{#ifexist:Category:Articles needing translation from Wikipedia||}} }} }}

}}{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}

| main = {{#if:||{{#if:{{#if:es|Lua错误 在package.lua的第80行:module 'Module:i18n' not found|模板:Error}}||{{#ifeq:|yes||}}}}}} | other | #default = }}