Difference between revisions of "Template:L10n/item"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>
<onlyinclude><includeonly>{{#if:{{{hack|}}}|
|-
{{!}}-
|[[{{{1|}}}]]{{#vardefine:parent|{{urlencode:{{{1|}}}}}}}
{{!}}[[{{{1|}}}]]{{#vardefine:parent|{{urlencode:{{{1|}}}}}}}
|{{#ifexist:{{{1|}}}/fr|[[{{{1|}}}|done]]|{{L10n/create|/fr|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{ifexist|{{{1|}}}/fr|[[{{{1|}}}/fr|done]]|{{L10n/create|/fr|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
|{{#ifexist:{{{1|}}}/de|[[{{{1|}}}|done]]|{{L10n/create|/de|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{ifexist|{{{1|}}}/de|[[{{{1|}}}/de|done]]|{{L10n/create|/de|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
|{{#ifexist:{{{1|}}}/ja|[[{{{1|}}}|done]]|{{L10n/create|/ja|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{ifexist|{{{1|}}}/ja|[[{{{1|}}}/ja|done]]|{{L10n/create|/ja|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
|{{#ifexist:{{{1|}}}/pt|[[{{{1|}}}|done]]|{{L10n/create|/pt|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{ifexist|{{{1|}}}/pt|[[{{{1|}}}/pt|done]]|{{L10n/create|/pt|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
|{{#ifexist:{{{1|}}}/it|[[{{{1|}}}|done]]|{{L10n/create|/it|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{ifexist|{{{1|}}}/it|[[{{{1|}}}/it|done]]|{{L10n/create|/it|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
|{{#ifexist:{{{1|}}}/es|[[{{{1|}}}|done]]|{{L10n/create|/es|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}</includeonly></onlyinclude>
{{!}}{{ifexist|{{{1|}}}/es|[[{{{1|}}}/es|done]]|{{L10n/create|/es|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}|
{{!}}-
{{!}}[[{{{1|}}}]]{{#vardefine:parent|{{urlencode:{{{1|}}}}}}}
{{!}}{{#ifexist:{{{1|}}}/fr|[[{{{1|}}}/fr|done]]|{{L10n/create|/fr|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{#ifexist:{{{1|}}}/de|[[{{{1|}}}/de|done]]|{{L10n/create|/de|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{#ifexist:{{{1|}}}/ja|[[{{{1|}}}/ja|done]]|{{L10n/create|/ja|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{#ifexist:{{{1|}}}/pt|[[{{{1|}}}/pt|done]]|{{L10n/create|/pt|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{#ifexist:{{{1|}}}/it|[[{{{1|}}}/it|done]]|{{L10n/create|/it|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}
{{!}}{{#ifexist:{{{1|}}}/es|[[{{{1|}}}/es|done]]|{{L10n/create|/es|{{#var:parent}}|{{{2|}}}|alt={{{alt|}}}}}}}}}</includeonly></onlyinclude>
Builds links to create localized pages for tier 1 and tier 2 languages. Supposed to be used in a table environment.  
Builds links to create localized pages for tier 1 and tier 2 languages. Supposed to be used in a table environment.  


Line 22: Line 30:
|2
|2
|Subpagename of the parent which is supposed to be cloned (including the slash <code>/</code>).
|Subpagename of the parent which is supposed to be cloned (including the slash <code>/</code>).
|<code>/en</code>
|
|-
|-
|alt
|alt
Line 47: Line 55:


(Please don't actually create these...)
(Please don't actually create these...)
[[Category:L10n Templates]]

Latest revision as of 16:08, 1 April 2010

Builds links to create localized pages for tier 1 and tier 2 languages. Supposed to be used in a table environment.

Parameter Description Default
1 Base page title of the parent which is supposed to be cloned. Defaults to {{FULLPAGENAMEE}}
2 Subpagename of the parent which is supposed to be cloned (including the slash /).
alt Alternate text for the link. Click to create.

Dependencies

Example

E.g.

Item French German Japanese Portuguese Italian Spanish
Template:L10n/item Click to create. Click to create. Click to create. Click to create. Click to create. Click to create.

(Please don't actually create these...)