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:7px; text-align:center; font-size:90%; direction: ltr !important;"
+
{| class="mp-content-table" style="margin-bottom:-5px; 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 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 282: Line 289:
 
| {{Navbox with columns | bodystyle = border: none;margin-top: 0 !important;
 
| {{Navbox with columns | bodystyle = border: none;margin-top: 0 !important;
 
   | colheaderstyle = font-size:105%;
 
   | colheaderstyle = font-size:105%;
   | col1header = {{{box5-wiki-title3|Team Fortress Wiki}}} <!-- {{#ifeq:{{FULLPAGENAME}}|Main Page|col1header|null}} = {{{box5-wiki-title|Team Fortress Wiki}}} -->
+
   | col1header = {{{box5-wiki-title3|Team Fortress Wiki}}}
   | col1 = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;}} <!-- {{#ifeq:{{FULLPAGENAME}}|Main Page|col1|null}} = {{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}}} <!-- col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}}header = {{{box5-wiki-title2|How you can help}}} -->
+
   | col2header = {{{box5-wiki-title2|How you can help}}}
   | col2 =  {{Navbox with columns <!-- col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}} = {{Navbox with columns -->
+
   | col2 =  {{Navbox with columns
 
       | border = child | fullwidth = true | colstyle = text-align: center; font-size: 105%;
 
       | border = child | fullwidth = true | colstyle = text-align: center; font-size: 105%;
 
       | col1 = {{{box5-wiki-col1|<!--  
 
       | col1 = {{{box5-wiki-col1|<!--  
Line 305: Line 312:
 
              
 
              
 
       }}
 
       }}
   | list1 = {{CentralDiscussion|child=true}} <!-- {{#ifeq:{{FULLPAGENAME}}|Main Page|list1|null}} = {{CentralDiscussion|child=true}} -->
+
   | list1 = {{CentralDiscussion|child=true}}
 
   }}
 
   }}
 
<!--
 
<!--

Latest revision as of 19:32, 29 April 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}}} — Mann vs. Machine Update
The Mann vs. Machine Update was a major content update that introduced a new co-op game mode and map. The update was announced on August 13, 2012, followed by daily reveals until its release on August 15, 2012.

In the newly added Mann vs. Machine game mode, a team of up to six players attempt to prevent a horde of AI-controlled robot versions of the mercs from carrying a bomb to their base.

Mann vs. Machine Update

Continue reading – Featured article project – Previously featured
  
{{{box4-dyk-title}}}
  • ...that the End of the Line Update update was originally supposed to include a map?
  • ...that the Administrator is voiced by Ellen McLain, who is also the voice of the character "GlaDOS" in the Portal series and the Overwatch dispatcher in the Half Life series?
  • ...that a fully charged Medic can deploy his ÜberCharge even when he isn't healing anybody?
  • ...that Engineers can climb higher with a Level 1 Sentry Gun than with a Dispenser?
  • ...that while using the Vaccinator, keeping the alternate fire button pressed maintains an ÜberCharge through all of the charges left with no interruptions in between?
  • ...that a Train can kill an ÜberCharged player?
  • ...that the inspiration for the Flare Gun came from the stock Incendiary Cannon in Team Fortress Classic and Quake Team Fortress?
  • ...that there are exactly 21 bars in the loading screen?

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

Team Fortress Wiki Statistics: 73,044 articles – 155,606 uploaded images & media – 262,615 registered users – 18,971,230 edits since June 8, 2010