Difference between revisions of "Template:Main Page layout"

From Team Fortress Wiki
Jump to: navigation, search
m (hacky twitter thingy)
m
 
(13 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%;" |
* {{#if:{{{welcome-link-bilibili|}}}|[https://space.bilibili.com/531557387 {{{welcome-link-bilibili}}}]&nbsp;&middot;&nbsp;|}}[https://www.youtube.com/user/OfficialTF2Wiki {{{welcome-link-youtube}}}]{{#if:{{{welcome-link-twitter|}}}|&nbsp;&middot;&nbsp;[https://twitter.com/OfficialTFWiki/ {{{welcome-link-twitter}}}]|}}
+
* {{#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 79: 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 188: 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;— {{{box2-fa-article|[[{{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;" | {{{box2-fa-description|{{FeaturedArticle{{if lang}}|type=text}}}}}
+
| style="padding:10px;" | {{{box2-fa-description|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=text}}}}}
| style="width:auto;" | {{{box2-fa-image|{{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 201: 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 244: Line 244:
 
  -->{{{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%;" {{!}} <!--  
 
{{!}} 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}}}})
+
  -->{{{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. -->
 
| <!-- No featured event, show cap recipient instead. -->
 
{{!}} style="font-size:90%; padding:4px; width:100%;" {{!}} <!--  
 
{{!}} style="font-size:90%; padding:4px; width:100%;" {{!}} <!--  
Line 262: 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 290: 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}}} — Soldier
The Soldier is a crazed, jingoistic patriot from Midwest, USA. Tough and well-armed, he is versatile, capable of both offense and defense, and a great starter class to get familiar with the game.

Well-balanced and possessing both survivability and mobility, the Soldier is considered one of the most flexible classes in Team Fortress 2. Despite his low ground movement speed, he is capable of using rocket jumps to reach his destination quickly. His large health pool is second only to that of the Heavy, and his wide array of armaments and weaponry allows him to bring whatever weapon or equipment is best suited to the situation at hand.

Soldier

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,438 articles – 171,499 uploaded images & media – 276,896 registered users – 19,095,560 edits since June 8, 2010