Difference between revisions of "Template:Translators Header"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with '<div class="plainlinks" style="margin:0; padding:0px; width: 100%; background-color:{{#if: {{{background-colour|}}}|{{{background-colour}}}|#F9D483}}}; color:{{#if: {{{colour|}}}…')
 
m (Change links to HTTPS)
 
(24 intermediate revisions by 19 users not shown)
Line 1: Line 1:
<div class="plainlinks" style="margin:0; padding:0px; width: 100%; background-color:{{#if: {{{background-colour|}}}|{{{background-colour}}}|#F9D483}}}; color:{{#if: {{{colour|}}}|{{{colour}}}|#ffffff}};">
+
<div class="plainlinks" style="margin:0; padding:0px; width: 100%; background-color:{{{background-colour|#F9D483}}}; color:{{{colour|#ffffff}}};">
<div style="font-size:35px; font-weight: 700; padding:3px;">[[File:{{{logo}}}|90px]]  <span style="color:#79542B">{{{title}}}</span>[[File:{{{logo-right}}}|243px|right]]</div>
+
<div style="font-size:35px; font-weight: 700; padding:3px;">[[File:{{{logo}}}|90px]]  <span style="color:#79542B">{{{title}}}</span>[[File:{{{logo-right}}}|{{{logo-right-size|243px}}}|right]]</div>
 
<div class="lorlink" style="margin:0; padding:0 10px; border-bottom: 1px solid white; border-top: 1px solid white; background-color:#F3A957; padding: 2px 2px; height: 35px;">
 
<div class="lorlink" style="margin:0; padding:0 10px; border-bottom: 1px solid white; border-top: 1px solid white; background-color:#F3A957; padding: 2px 2px; height: 35px;">
&nbsp; {{#ifeq: {{NAMESPACE}} | Team Fortress Wiki
+
&nbsp; {{#ifeq: {{FULLPAGENAME}} | Team Fortress Wiki:Translation progress/{{{language}}}
| [[Image:Recent_changes_ico.png|20px|link=Special:RecentChangesLinked/Category:{{{language}}}]] [[Special:RecentChangesLinked/Category:{{{language}}}|<span style="color: white; background-color: #F3A957; border-radius: 3px; -moz-border-radius: 3px;">&nbsp; '''{{#ifeq: {{{language}}}
+
| [[Image:Recent_changes_ico.png|20px|link=Special:RecentChangesLinked/Project:Reports/All articles/{{{language}}}]] [[Special:RecentChangesLinked/Project:Reports/All articles/{{{language}}}|<span style="color: white; background-color: #F3A957; border-radius: 3px; -moz-border-radius: 3px;">&nbsp; '''{{#switch: {{{language}}}
   | es = Cambios Recientes
+
  | cs = Poslední změny
 +
  | da = Seneste ændringer
 +
  | de = Letzte Änderungen
 +
   | es = Cambios recientes
 +
  | fr = Changements Récents
 +
  | hu = Legutóbbi változások
 +
  | ja = 最近の更新
 +
  | ko = 최근 바뀐 문서
 +
  | nl = Recente wijzigingen
 +
  | pl = Ostatnie zmiany
 +
  | pt = Alterações recentes
 +
  | pt-br = Mudanças recentes
 +
  | ru = Свежие правки
 
   | #default = Recent Changes
 
   | #default = Recent Changes
 
   }}''' &nbsp;</span>]]
 
   }}''' &nbsp;</span>]]
| [[Image:Recent_changes_ico.png|20px|link=Special:RecentChangesLinked/Category:{{{language}}}]] [[Special:RecentChangesLinked/Category:{{{language}}}|<span style="color: white;">'''{{#ifeq: {{{language}}}
+
| [[Image:Recent_changes_ico.png|20px|link=Special:RecentChangesLinked/Category:{{{language}}}]] [[Special:RecentChangesLinked/Category:{{{language}}}|<span style="color: white;">'''{{#switch: {{{language}}}
   | es = Cambios Recientes
+
  | cs = Poslední změny
 +
  | da = Seneste ændringer
 +
  | de = Letzte Änderungen
 +
   | es = Cambios recientes
 +
  | fr = Changements Récents
 +
  | hu = Legutóbbi változások
 +
  | ja = 最近の更新
 +
  | ko = 최근 바뀐 문서
 +
  | nl = Recente wijzigingen
 +
  | pl = Ostatnie zmiany
 +
  | pt = Alterações recentes
 +
  | pt-br = Mudanças recentes
 +
  | ru = Свежие правки
 
   | #default = Recent Changes
 
   | #default = Recent Changes
 
   }}'''</span>]]
 
   }}'''</span>]]
 
}} &nbsp; &nbsp;
 
}} &nbsp; &nbsp;
 
