模板:Script needed/documentation

< 模板:Script needed
wikilife>AlanM12019年3月22日 (五) 05:49的版本 (Minor CE: "adding" -> "to be added")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#switch:

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

| main =

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

| other

| #default =

}}

50px Template documentation

This template is used to mark articles which need {{{language}}} script to be added to them. It may be placed either on an article or on its talk page by typing {{Script needed}}.

Use on articles

When placed on an article it looks like this: {{#switch:

 {{#if:Main 
 | main    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}
| main = {{#ifeq:{{{small}}}|left|}}

| other

| #default =

}}

Use on talk pages

When placed on a talk page it looks like this: {{#switch:

 {{#if:Talk 
 | talk    
 | {{#ifeq:模板|
   | main
   | other
   }} 
 }}
| main = {{#ifeq:{{{small}}}|left|}}

| other

| #default =

}}

Categorisation

Articles tagged with this template are placed in [[:Category:Articles needing {{{language}}} script or text]] {{#ifexist:模板:Script needed/documentation/doc

|模板:Script needed/documentation/doc

}}