Template:Translation Page
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.
{{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= }}
Parameter | Status | Description | Accepted values |
---|---|---|---|
game | required | The relevant game code. | See Data:Franchise |
filetype | required | The type of image displayed for each subject. | |
header | required | The type of subject being translated and displayed. | |
tabN | optional | 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 | |
subjects | required | A 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
game | game | The relevant game code. | String | required |
filetype | filetype | The type of image displayed for each subject. | String | required |
header | header | The type of subject being translated and displayed. | String | required |
subjects | subjects | A list of all the subjects to be translated. | String | required |
tab1 | tab1 | 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 | String | optional |
tab2 | tab2 | 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 | String | optional |
tab3 | tab3 | 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 | String | optional |
tab4 | tab4 | 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 | String | optional |
tab5 | tab5 | 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 | String | optional |
tab6 | tab6 | 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 | String | optional |
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, ... }}