Difference between revisions of "Template talk:Main Page layout"
(→Proper todo) |
m |
||
(27 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
+ | == Translation instructions == | ||
+ | {{see also|Help:Language translation|Help:Translation switching}} | ||
+ | To translate the [[Main Page]] into a different language: | ||
+ | |||
+ | # Copy the contents of the current English [[Main Page]] and paste it into the language subpage (e.g. for French it is [[Main Page/fr]]) | ||
+ | # Then translate all of the English parts into your own language. | ||
+ | # Many other templates (e.g. the {{tl|FeaturedArticle}} template) are used in this layout and require translations to be added to them directly. See [[:Category:Main Page]] for most of them. Follow the individual instructions on each page to translate these templates. | ||
+ | |||
+ | If the English [[Main Page]] is missing a parameter you need, there is a full list in this box. | ||
+ | {| class="collapsible collapsed" width="100%" | ||
+ | ! style="background:#cfc; font-size:120%; height:24px;" | Full list of parameters | ||
+ | |- | ||
+ | | {{c|no|Note}}: do ''not'' just copy directly from the below into a new Main Page. Copy from the English [[Main Page]] instead. | ||
+ | <pre><nowiki> | ||
+ | {{Main Page layout | ||
+ | |||
+ | | DISPLAYTITLE = Official Team Fortress Wiki | ||
+ | |||
+ | | welcome-text-1 = Welcome to the | ||
+ | | welcome-text-title = Official Team Fortress Wiki | ||
+ | | welcome-text-2 = the official resource for the ''[[Team Fortress]]'' series. | ||
+ | | welcome-text-3 = [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles and growing… | ||
+ | |||
+ | | welcome-link-website = TF2 Official Blog | ||
+ | | welcome-link-forum = Forums | ||
+ | | welcome-link-updates = Updates | ||
+ | | welcome-link-youtube = YouTube Channel | ||
+ | | welcome-link-steam = Steam Community | ||
+ | | welcome-link-discussion = Discussion | ||
+ | | welcome-link-register = Register | ||
+ | | welcome-link-helpout = Help out | ||
+ | | welcome-link-translate = Translate | ||
+ | |||
+ | <!-- These class titles can be removed if your language does not change their displayed names --> | ||
+ | |||
+ | | class-scout-title = | ||
+ | | class-soldier-title = | ||
+ | | class-pyro-title = | ||
+ | | class-demoman-title = | ||
+ | | class-heavy-title = | ||
+ | | class-engineer-title = | ||
+ | | class-medic-title = | ||
+ | | class-sniper-title = | ||
+ | | class-spy-title = | ||
+ | |||
+ | | box1-index-title = Index | ||
+ | |||
+ | | box1-index-image1 = | ||
+ | | box1-index-article1 = | ||
+ | | box1-index-article1title = | ||
+ | |||
+ | | box1-index-image2 = | ||
+ | | box1-index-article2 = | ||
+ | | box1-index-article2title = | ||
+ | |||
+ | | box1-index-image3 = | ||
+ | | box1-index-article3 = | ||
+ | | box1-index-article3title = | ||
+ | |||
+ | | box1-index-image4 = | ||
+ | | box1-index-article4 = | ||
+ | | box1-index-article4title = | ||
+ | |||
+ | | box1-index-image5 = | ||
+ | | box1-index-article5 = | ||
+ | | box1-index-article5title = | ||
+ | |||
+ | | box1-index-image6 = | ||
+ | | box1-index-article6 = | ||
+ | | box1-index-article6title = | ||
+ | |||
+ | | box1-index-col1 = | ||
+ | | box1-index-col2 = | ||
+ | | box1-index-col3 = | ||
+ | |||
+ | |||
+ | | box2-fa-title = Featured article | ||
+ | | box2-fa-links = | ||
+ | |||
+ | | box3-updates-title = Latest updates | ||
+ | | box3-updates-type = banner <!-- Uses {{Latest item}} - switch between "banner" and "text" --> | ||
+ | |||
+ | | box3-updates-text-latestpatch-beta = Latest [[Team Fortress 2 Beta|beta]] patch | ||
+ | | box3-updates-text-latestpatch = Latest patch | ||
+ | | box3-updates-text-latestblog = Latest blog | ||
+ | |||
+ | | box4-dyk-title = Did you know… | ||
+ | | box4-dyk-links = | ||
+ | |||
+ | | box5-wiki-title = Team Fortress Wiki | ||
+ | | box5-wiki-hidewikilinks = <!-- Use this to hide the TFWiki links that are in English. Delete this line if not used. --> | ||
+ | | box5-wiki-title2 = How you can help | ||
+ | | box5-wiki-col1 = | ||
+ | | box5-wiki-col2 = | ||
+ | |||
+ | | box6-vwn-title = Valve Wiki Network | ||
+ | |||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | __TOC__ | ||
+ | |||
+ | = Discussion = | ||
== Shiny == | == Shiny == | ||
Line 14: | Line 119: | ||
[[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 06:45, 31 August 2010 (UTC) | [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 06:45, 31 August 2010 (UTC) | ||
:Could you make the class images a touch smaller? (70px maybe?) They're going off the side of my screen. -[[User:Shine|<font color="#666666">'''Shine'''</font>]] ({{mod}}) 06:59, 31 August 2010 (UTC) | :Could you make the class images a touch smaller? (70px maybe?) They're going off the side of my screen. -[[User:Shine|<font color="#666666">'''Shine'''</font>]] ({{mod}}) 06:59, 31 August 2010 (UTC) | ||
+ | |||
+ | Suggestions from IRC channel: | ||
+ | * New (custom) class portraits | ||
+ | * Borderless freakin' tables yo | ||
+ | * <span style="text-decoration:line-through;">Country flags</span> (Pilk said no) | ||
+ | — [[User:WindPower|<span style="font-weight:bold;">Wind</span>]] {{adm}} 16:30, 31 August 2010 (UTC) | ||
+ | |||
+ | == Image suggestions == | ||
+ | |||
+ | * Crafting | ||
+ | ** [[File:Crafting anvil.png|128px]] | ||
+ | * Hats | ||
+ | ** none | ||
+ | * Weapons | ||
+ | ** none | ||
+ | |||
+ | [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 21:52, 2 September 2010 (UTC) | ||
+ | :Well if we're changing them, we have to make sure they're all the same shape ans size so that they appear similar across the board. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub> ([[User_talk:Smashman|talk]])</sub> {{bur}} 22:01, 2 September 2010 (UTC) | ||
+ | ::I want to keep the same framed picture style, but just have different images ''in'' the frame. [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 22:02, 2 September 2010 (UTC) | ||
+ | |||
+ | :::Oh right. I thought you wanted completely different images. Good. They're meant to be polariods. They're from in-game. I think if you're going to do those, they should have a background. Otherwise they'd look odd. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub> ([[User_talk:Smashman|talk]])</sub> {{bur}} 22:13, 2 September 2010 (UTC) | ||
+ | |||
+ | == Design == | ||
+ | |||
+ | #Wide banner was removed from right table and new design became pretty! For better displaying Banner should be placed below Classes table. | ||
+ | #What about removing feautured article name after {{{box2-fa-title}}}, it's superfluous. | ||
+ | — [[User:Laros123|<font color="#AE6DAE">'''everybody hates pyro'''</font>]]. 16:29, 9 September 2010 (UTC) | ||
+ | :Well I put it there so that we knew what article it was, and yes that was the plan. {{n}}[[User:Smashman|<span class="bur">Smashman</span>]]<sub> ([[User_talk:Smashman|talk]])</sub> {{bur}} 16:38, 9 September 2010 (UTC) | ||
+ | |||
+ | New suggestions | ||
+ | * I recommend you putting emdash (—) after <nowiki>{{{box2-fa-title}}}</nowiki> | ||
+ | * May be we can use language-specific category links for <nowiki>{{{welcome-link-helpout}}}</nowiki> via <nowiki>{{if lang}}</nowiki>? | ||
+ | — [[User:Laros123|<font color="#AE6DAE">'''Laros123'''</font>]]. 16:19, 7 October 2010 (UTC) | ||
+ | |||
+ | == Finnish language link to the front page? == | ||
+ | |||
+ | I've started translating parts of the Wiki to Finnish and it would be nice to have a link to [[Main Page/fi]] on the front page along with the other languages. Would that be possible? [[User:Dragory|Dragory]] 22:48, 6 November 2010 (UTC) | ||
+ | :{{c|done}} [[User:Seb26|<font color="#0B61A4">'''seb26'''</font>]] [[User talk:Seb26|<span style="font-size:95%;">[talk]</span>]] 22:53, 6 November 2010 (UTC) | ||
+ | |||
+ | == Trending topics == | ||
+ | |||
+ | Please add translations for "Trending topics:" — [[User:Laros123|<font color="#AE6DAE">Laros123</font>]] 11:29, 30 November 2010 (UTC) | ||
+ | |||
+ | == Translation of copyright section == | ||
+ | |||
+ | Can someone make copyright section support translations? (at the very bottom of page)<br> | ||
+ | [[User:BerryAVGN|BerryAVGN]] ([[User talk:BerryAVGN|talk]]) 10:36, 24 July 2022 (UTC) | ||
+ | |||
+ | == Suggestion == | ||
+ | |||
+ | Change "recipients" to "recipient'''('''s''')'''".<br><br> | ||
+ | |||
+ | From:<br><br> | ||
+ | |||
+ | <code><nowiki>-->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br</nowiki></code><br><br> | ||
+ | |||
+ | To:<br><br> | ||
+ | |||
+ | <code><nowiki>-->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipient</nowiki>'''('''<nowiki>s</nowiki>''')'''<nowiki>]]:}}}<br</nowiki></code><br><br> | ||
+ | |||
+ | [[User:Tiagoquix|Tiagoquix]] ([[User talk:Tiagoquix|talk]]) 09:34, 2 September 2022 (UTC) |
Latest revision as of 09:34, 2 September 2022
Translation instructions
To translate the Main Page into a different language:
- Copy the contents of the current English Main Page and paste it into the language subpage (e.g. for French it is Main Page/fr)
- Then translate all of the English parts into your own language.
- Many other templates (e.g. the
{{FeaturedArticle}}
template) are used in this layout and require translations to be added to them directly. See Category:Main Page for most of them. Follow the individual instructions on each page to translate these templates.
If the English Main Page is missing a parameter you need, there is a full list in this box.
Full list of parameters |
---|
Note: do not just copy directly from the below into a new Main Page. Copy from the English Main Page instead.
{{Main Page layout | DISPLAYTITLE = Official Team Fortress Wiki | welcome-text-1 = Welcome to the | welcome-text-title = Official Team Fortress Wiki | welcome-text-2 = the official resource for the ''[[Team Fortress]]'' series. | welcome-text-3 = [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles and growing… | welcome-link-website = TF2 Official Blog | welcome-link-forum = Forums | welcome-link-updates = Updates | welcome-link-youtube = YouTube Channel | welcome-link-steam = Steam Community | welcome-link-discussion = Discussion | welcome-link-register = Register | welcome-link-helpout = Help out | welcome-link-translate = Translate <!-- These class titles can be removed if your language does not change their displayed names --> | class-scout-title = | class-soldier-title = | class-pyro-title = | class-demoman-title = | class-heavy-title = | class-engineer-title = | class-medic-title = | class-sniper-title = | class-spy-title = | box1-index-title = Index | box1-index-image1 = | box1-index-article1 = | box1-index-article1title = | box1-index-image2 = | box1-index-article2 = | box1-index-article2title = | box1-index-image3 = | box1-index-article3 = | box1-index-article3title = | box1-index-image4 = | box1-index-article4 = | box1-index-article4title = | box1-index-image5 = | box1-index-article5 = | box1-index-article5title = | box1-index-image6 = | box1-index-article6 = | box1-index-article6title = | box1-index-col1 = | box1-index-col2 = | box1-index-col3 = | box2-fa-title = Featured article | box2-fa-links = | box3-updates-title = Latest updates | box3-updates-type = banner <!-- Uses {{Latest item}} - switch between "banner" and "text" --> | box3-updates-text-latestpatch-beta = Latest [[Team Fortress 2 Beta|beta]] patch | box3-updates-text-latestpatch = Latest patch | box3-updates-text-latestblog = Latest blog | box4-dyk-title = Did you know… | box4-dyk-links = | box5-wiki-title = Team Fortress Wiki | box5-wiki-hidewikilinks = <!-- Use this to hide the TFWiki links that are in English. Delete this line if not used. --> | box5-wiki-title2 = How you can help | box5-wiki-col1 = | box5-wiki-col2 = | box6-vwn-title = Valve Wiki Network }} |
Contents
Discussion
Shiny
It's so shiny, I would miss the amount of colour though! -- Pilk (talk) 10:50, 28 August 2010 (UTC)
- Colours coming soon, I'm structuring it first so then it's easier to style through CSS. seb26 [talk] 10:58, 28 August 2010 (UTC)
Proper todo
- Index
- Needs proper links
- Need to use better images
- Team Fortress Wiki links
- Possibly something like
{{TFWiki navbar}}
?
- Possibly something like
- What to do about blank gaps.
seb26 [talk] 06:45, 31 August 2010 (UTC)
- Could you make the class images a touch smaller? (70px maybe?) They're going off the side of my screen. -Shine () 06:59, 31 August 2010 (UTC)
Suggestions from IRC channel:
- New (custom) class portraits
- Borderless freakin' tables yo
- Country flags (Pilk said no)
— Wind 16:30, 31 August 2010 (UTC)
Image suggestions
seb26 [talk] 21:52, 2 September 2010 (UTC)
- Well if we're changing them, we have to make sure they're all the same shape ans size so that they appear similar across the board. – Smashman (talk) 22:01, 2 September 2010 (UTC)
Design
- Wide banner was removed from right table and new design became pretty! For better displaying Banner should be placed below Classes table.
- What about removing feautured article name after {{{box2-fa-title}}}, it's superfluous.
— everybody hates pyro. 16:29, 9 September 2010 (UTC)
- Well I put it there so that we knew what article it was, and yes that was the plan. – Smashman (talk) 16:38, 9 September 2010 (UTC)
New suggestions
- I recommend you putting emdash (—) after {{{box2-fa-title}}}
- May be we can use language-specific category links for {{{welcome-link-helpout}}} via {{if lang}}?
— Laros123. 16:19, 7 October 2010 (UTC)
Finnish language link to the front page?
I've started translating parts of the Wiki to Finnish and it would be nice to have a link to Main Page/fi on the front page along with the other languages. Would that be possible? Dragory 22:48, 6 November 2010 (UTC)
Trending topics
Please add translations for "Trending topics:" — Laros123 11:29, 30 November 2010 (UTC)
Translation of copyright section
Can someone make copyright section support translations? (at the very bottom of page)
BerryAVGN (talk) 10:36, 24 July 2022 (UTC)
Suggestion
Change "recipients" to "recipient(s)".
From:
-->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br
To:
-->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipient(s)]]:}}}<br