Template:Translation Page

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search

Purpose

This template works in conjunction with its header to generate tables that display subjects (such as characters or items), images of those subjects, and their names in various languages.

Usage

The following code is to be placed in each section of a game's translation page. This template supports up to six tabs.

23456
{{Translation Page
|game= 
|filetype= 
|header= 
|tab1= 
|tab2= 

|subjects= 
}}
{{Translation Page
|game= 
|filetype= 
|header= 
|tab1= 
|tab2= 
|tab3= 

|subjects= 
}}
{{Translation Page
|game= 
|filetype= 
|header= 
|tab1= 
|tab2= 
|tab3= 
|tab4= 

|subjects= 
}}
{{Translation Page
|game= 
|filetype= 
|header= 
|tab1= 
|tab2= 
|tab3= 
|tab4= 
|tab5= 

|subjects= 
}}
{{Translation Page
|game= 
|filetype= 
|header= 
|tab1= 
|tab2= 
|tab3= 
|tab4= 
|tab5= 
|tab6= 

|subjects= 
}}
ParameterStatusDescriptionAccepted values
gamerequiredThe relevant game code.See Data:Franchise
filetyperequiredThe type of image displayed for each subject.
headerrequiredThe type of subject being translated and displayed.
tabNoptionalDepends on the number of languages defined in the Header template. Not needed if using Template:Translation Header Subpage - tabs are computed automatically in this case
subjectsrequiredA list of all the subjects to be translated.

This template works in conjunction with its [[:Template:Translation Page Header|header]] to generate tables that display subjects (such as characters or items), images of those subjects, and their names in various languages.

Template parameters

ParameterDescriptionTypeStatus
gamegame

The relevant game code.

Stringrequired
filetypefiletype

The type of image displayed for each subject.

Stringrequired
headerheader

The type of subject being translated and displayed.

Stringrequired
subjectssubjects

A list of all the subjects to be translated.

Stringrequired
tab1tab1

Depends on the number of languages defined in the Header template. Not needed if using [[Template:Translation Header Subpage]] - tabs are computed automatically in this case

Stringoptional
tab2tab2

Depends on the number of languages defined in the Header template. Not needed if using [[Template:Translation Header Subpage]] - tabs are computed automatically in this case

Stringoptional
tab3tab3

Depends on the number of languages defined in the Header template. Not needed if using [[Template:Translation Header Subpage]] - tabs are computed automatically in this case

Stringoptional
tab4tab4

Depends on the number of languages defined in the Header template. Not needed if using [[Template:Translation Header Subpage]] - tabs are computed automatically in this case

Stringoptional
tab5tab5

Depends on the number of languages defined in the Header template. Not needed if using [[Template:Translation Header Subpage]] - tabs are computed automatically in this case

Stringoptional
tab6tab6

Depends on the number of languages defined in the Header template. Not needed if using [[Template:Translation Header Subpage]] - tabs are computed automatically in this case

Stringoptional

Example

{{Translation Page
|game= SS
|filetype= Model
|header= Character
|tab1= {{#var:Table 1}}
|tab2= {{#var:Table 2}}
|tab3= {{#var:Table 3}}
|subjects= Batreaux, Beedle, Bertie, ... }}
The above documentation is transcluded from Template:Translation Page/Documentation. (edit | history)