{{#ifeq: {{NAMESPACE}} | Team Fortress Wiki talk
 
{{#ifeq: {{NAMESPACE}} | Team Fortress Wiki talk
| [[Image:Talk_ico.png|22px|link=Team Fortress Wiki talk:Translation progress/{{{language}}}]] [[Team Fortress Wiki talk:Translation progress/{{{language}}}|<span style="color: white; background-color: #F3A957; border-radius: 3px; -moz-border-radius: 3px;">&nbsp; '''{{#ifeq: {{{language}}}
+
| [[Image:Talk_ico.png|22px|link=Team Fortress Wiki talk:Translation progress/{{{language}}}]] [[Team Fortress Wiki talk:Translation progress/{{{language}}}|<span style="color: white; background-color: #F3A957; border-radius: 3px; -moz-border-radius: 3px;">&nbsp; '''{{#switch: {{{language}}}
 +
  | cs = Diskuse
 +
  | da = Diskussion
 +
  | de = Diskussion
 
   | es = Discusión
 
   | es = Discusión
 +
  | fr = Discussion
 +
  | hu = Megbeszélés
 +
  | ja = 議論ページ
 +
  | ko = 번역가 토론장
 +
  | nl = Discussie
 +
  | pl = Dyskusja
 +
  | pt = Discussão
 +
  | pt-br = Discussão
 +
  | ru = Обсуждение
 
   | #default = Discussion
 
   | #default = Discussion
 
   }}''' &nbsp;</span>]]
 
   }}''' &nbsp;</span>]]
| [[Image:Talk_ico.png|22px|link=Team Fortress Wiki talk:Translation progress/{{{language}}}]] [[Team Fortress Wiki talk:Translation progress/{{{language}}}|<span style="color: white;">&nbsp; '''Discusión''' &nbsp;</span>]]
+
| [[Image:Talk_ico.png|22px|link=Team Fortress Wiki talk:Translation progress/{{{language}}}]] [[Team Fortress Wiki talk:Translation progress/{{{language}}}|<span style="color: white;">&nbsp; '''{{#switch: {{{language}}}
}} &nbsp; &nbsp; [[Image:to-do_ico.png|20px|link=Team Fortress Wiki:Translation progress/{{{language}}}/to-do]] [[Team Fortress Wiki:Translation progress/{{{language}}}/to-do|<span style="color: white;">'''To-Do'''</span>]] &nbsp; &nbsp;
+
  | cs = Diskuse
&nbsp; &nbsp; [[Image:Steam_tray.png|20px|link={{{steamgroup-link}}}]] [{{{steamgroup-link}}} <span style="color: white;">'''Steam'''</span>] &nbsp; &nbsp; [[Image:Irc_ico.png|25px|link=irc://irc.freenode.net/tfwiki]] [irc://irc.freenode.net/tfwiki <span style="color: white;">'''IRC'''</span>]
+
  | da = Diskussion
&nbsp; &nbsp; [[Image:RED Resurrection Associate_Pin.png|22px|link=http://theportalwiki.com/wiki/Main_Page/{{{language}}}]] [http://theportalwiki.com/wiki/Main_Page/{{{language}}} <span style="color: white;">'''Portal Wiki'''</span>]
+
  | de = Diskussion
</div>
+
  | es = Discusión
 +
  | fr = Discussion
 +
  | hu = Megbeszélés
 +
  | ja = 議論ページ
 +
  | ko = 번역가 토론장
 +
  | nl = Discussie
 +
  | pl = Dyskusja
 +
  | pt = Discussão
 +
  | pt-br = Discussão
 +
  | ru = Обсуждение
 +
  | #default = Discussion
 +
  }}''' &nbsp;</span>]]
 +
}} &nbsp; &nbsp; [[Image:to-do_ico.png|20px|link=Team Fortress Wiki:Translation progress/{{{language}}}/to-do]] [[Team Fortress Wiki:Translation progress/{{{language}}}/to-do|<span style="color: white;">'''{{#switch: {{{language}}}
 +
  | da = Opgaveliste
 +
  | de = To-Do
 +
  | es = To-Do
 +
  | fr = Liste de tâches
 +
  | hu = Feladatok
 +
  | ja = タスク
 +
  | ko = 목표
 +
  | nl = Te Doen
 +
  | pl = Do zrobienia
 +
  | pt = Afazeres
 +
  | pt-br = Afazeres
 +
  | ru = Задачи
 +
  | #default = To-Do
 +
  }}'''</span>]] &nbsp; &nbsp;
 +
&nbsp; &nbsp; [[Image:Steam_tray.png|20px|link={{{steamgroup-link}}}]] [{{{steamgroup-link}}} <span style="color: white;">'''Steam'''</span>] &nbsp; &nbsp; [[Image:Irc_ico.png|25px|link=https://web.libera.chat/?#tfwiki]] [https://web.libera.chat/?#tfwiki <span style="color: white;">'''IRC'''</span>]
 +
&nbsp; &nbsp; [[Image:RED Resurrection Associate_Pin.png|22px|link=https://theportalwiki.com/wiki/Main_Page/{{{language}}}]] [https://theportalwiki.com/wiki/Main_Page/{{{language}}} <span style="color: white;">'''Portal Wiki'''</span>]
 
</div>
 
</div>
 +
</div><noinclude>{{doc begin}}
 +
== Usage ==
 +
 +
<pre><nowiki>
 +
{{Translators Header
 +
|language =
 +
|background-colour =
 +
|colour =
 +
|logo =
 +
|title =
 +
|logo-right =
 +
|logo-right-size =
 +
|steamgroup-link =
 +
}}
 +
</nowiki></pre>
 +
 +
== Example ==
 +
 +
<pre><nowiki>
 +
{{Translators Header
 +
|language = es
 +
|background-colour = #F9D483
 +
|colour = #ffffff
 +
|logo = User Dio TF2 Hispanic Logo.png
 +
|title = TF Wiki: Traductores Hispanos
 +
|logo-right = Scoutsandmantauntkill.PNG
 +
|steamgroup-link = https://steamcommunity.com/groups/tfwiki-i18n
 +
}}</nowiki></pre>
 +
 +
produces
 +
 +
{{Translators Header
 +
|language = es
 +
|background-colour = #F9D483
 +
|colour = #ffffff
 +
|logo = User Dio TF2 Hispanic Logo.png
 +
|title = TF Wiki: Traductores Hispanos
 +
|logo-right = Scoutsandmantauntkill.PNG
 +
|steamgroup-link = https://steamcommunity.com/groups/tfwiki-i18n
 +
}}</noinclude>

Latest revision as of 16:38, 25 November 2022

Documentation for Translators Header

Usage

{{Translators Header
|language =
|background-colour =
|colour =
|logo =
|title =
|logo-right =
|logo-right-size =
|steamgroup-link =
}}

Example

{{Translators Header
|language = es
|background-colour = #F9D483
|colour = #ffffff
|logo = User Dio TF2 Hispanic Logo.png
|title = TF Wiki: Traductores Hispanos
|logo-right = Scoutsandmantauntkill.PNG
|steamgroup-link = https://steamcommunity.com/groups/tfwiki-i18n
}}

produces