Difference between revisions of "Template:Main Page layout"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(20 intermediate revisions by the same user not shown)
Line 26: Line 26:
 
-->
 
-->
 
| style="width:13%; font-size:95%;" | <!-- 20% = 39 / 2. 39 = 100 - 61 (above). Adjust to 13% if 3 columns -->
 
| style="width:13%; font-size:95%;" | <!-- 20% = 39 / 2. 39 = 100 - 61 (above). Adjust to 13% if 3 columns -->
* [http://www.teamfortress.com/ {{{welcome-link-website}}}]
+
* [https://www.teamfortress.com/ {{{welcome-link-website}}}]
 
* [https://steamcommunity.com/app/440/discussions {{{welcome-link-forum}}}]
 
* [https://steamcommunity.com/app/440/discussions {{{welcome-link-forum}}}]
 
* [[Patches{{if lang}}|{{{welcome-link-updates}}}]]
 
* [[Patches{{if lang}}|{{{welcome-link-updates}}}]]
 
| style="width:13%; font-size:95%;" |
 
| style="width:13%; font-size:95%;" |
* [https://www.youtube.com/user/OfficialTF2Wiki {{{welcome-link-youtube}}}]
+
* {{#if:{{{welcome-link-bilibili|}}}|[https://space.bilibili.com/531557387 {{{welcome-link-bilibili}}}]&nbsp;/&nbsp;|}}[https://www.youtube.com/user/OfficialTF2Wiki {{{welcome-link-youtube}}}]
 
* [{{{welcome-link-steam-url|https://steamcommunity.com/groups/OTFWiki}}} {{{welcome-link-steam}}}]
 
* [{{{welcome-link-steam-url|https://steamcommunity.com/groups/OTFWiki}}} {{{welcome-link-steam}}}]
 
* [[Team Fortress Wiki:Discussion|{{{welcome-link-discussion}}}]]
 
* [[Team Fortress Wiki:Discussion|{{{welcome-link-discussion}}}]]
Line 42: Line 42:
  
 
-->
 
-->
{| class="mp-content-table" style="margin-bottom:-5px; text-align:center; font-size:90%; direction: ltr !important;"
+
{| class="mp-content-table" style="margin-top: 7px; text-align:center; font-size:90%; direction: ltr !important;"
 
| <span style="font-size:100%;">'''[[Main Page|English]]'''<!--  
 
| <span style="font-size:100%;">'''[[Main Page|English]]'''<!--  
  
Line 58: Line 58:
 
   --></span><br /><!--  
 
   --></span><br /><!--  
  
           -->[[Main Page/ar|<span title="{{lang name|name|ar}}">{{#language:ar}}</span>]]<!--
+
           -->[[Main Page/cs|<span title="{{lang name|name|cs}}">{{#language:cs}}</span>]]<!--  
  --> '''·''' [[Main Page/cs|<span title="{{lang name|name|cs}}">{{#language:cs}}</span>]]<!--  
 
 
   --> '''·''' [[Main Page/da|<span title="{{lang name|name|da}}">{{#language:da}}</span>]]<!--  
 
   --> '''·''' [[Main Page/da|<span title="{{lang name|name|da}}">{{#language:da}}</span>]]<!--  
 
   --> '''·''' [[Main Page/hu|<span title="{{lang name|name|hu}}">{{#language:hu}}</span>]]<!--  
 
   --> '''·''' [[Main Page/hu|<span title="{{lang name|name|hu}}">{{#language:hu}}</span>]]<!--  
Line 80: Line 79:
 
-->{{Navbox  
 
-->{{Navbox  
  
| bodystyle = width:100%; margin-bottom:7px; text-align:center; font-size:90%; border:1px solid #79542B; <!-- // Manual workaround as CSS classes isn't working with Navbox -->
+
| bodystyle = width:100%; margin-bottom:7px; text-align:center; font-size:90%; border:1px solid #79542B; margin-top: 7px !important; <!-- // Manual workaround as CSS classes isn't working with Navbox -->
 
| list1 = {{Navbox with columns | child
 
| list1 = {{Navbox with columns | child
  
Line 89: Line 88:
 
  | colstyle      = text-align: center; font-size: 120%; font-weight: bold;
 
  | colstyle      = text-align: center; font-size: 120%; font-weight: bold;
  
  | col1header = [[File:{{Main Page class potrait|Scout}}|link=Scout{{if lang}}|84px]]
+
  | col1header = [[File:{{Main Page class portrait|Scout}}|link=Scout{{if lang}}|84px]]
  | col2header = [[File:{{Main Page class potrait|Soldier}}|link=Soldier{{if lang}}|84px]]
+
  | col2header = [[File:{{Main Page class portrait|Soldier}}|link=Soldier{{if lang}}|84px]]
  | col3header = [[File:{{Main Page class potrait|Pyro}}|link=Pyro{{if lang}}|84px]]
+
  | col3header = [[File:{{Main Page class portrait|Pyro}}|link=Pyro{{if lang}}|84px]]
  | col4header = [[File:{{Main Page class potrait|Demoman}}|link=Demoman{{if lang}}|84px]]
+
  | col4header = [[File:{{Main Page class portrait|Demoman}}|link=Demoman{{if lang}}|84px]]
  | col5header = [[File:{{Main Page class potrait|Heavy}}|link=Heavy{{if lang}}|84px]]
+
  | col5header = [[File:{{Main Page class portrait|Heavy}}|link=Heavy{{if lang}}|84px]]
  | col6header = [[File:{{Main Page class potrait|Engineer}}|link=Engineer{{if lang}}|84px]]
+
  | col6header = [[File:{{Main Page class portrait|Engineer}}|link=Engineer{{if lang}}|84px]]
  | col7header = [[File:{{Main Page class potrait|Medic}}|link=Medic{{if lang}}|84px]]
+
  | col7header = [[File:{{Main Page class portrait|Medic}}|link=Medic{{if lang}}|84px]]
  | col8header = [[File:{{Main Page class potrait|Sniper}}|link=Sniper{{if lang}}|84px]]
+
  | col8header = [[File:{{Main Page class portrait|Sniper}}|link=Sniper{{if lang}}|84px]]
  | col9header = [[File:{{Main Page class potrait|Spy}}|link=Spy{{if lang}}|84px]]
+
  | col9header = [[File:{{Main Page class portrait|Spy}}|link=Spy{{if lang}}|84px]]
  
 
  | col1 = [[Scout{{if lang}}|{{{class-scout-title|{{class name|Scout}}}}}]]
 
  | col1 = [[Scout{{if lang}}|{{{class-scout-title|{{class name|Scout}}}}}]]
Line 189: Line 188:
 
-->
 
-->
 
{| style="width:100%;"
 
{| style="width:100%;"
| colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box2-fa-title}}}&nbsp;— [[{{FeaturedArticle{{if lang}}|type=name}}|{{FeaturedArticle{{if lang}}|type=display}}]]</div>
+
| colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box2-fa-title}}}&nbsp;— {{{box2-fa-article|[[{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=name}}|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=display}}]]}}}</div>
 
|-
 
|-
| style="padding:10px;" | {{FeaturedArticle{{if lang}}|type=text}}
+
| style="padding:10px;" | {{{box2-fa-description|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=text}}}}}
| style="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}}
+
| style="width:auto;" | {{{box2-fa-image|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=image}}}}}
 
<!-- Clear image being float:right -->
 
<!-- Clear image being float:right -->
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
Line 202: Line 201:
 
{| style="width:100%;"
 
{| style="width:100%;"
 
! style="font-size:95%; padding:10px;" colspan="2" | {{{box2-fa-links|<!--  
 
! style="font-size:95%; padding:10px;" colspan="2" | {{{box2-fa-links|<!--  
   -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!--  
+
   -->[[{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=name}}|'''''Continue reading''''']]{{n}}<!--  
 
   -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!--  
 
   -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!--  
 
   -->[[Template:FeaturedArticle|Previously featured]]
 
   -->[[Template:FeaturedArticle|Previously featured]]
Line 238: Line 237:
 
|}
 
|}
 
{| style="width:100%; background:none; border:none; padding-bottom:1px; text-align:center;" cellspacing="0" class="plainlinks"
 
{| style="width:100%; background:none; border:none; padding-bottom:1px; text-align:center;" cellspacing="0" class="plainlinks"
| <center><hr style="background:#B47128; margin-left:11px; margin-right:11px; color:none; border:none; text-align:center;" /></center>
+
| colspan=2 | <hr style="background:#B47128; color:none; border:none; text-align:center;" />
 
|-
 
|-
| style="font-size:90%; padding:4px; width:100%;" | <!--  
+
{{#ifexpr: {{#time:U|now}} < {{Updates|type=community-end}}
 +
| <!-- Event in range, show event *and* latest recipient -->
 +
{{!}} style="font-size:90%; padding:0.25em 0em; width:50%;" {{!}} <!--  
 
  -->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br />'''{{Updates|type=wiki-cap-recipient}}'''
 
  -->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br />'''{{Updates|type=wiki-cap-recipient}}'''
 +
{{!}} style="font-size:90%; padding:0.20em 0em; width:50%;" {{!}} <!--
 +
-->{{{box3-updates-text-latestcommunity|Featured community event:}}}<br />'''[{{Updates|type=community-blog}} {{Updates|type=community-title}}]''' ({{#time: {{{box3-updates-text-latestcommunity-datefmt|M d}}} | @{{Updates|type=community-start}} | {{SUBPAGENAME}}}}{{{box3-updates-text-latestcommunity-daterange| &ndash; }}}{{#time: {{{box3-updates-text-latestcommunity-datefmt|M d}}} | @{{Updates|type=community-end}} | {{SUBPAGENAME}}}})
 +
| <!-- No featured event, show cap recipient instead. -->
 +
{{!}} style="font-size:90%; padding:4px; width:100%;" {{!}} <!--
 +
-->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br />'''{{Updates|type=wiki-cap-recipient}}'''
 +
}}
 
|-
 
|-
| <center><hr style="background:#B47128; margin-left:11px; margin-right:11px; color:none; border:none; text-align:center;" /></center>
+
| colspan=2 | <hr style="background:#B47128; color:none; border:none; text-align:center;" />
 
|}
 
|}
 
|-  
 
|-  
Line 255: Line 262:
 
| colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box4-dyk-title}}}</div>
 
| colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box4-dyk-title}}}</div>
 
|-
 
|-
| style=padding:10px; | {{{box4-dyk-contents|{{Did you know main{{if lang}}}}}}}
+
| style=padding:10px; | {{{box4-dyk-contents|{{Did you know/main}}}}}
 
|}<!--
 
|}<!--
  
Line 283: Line 290:
 
   | colheaderstyle = font-size:105%;
 
   | colheaderstyle = font-size:105%;
 
   | col1header = {{{box5-wiki-title3|Team Fortress Wiki}}}
 
   | col1header = {{{box5-wiki-title3|Team Fortress Wiki}}}
   | col1 = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;}}
+
   | col1 = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;|bodystylemarginbottom=}}
 
   | col2header = {{{box5-wiki-title2|How you can help}}}
 
   | col2header = {{{box5-wiki-title2|How you can help}}}
 
   | col2 =  {{Navbox with columns
 
   | col2 =  {{Navbox with columns

Latest revision as of 16:58, 16 October 2024

English · русский · français · Deutsch · polski · português do Brasil · suomi · español · Nederlands · 中文(简体)‎ · 中文(繁體)‎
čeština · dansk · magyar · italiano · 日本語 · 한국어 · norsk · português · română · svenska · Türkçe
{{{box1-index-title}}}

{{{box2-fa-title}}} — ConTracker
The ConTracker is a Main Menu contract-tracking application that may be started by clicking the ConTracker icon on the Main Menu or by using the premium Jungle Inferno ConTracker Backpack Item to "View Contracts". The HUD may also indicate to the player which key to press to open the ConTracker to activate or turn in Contracts.

When opened, the ConTracker appears as a PDA that lets the player navigate, select, and track available Contracts, including, presently, the premium Mercenary Park Contracts of the Jungle Inferno Campaign (if the player has purchased and used the Jungle Inferno Campaign Pass or the Jungle Inferno Contracts Pass) and the free Pyroland Contracts. During Scream Fortress 2017, the application introduced the management of Halloween Contracts. Using this tool, players may browse through available Contracts, view completion rewards, select personalized Contract paths, consider both Primary and Bonus Objectives, activate Contracts, and turn in completed Contracts.

ConTracker

Continue reading – Featured article project – Previously featured
  
{{{box4-dyk-title}}}

Add a fact – More "Did you know" – Previously featured
Team Fortress Wiki

Team Fortress Wiki Statistics: 74,407 articles – 171,318 uploaded images & media – 276,728 registered users – 19,092,399 edits since June 8, 2010