Template:Google translation named/doc: Difference between revisions

Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template is a metatemplate called by {{tl|Google translation}} to strip white space...)
 
(High-use note added.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<includeonly>{{high-use}}</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


This template is a metatemplate called by {{tl|Google translation}} to strip white spaces, which is only possible with named parameters. Otherwise, white spaces would cause a link to break, because they would be considered part of the link.
This template is a metatemplate called by {{tl|Google translation}} to strip white spaces, which is only possible with named parameters. Otherwise, white spaces would cause a link to break, because they would be considered part of the link.


For details how {{tl|Google translation}} works, see [[Template:Google translation/doc]]
== Usage ==
If you prefer named parameters in your code, you can use this template instead of {{tl|Google translation}}.


Syntax:
<nowiki>{{Google translation named|</nowiki>url=''<text>''|code=''<text>''<nowiki>}}</nowiki>
For details on the parameters and how the template works, see {{tl|Google translation}}.
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]
[[Category:{{SITENAME}} metatemplates|{{PAGENAME}}]]
[[Category:Language templates]]
[[Category:External link templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
</includeonly>
</includeonly>

Latest revision as of 13:47, 5 June 2008

This is a documentation subpage for Template:Google translation named (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.


This template is a metatemplate called by {{Google translation}} to strip white spaces, which is only possible with named parameters. Otherwise, white spaces would cause a link to break, because they would be considered part of the link.

Usage

If you prefer named parameters in your code, you can use this template instead of {{Google translation}}.

Syntax:

{{Google translation named|url=<text>|code=<text>}}

For details on the parameters and how the template works, see {{Google translation}}.