|
|
(26 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <noinclude>{{Ambox|style=width:100%; margin:0 0 0; | image=Warning blue.png | type=notice-2
| + | [[/Unusual|Unusual pages]] |
− | | contents='''To use this template please see the [[Template talk:Main Page layout|talk page]].'''
| |
− | }}[[Category:Main Page| ]]</noinclude><!--
| |
| | | |
− | // BEGIN MAIN PAGE LAYOUT TEMPLATE
| + | [[/War Paint|War Paint pages]] |
− | | |
− | // WELCOME BANNER TABLE
| |
− | | |
− | --> __NOTOC__
| |
− | {| class="mp-content-table-boba plainlinks" style="margin-top:7px; margin-bottom:7px;"
| |
− | | style="width:61%; color:#000;" |<!--
| |
− | | |
− | // WELCOME BANNER MINI-TABLE
| |
− | | |
− | -->
| |
− | {| style="width:350px; border:none; background:none;"
| |
− | | style="width:350px; text-align:center; white-space:nowrap; color:#000;" |
| |
− | <h2 style="margin:0; margin-top:2px; border:none; font-size:95%;">{{{welcome-text-1}}}</h2>
| |
− | <h1 style="margin:0; font-size:162%; border:none; padding:2px; color:#000;"><strong>{{{welcome-text-title}}}</strong></h1>
| |
− | <h2 style="margin:0; margin-top:2px; border:none; font-size:95%;">{{{welcome-text-2}}}</h2>
| |
− | <h3 id="articlecount" style="margin:0px; width:100%; text-align:center; font-size:85%; font-weight: normal;">{{{welcome-text-3}}}</h3>
| |
− | |}<!--
| |
− | | |
− | // WELCOME BANNER LINK LIST
| |
− | | |
− | -->
| |
− | | 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://steamcommunity.com/app/440/discussions {{{welcome-link-forum}}}]
| |
− | * [[Patches{{if lang}}|{{{welcome-link-updates}}}]]
| |
− | | style="width:13%; font-size:95%;" |
| |
− | * [https://www.youtube.com/user/OfficialTF2Wiki {{{welcome-link-youtube}}}]
| |
− | * [{{{welcome-link-steam-url|https://steamcommunity.com/groups/OTFWiki}}} {{{welcome-link-steam}}}]
| |
− | * [[Team Fortress Wiki:Discussion|{{{welcome-link-discussion}}}]]
| |
− | | style="width:13%; font-size:95%;" |
| |
− | * '''[[Special:UserLogin|{{{welcome-link-register}}}]]'''
| |
− | * [[:Team Fortress Wiki:Tasks|{{{welcome-link-helpout}}}]]
| |
− | * [[Help:Language translation|{{{welcome-link-translate}}}]]
| |
− | |}<!--
| |
− | | |
− | // LANGUAGE BANNER
| |
− | | |
− | -->
| |
− | {| class="mp-content-table-boba" style="margin-bottom:7px; text-align:center; font-size:90%; direction: ltr !important;"
| |
− | | <span style="font-size:100%;">'''[[Main Page|English]]'''<!--
| |
− | | |
− | --> '''·''' [[Main Page/ru|<span title="{{lang name|name|ru}}">{{#language:ru}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/fr|<span title="{{lang name|name|fr}}">{{#language:fr}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/de|<span title="{{lang name|name|de}}">{{#language:de}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/pl|<span title="{{lang name|name|pl}}">{{#language:pl}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/pt-br|<span title="{{lang name|name|pt-br}}">{{#language:pt-br}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/fi|<span title="{{lang name|name|fi}}">{{#language:fi}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/es|<span title="{{lang name|name|es}}">{{#language:es}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/nl|<span title="{{lang name|name|nl}}">{{#language:nl}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/zh-hans|<span title="{{lang name|name|zh-hans}}">{{#language:zh-hans}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/zh-hant|<span title="{{lang name|name|zh-hant}}">{{#language:zh-hant}}</span>]]<!--
| |
− |
| |
− | --></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/da|<span title="{{lang name|name|da}}">{{#language:da}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/hu|<span title="{{lang name|name|hu}}">{{#language:hu}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/it|<span title="{{lang name|name|it}}">{{#language:it}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/ja|<span title="{{lang name|name|ja}}">{{#language:ja}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/ko|<span title="{{lang name|name|ko}}">{{#language:ko}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/no|<span title="{{lang name|name|no}}">{{#language:no}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/pt|<span title="{{lang name|name|pt}}">{{#language:pt}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/ro|<span title="{{lang name|name|ro}}">{{#language:ro}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/sv|<span title="{{lang name|name|sv}}">{{#language:sv}}</span>]]<!--
| |
− | --> '''·''' [[Main Page/tr|<span title="{{lang name|name|tr}}">{{#language:tr}}</span>]]
| |
− | | |
− | |-
| |
− | |}
| |
− | {{Main Page event}}
| |
− | <!--
| |
− | | |
− | // CLASSES NAV TABLE
| |
− | | |
− | -->{{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 -->
| |
− | | list1 = {{Navbox with columns | child
| |
− | | |
− | | bodyclass = mp-content-table-boba
| |
− | | bodystyle = text-align: center;
| |
− | | |
− | | colheaderstyle = background: #fd9;
| |
− | | colstyle = text-align: center; font-size: 120%; font-weight: bold;
| |
− | | |
− | | col1header = [[File:Class scoutred.png|link=Scout{{if lang}}|85px]]
| |
− | | col2header = [[File:Class soldierred.png|link=Soldier{{if lang}}|85px]]
| |
− | | col3header = [[File:Class pyrored.png|link=Pyro{{if lang}}|85px]]
| |
− | | col4header = [[File:Class demored.png|link=Demoman{{if lang}}|85px]]
| |
− | | col5header = [[File:Class heavyred.png|link=Heavy{{if lang}}|85px]]
| |
− | | col6header = [[File:Class engired.png|link=Engineer{{if lang}}|85px]]
| |
− | | col7header = [[File:Class medicred.png|link=Medic{{if lang}}|85px]]
| |
− | | col8header = [[File:Class sniperred.png|link=Sniper{{if lang}}|85px]]
| |
− | | col9header = [[File:Class spyred.png|link=Spy{{if lang}}|85px]]
| |
− | | |
− | | col1 = [[Scout{{if lang}}|{{{class-scout-title|{{class name|Scout}}}}}]]
| |
− | | col2 = [[Soldier{{if lang}}|{{{class-soldier-title|{{class name|Soldier}}}}}]]
| |
− | | col3 = [[Pyro{{if lang}}|{{{class-pyro-title|{{class name|Pyro}}}}}]]
| |
− | | col4 = [[Demoman{{if lang}}|{{{class-demoman-title|{{class name|Demoman}}}}}]]
| |
− | | col5 = [[Heavy{{if lang}}|{{{class-heavy-title|{{class name|Heavy}}}}}]]
| |
− | | col6 = [[Engineer{{if lang}}|{{{class-engineer-title|{{class name|Engineer}}}}}]]
| |
− | | col7 = [[Medic{{if lang}}|{{{class-medic-title|{{class name|Medic}}}}}]]
| |
− | | col8 = [[Sniper{{if lang}}|{{{class-sniper-title|{{class name|Sniper}}}}}]]
| |
− | | col9 = [[Spy{{if lang}}|{{{class-spy-title|{{class name|Spy}}}}}]]
| |
− | | |
− | }}
| |
− | | |
− | }}<!--
| |
− | | |
− | // BEGIN COLUMNS TABLE
| |
− | | |
− | -->
| |
− | {| style="width:100%; margin-bottom:7px; background:none; border:none; padding:none;" cellspacing="0" cellpadding="0"
| |
− | |-
| |
− | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" |
| |
− | {| style="width:100%;"
| |
− | | <div class="mp-content-header-alt-boba">{{{box1-index-title}}}</div>
| |
− | |-
| |
− | |<!--
| |
− | | |
− | // 3COL IMAGE LIST
| |
− | | |
− | -->{{Navbox with columns | border = none | fullwidth = true
| |
− | | bodystyle = background: none; border: none; padding-bottom: 1px;
| |
− | | colheaderstyle = text-align: center; background: none;
| |
− | | colstyle = text-align: center; font-size: 110%; font-weight:bold;
| |
− | | colwidth = 33%<!--
| |
− | | |
− | -->
| |
− | | col1header = {{{box1-index-image1}}}
| |
− | | col2header = {{{box1-index-image2}}}
| |
− | | col3header = {{{box1-index-image3}}}
| |
− | | |
− | | col1 = [[{{{box1-index-article1}}}{{if lang}}|{{{box1-index-article1title|{{{box1-index-article1}}}}}}]]
| |
− | | col2 = [[{{{box1-index-article2}}}{{if lang}}|{{{box1-index-article2title|{{{box1-index-article2}}}}}}]]
| |
− | | col3 = [[{{{box1-index-article3}}}{{if lang}}|{{{box1-index-article3title|{{{box1-index-article3}}}}}}]]
| |
− | | |
− | }}<!--
| |
− | | |
− | // 3COL IMAGE LIST *ROW 2*
| |
− | | |
− | -->{{Navbox with columns | border = none | fullwidth = true
| |
− | | bodystyle = background:none; border:none; padding-top:1px; padding-bottom:1px;
| |
− | | colheaderstyle = text-align: center; background: none;
| |
− | | colstyle = text-align: center; font-size: 110%; font-weight:bold;
| |
− | | |
− | | colwidth = 33%<!--
| |
− | | |
− | // These images are placeholders only, because the old button ones need updating.
| |
− | | |
− | -->
| |
− | | col1header = {{{box1-index-image4}}}
| |
− | | col2header = {{{box1-index-image5}}}
| |
− | | col3header = {{{box1-index-image6}}}
| |
− | | |
− | | col1 = [[{{{box1-index-article4}}}{{if lang}}|{{{box1-index-article4title|{{{box1-index-article4}}}}}}]]
| |
− | | col2 = [[{{{box1-index-article5}}}{{if lang}}|{{{box1-index-article5title|{{{box1-index-article5}}}}}}]]
| |
− | | col3 = [[{{{box1-index-article6}}}{{if lang}}|{{{box1-index-article6title|{{{box1-index-article6}}}}}}]]
| |
− | | |
− | }}<!--
| |
− | | |
− | // 3COL TEXT LIST
| |
− | | |
− | -->{{Navbox with columns | border = none | fullwidth = true
| |
− | | bodystyle = background:none; border:none; border-top: 1px solid #B47128;
| |
− | | colheaderstyle = text-align: center;
| |
− | | colstyle = text-align: center; font-size: 110%;
| |
− | | |
− | | col1 = {{{box1-index-col1|[[Achievements]]<!-- // Popular topics
| |
− | --><br />[[Team Fortress 2 Beta]]<!--
| |
− | --><br />[[Strategy]]<!--
| |
− | --><br />[[RED]]<!--
| |
− | --><br />[[BLU]]<!--
| |
− | --><br />[[List of maps]]<!--
| |
− | --><br />[[Administrator]]<!--
| |
− | --><br />[[Bots]]
| |
− | }}}
| |
− | | |
− | | col2style = font-weight: bold; background:#FEF5E0;
| |
− | | col2 = {{{col2-heading|Trending topics:}}}<br />{{{box1-index-col2|{{Trending topics}}
| |
− | }}}
| |
− | | |
− | | col3 = {{{box1-index-col3|[[Mann vs. Machine]]<!-- // Popular topics
| |
− | --><br />[[Item drop system]]<!--
| |
− | --><br />[[Scripting]]<!--
| |
− | --><br />[[Critical hits]]<!--
| |
− | --><br />[[Taunts]]<!--
| |
− | --><br />[[Item quality]]<!--
| |
− | --><br />[[Classes]]<!--
| |
− | --><br />[[Movies]]
| |
− | }}}
| |
− | }}
| |
− | |-
| |
− | |}<!--
| |
− | | |
− | // FEATURED ARTICLE
| |
− | | |
− | -->
| |
− | {| style="width:100%;"
| |
− | | colspan="2" | <div class="mp-content-header-alt-boba">{{{box2-fa-title}}} — [[{{FeaturedArticle{{if lang}}|type=name}}|{{FeaturedArticle{{if lang}}|type=display}}]]</div>
| |
− | |-
| |
− | | <div style="padding:10px;"> {{FeaturedArticle{{if lang}}|type=text}}
| |
− | | style="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}}
| |
− | <!-- Clear image being float:right -->
| |
− | <div style="clear: both;"></div>
| |
− | |-
| |
− | ! style="font-size:95%; border-top:1px solid #B47128;" colspan="2" | {{{box2-fa-links|<!--
| |
− | -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!--
| |
− | -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!--
| |
− | -->[[Template:FeaturedArticle|Previously featured]]
| |
− | </div>}}}
| |
− | |-
| |
− | |}<!--
| |
− | | |
− | // BEGIN RIGHT COLUMN
| |
− | | |
− | -->
| |
− | |
| |
− | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | <!--
| |
− | | |
− | // UPDATE FEED
| |
− | | |
− | -->{{Update feed
| |
− | | box-updatefeed-title = {{{box-updatefeed-title|The [[Mann vs. Machine]] Feed}}}
| |
− | | box-updatefeed-day1 = {{{box-updatefeed-day1|Day 1}}}
| |
− | | box-updatefeed-day2 = {{{box-updatefeed-day2|Day 2}}}
| |
− | | box-updatefeed-day3 = {{{box-updatefeed-day3|Day 3}}}
| |
− | | box-updatefeed-day4 = {{{box-updatefeed-day4|Day 4}}}
| |
− | | box-updatefeed-day5 = {{{box-updatefeed-day5|Day 5}}}
| |
− | }}<!--
| |
− | | |
− | // LATEST UPDATES
| |
− | | |
− | -->
| |
− | {| class="plainlinks" style="width:100%;"
| |
− | | colspan="2" | <div class="mp-content-header-alt-boba">{{{box3-updates-title}}}<div style="float:right;">[[File:Full Moon {{If full moon}} sml.png|30x30px|link=Full Moon{{if lang}}|{{{full-moon-icon-alt|Moon status}}}]]</div></div>
| |
− | |-
| |
− | | colspan="2" |
| |
− | {| style="width:100%; background:none; border:none; text-align:center;" cellspacing="0" class="plainlinks"<!--
| |
− | | |
− | // The following will come from Template:Latest updates.
| |
− | | |
− | -->
| |
− | |- style="font-size:100%;"
| |
− | ! width="50%" | {{{box3-updates-text-latestpatch|Latest patch}}}
| |
− | ! width="50%" | {{{box3-updates-text-latestblog|Latest blog}}}
| |
− | |- style="font-size:110%;"
| |
− | ! {{Updates|type=patch}}
| |
− | ! {{Updates|type=blog}}
| |
− | |- style="font-size:95%; {{#ifeq:{{Updates|type=patch-daysago}}{{Updates|type=blog-daysago}}{{Updates|type=patch-beta-daysago}} | {{ns:0}} | display:none; }}"
| |
− | | ({{Updates|type=patch-daysago}})
| |
− | | ({{Updates|type=blog-daysago}})
| |
− | |}
| |
− | {| style="width:100%; background:none; border:none; padding-bottom:1px; text-align:center;" cellspacing="0" class="plainlinks"
| |
− | | colspan=2 | <hr style="background:#B47128; color:none; border:none; text-align:center;" />
| |
− | |-
| |
− | | style="font-size:90%; 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}}'''
| |
− | |-
| |
− | | colspan=2 | <hr style="background:#B47128; color:none; border:none; text-align:center;" />
| |
− | |}
| |
− | |-
| |
− | | colspan="2" | {{{box3-updates-contents|{{Current Events{{if lang}}}}}}}
| |
− | |} <!--
| |
− | | |
− | // DID YOU KNOW
| |
− | | |
− | -->
| |
− | {| style="width:100%;"
| |
− | | colspan="2" | <div class="mp-content-header-alt-boba">{{{box4-dyk-title}}}</div>
| |
− | |-
| |
− | | {{{box4-dyk-contents|{{Did you know main{{if lang}}}}}}}
| |
− | |-
| |
− | ! style="font-size:95%; border-top:1px solid #B47128;" colspan="2" | {{{box4-dyk-links|<!--
| |
− | -->[[Help:Did you know|Add a fact]]{{n}}<!--
| |
− | -->[[Template:Did you know|More "Did you know"]]{{n}}<!--
| |
− | -->[[Previously featured facts|Previously featured]]
| |
− | }}}
| |
− | |-
| |
− | |}
| |
− | |-
| |
− | |}<!--
| |
− | | |
− | // END COLUMNS TABLE
| |
− | | |
− | // BEGIN TEAM FORTRESS WIKI
| |
− | | |
− | -->
| |
− | {| class="mp-content-table-boba" style="margin:0; margin-bottom:7px;"
| |
− | ! class="mp-content-header-boba" | {{{box5-wiki-title|Team Fortress Wiki}}}
| |
− | |-
| |
− | | {{Navbox with columns | bodystyle = border: none;
| |
− | | colheaderstyle = font-size:105%;
| |
− | | {{#ifeq:{{FULLPAGENAME}}|Main Page|col1header|null}} = {{{box5-wiki-title|Team Fortress Wiki}}}
| |
− | | {{#ifeq:{{FULLPAGENAME}}|Main Page|col1|null}} = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;}}
| |
− | | |
− | | col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}}header = {{{box5-wiki-title2|How you can help}}}
| |
− | | col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}} = {{Navbox with columns
| |
− | | border = child | fullwidth = true | colstyle = text-align: center; font-size: 105%;
| |
− | | col1 = {{{box5-wiki-col1|<!--
| |
− | -->[[Help:Language translation|'''Translating''']]<br /><!--
| |
− | -->[[Help:Contents|Editing]]<br /><!--
| |
− | -->[[:Category:Articles marked for cleanup|Cleanup articles]]<br /><!--
| |
− | -->[[:Category:Out of date pages|Update out-of-date pages]]<br /><!--
| |
− | -->[[:Category:Stubs|Expand stubs]]<br /><!--
| |
− | -->[[:Category:Images that need improving|Improve bad images]]
| |
− | }}}
| |
− | | |
− | | col2 = {{{box5-wiki-col2|<!--
| |
− | -->[[Help:Style guide|'''Style guide''']]<br /><!--
| |
− | -->[[Team Fortress Wiki:Policies|Editing guidelines]]<br /><!--
| |
− | -->[[Team Fortress Wiki:Images|Uploading images]]<br /><!--
| |
− | -->[[Team Fortress Wiki:Licensing images|Licensing restrictions]]<br /><!--
| |
− | -->[[Help:Group rights|Administrators]]
| |
− | }}}
| |
− |
| |
− | }}
| |
− | | {{#ifeq:{{FULLPAGENAME}}|Main Page|list1|null}} = {{CentralDiscussion|child=true}}
| |
− | }}
| |
− | |-
| |
− | | style="font-size:95%; border-top:1px solid #B47128; margin-top:1px; text-align:center;" | {{{box5-wiki-statistics|'''[[Special:Statistics|Team Fortress Wiki Statistics]]''': <!--
| |
− | -->{{NUMBEROFARTICLES}} [[Special:AllPages|articles]]{{n}}<!--
| |
− | -->{{NUMBEROFFILES}} [[:Category:Images|uploaded images & media]]{{n}}<!--
| |
− | -->{{NUMBEROFUSERS}} [[Special:ListUsers|registered users]]{{n}}<!--
| |
− | -->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since June 8, 2010
| |
− | }}}
| |
− | |-
| |
− | |}<!--
| |
− | | |
− | // VALVE WIKI NETWORK
| |
− | // The following will come from {{VWN}}.
| |
− | | |
− | -->
| |
− | {| class="mp-content-table-boba plainlinks" style="margin-bottom:7px;"
| |
− | ! class="mp-content-header-boba" colspan="5" | {{{box6-vwn-title}}}
| |
− | |-
| |
− | | style="padding:0;" | {{VWN|child=true}}
| |
− | |}<!--
| |
− | | |
− | // COPYRIGHT
| |
− | | |
− | -->
| |
− | {| class="mp-content-table-boba plainlinks" style="border:1px solid #aaa; margin:0; text-align:center; font-size:90%;"
| |
− | | © 2010–{{CURRENTYEAR}} [https://www.valvesoftware.com/ Valve Corporation]. All rights reserved. All trademarks are property of their respective owners in the US and other countries. See [[Team Fortress Wiki:Terms of Use|Terms of Use]] for details.
| |
− | |}<!--
| |
− | | |
− | // MAIN PAGE CATEGORIES
| |
− | // DISPLAYTITLE
| |
− | | |
− | --><includeonly>{{#if:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}|{{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}}}|}}<!--
| |
− | -->{{lang cat|Main|sort= }}{{lang cat|Main Page|sort= }}
| |
− | </includeonly>
| |