Difference between revisions of "Template:Translators Header"

From Team Fortress Wiki
Jump to: navigation, search
(Changed IRC links to liberachat)
m (No need to use {{#if}} just to provide a fallback.)
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}}}|{{{logo-right-size|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;">

Revision as of 08:16, 12 January 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 = http://steamcommunity.com/groups/tfwiki-i18n
}}

produces