Template:ChangeLanguage/doc View history

(Created page with "{{doc subpage}} This template is added to pages that are translated from English Wiki. == Usage == Place {{tl|ChangeLanguage |Engish=URL}} at the top of a new page. The fol...")
 
(Category update)
 
(7 intermediate revisions by one other user not shown)
Line 3: Line 3:


== Usage ==
== Usage ==
Place {{tl|ChangeLanguage |Engish=URL}} at the top of a new page.
Place {{tl|ChangeLanguage}} at the top of a new page.


The following optional variables can be used to adjust the generic message:
The following optional variables can be used to define multiple languange translations:


<pre>
<pre>
{{ChangeLanguage
{{ChangeLanguage
| English = WikiURL or *
| english = WikiURL or *
| Spanish = WikiURL or *
| spanish = WikiURL or *
| french  = WikiURL or *
}}
}}
</pre>
</pre>
Line 16: Line 17:
== Parameters ==
== Parameters ==


'''English'''
'''english'''
:Optional URL parameter for forum or private message. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. Requires {{para|contacttype}} to alter message appropriate for forum or individual user.
:Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If English is the display language put an '''*''' character.


'''contacttype'''
'''spanish'''
:Required if {{para|contact}} parameter is supplied. Optional message with URL linking to location where other editors should send messages on this page. Used with {{para|open}} parameter to control the message in the box. The {{para|contacttype}} parameter is completing this sentence '''If you have questions, please...''' When {{para|<var>contacttype</var>|<var>forum</var>}} it displays: <code>post a message in [http://www.waze.com/forum/ this forum]</code>. When {{para|<var>contacttype</var>|<var>user</var>}} it displays: <code>send a private message to [http://www.waze.com/forum/ this user].</code>
:Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If Spanish is the display language put '''*''' character.


'''draft'''
'''spanish'''
:Optional parameter to display information on the quality or state of the content. Use {{para|<var>draft</var>|<var>yes</var>}} to say the information is still draft form and not ready for use. Use {{para|<var>draft</var>|<var>no</var>}} to say the information is accurate enough to be followed now. If the parameter is not included or is set to anything else, no text will be displayed regarding the draft condition.
:Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If Frehch is the display language put '''*''' character.
 
'''open'''
:Optional indicator if other input is desired. Only with the presence of the {{para|contact}} parameter can you use {{para|<var>open</var>|<var>no</var>}} to display: <code>This page has already been identified as being needed. Content for this page is being prepared by one or more users. Do not make any changes before you </code> with the rest of the message coming from the {{para|contacttype}} parameter result. The default or empty {{para||open}} parameter will display: <code>This page has already been identified as being needed. This page is open to changes from anyone during construction.</code> Further, if the {{para|contact}} parameter is also set you will see: <code>If you have questions, please </code> with the rest of the message coming from the {{para|contacttype}} parameter result. Requires the {{para|contact}} parameter must be set to direct people with a URL.
 
'''revision'''
:The text can be altered to reflect the changes are based on a revision or a completely new set of information. This is related to the parameter {{para|draft}}, but fully independent of it. Use {{para|<var>revision</var>|<var>yes</var>}} for text saying it is a revision. Do not include that parameter or set it to anything else to result in text saying the information is new.
 
'''section'''
:The text can be altered to reflect the construction happening on the whole page (default) or just one or more sections. Use {{para|<var>section</var>|<var>yes</var>}} for text covering just a section. Do not include that parameter or set it to anything else to result in text covering the whole page.
 
'''talk'''
:If the talk page is currently being or will be used for initial thoughts on the page, use {{para|<var>talk</var>|<var>yes</var>}} to display: <code>{{Template:Mbox/Text/Talk}}</code>


== Examples ==
== Examples ==
Review the page [[Template:Construction/Examples]] for how some of the parameter combinations will look on a page.
Review the page [[Template:ChangeLanguage/Examples]] for how some of the parameter combinations will look on a page.


== Where used ==
== Where used ==
Editors can find all occurrences of this template with the link to [[Special:WhatLinksHere/Template:Construction|what links here for the Construction template]].
Editors can find all occurrences of this template with the link to [[Special:WhatLinksHere/Template:ChangeLanguage|what links here for the ChangeLanguage template]].


== Category added ==
== Category added ==
This template will automatically add the [[:Category:Construction]] to the page for tracking. The parameter {{para|<var>revision</var>|<var>yes</var>}} will add [[:Category:Revision]], otherwise it will add [[:Category:New]].
The parameter {{para|<var>spanish</var>|<var>*</var>}} will add [[:Category:Traducción]] and {{para|<var>french</var>|<var>*</var>}} will add [[:Category:Traduction]]


== See also ==
== See also ==
* {{tl|mbox}}
* {{tl|Construction}} and {{tl|Construcción}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Maintenance Templates]]
[[Category:Maintenance templates]]
[[Category:Mbox Templates]]
[[Category:Plantilla]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
</includeonly>

Latest revision as of 01:56, 13 February 2015

This is a documentation subpage for Template:ChangeLanguage.
It contains usage information, categories and other content that is not part of the original template page.

This template is added to pages that are translated from English Wiki.

Usage

Place {{ChangeLanguage}} at the top of a new page.

The following optional variables can be used to define multiple languange translations:

{{ChangeLanguage
| english = WikiURL or *
| spanish = WikiURL or *
| french  = WikiURL or *
}}

Parameters

english

Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If English is the display language put an * character.

spanish

Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If Spanish is the display language put * character.

spanish

Optional WikiURL parameter. Do not include the descriptor field of the URL, meaning only send the valid URL text without the extra space followed by a description of the URL. If Frehch is the display language put * character.

Examples

Review the page Template:ChangeLanguage/Examples for how some of the parameter combinations will look on a page.

Where used

Editors can find all occurrences of this template with the link to what links here for the ChangeLanguage template.

Category added

The parameter |spanish=* will add Category:Traducción and |french=* will add Category:Traduction

See also