Difference between revisions of "Template:Main Page (Classic) layout"
m |
|||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Ambox | style = width: 100%; margin: | + | <noinclude>{{Ambox|style=width:100%; margin:0px 0px 0px;|image=Warning blue.png|type=notice-2 |
− | | contents = '''To use this template please see the [[Template talk:Main Page layout|talk page]].''' | + | | contents='''To use this template please see the [[Template talk:Main Page layout|talk page]].''' |
}}[[Category:Main Page| ]]</noinclude><!-- | }}[[Category:Main Page| ]]</noinclude><!-- | ||
Line 7: | Line 7: | ||
// WELCOME BANNER TABLE | // WELCOME BANNER TABLE | ||
− | --> | + | --> __NOTOC__ |
− | {| class="mp-content-table plainlinks" style="margin: | + | {| class="mp-content-table plainlinks" style="margin-top:7px; margin-bottom:7px;" |
| style="width:61%; color:#000;" |<!-- | | style="width:61%; color:#000;" |<!-- | ||
− | + | // WELCOME BANNER MINI-TABLE | |
--> | --> | ||
{| style="width:350px; border:none; background:none;" | {| style="width:350px; border:none; background:none;" | ||
| style="width:350px; text-align:center; white-space:nowrap; color:#000;" | | | 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 --> | | 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}}}] | * [http://www.teamfortress.com/ {{{welcome-link-website}}}] | ||
− | * [ | + | * [https://steamcommunity.com/app/20/discussions {{{welcome-link-forum}}}] |
− | * [[Patches | + | * [[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}}}] · |}}[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}}}]] | * [[Team Fortress Wiki:Discussion|{{{welcome-link-discussion}}}]] | ||
| style="width:13%; font-size:95%;" | | | style="width:13%; font-size:95%;" | | ||
* '''[[Special:UserLogin|{{{welcome-link-register}}}]]''' | * '''[[Special:UserLogin|{{{welcome-link-register}}}]]''' | ||
− | * [[Team Fortress Wiki:Tasks|{{{welcome-link-helpout}}}]] | + | * [[:Team Fortress Wiki:Tasks|{{{welcome-link-helpout}}}]] |
* [[Help:Language translation|{{{welcome-link-translate}}}]] | * [[Help:Language translation|{{{welcome-link-translate}}}]] | ||
|}<!-- | |}<!-- | ||
− | // | + | // LANGUAGE BANNER |
--> | --> | ||
− | {| class="mp-content-table" style="text-align:center; font-size:90%;" | + | {| class="mp-content-table" style="margin-bottom:-5px; text-align:center; font-size:90%; direction: ltr !important;" |
− | | '''[[Main Page (Classic)|English]]'''<!-- | + | | <span style="font-size:100%;">'''[[Main Page (Classic)|English]]'''<!-- |
− | + | --> '''·''' [[Main Page (Classic)/ru|<span title="{{lang name|name|ru}}">{{#language:ru}}</span>]]<!-- | |
+ | --> '''·''' [[Main Page (Classic)/fr|<span title="{{lang name|name|fr}}">{{#language:fr}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/de|<span title="{{lang name|name|de}}">{{#language:de}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/pl|<span title="{{lang name|name|pl}}">{{#language:pl}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/pt-br|<span title="{{lang name|name|pt-br}}">{{#language:pt-br}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/fi|<span title="{{lang name|name|fi}}">{{#language:fi}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/es|<span title="{{lang name|name|es}}">{{#language:es}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/nl|<span title="{{lang name|name|nl}}">{{#language:nl}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/zh-hans|<span title="{{lang name|name|zh-hans}}">{{#language:zh-hans}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/zh-hant|<span title="{{lang name|name|zh-hant}}">{{#language:zh-hant}}</span>]]<!-- | ||
+ | |||
+ | --></span><br /><!-- | ||
+ | |||
+ | -->[[Main Page (Classic)/cs|<span title="{{lang name|name|cs}}">{{#language:cs}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/da|<span title="{{lang name|name|da}}">{{#language:da}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/hu|<span title="{{lang name|name|hu}}">{{#language:hu}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/it|<span title="{{lang name|name|it}}">{{#language:it}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/ja|<span title="{{lang name|name|ja}}">{{#language:ja}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/ko|<span title="{{lang name|name|ko}}">{{#language:ko}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/no|<span title="{{lang name|name|no}}">{{#language:no}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/pt|<span title="{{lang name|name|pt}}">{{#language:pt}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/ro|<span title="{{lang name|name|ro}}">{{#language:ro}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/sv|<span title="{{lang name|name|sv}}">{{#language:sv}}</span>]]<!-- | ||
+ | --> '''·''' [[Main Page (Classic)/tr|<span title="{{lang name|name|tr}}">{{#language:tr}}</span>]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
− | |||
<!-- | <!-- | ||
− | // | + | // CLASSES NAV TABLE |
-->{{Navbox | -->{{Navbox | ||
− | | bodystyle = width:100%; text-align:center; font-size:90%; border:1px solid # | + | | 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 | | list1 = {{Navbox with columns | child | ||
Line 81: | Line 84: | ||
| bodystyle = text-align: center; | | bodystyle = text-align: center; | ||
− | | colheaderstyle = | + | | colheaderstyle = background: #F0EAD6; padding: 5px 0px 0px; |
| colstyle = text-align: center; font-size: 120%; font-weight: bold; | | colstyle = text-align: center; font-size: 120%; font-weight: bold; | ||
Line 107: | Line 110: | ||
}} | }} | ||
− | |||
− | |||
− | // BEGIN | + | }}<!-- |
+ | |||
+ | // BEGIN INDEX | ||
--> | --> | ||
− | {| style="width:100%; background:none; border:none | + | {| 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:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | | ||
− | {| style=" | + | {| style="width:100%;" |
| <div class="mp-content-header-alt">{{{box1-index-title}}}</div> | | <div class="mp-content-header-alt">{{{box1-index-title}}}</div> | ||
|- | |- | ||
− | + | |<!-- | |
− | + | // INDEX TOP ROW | |
-->{{Navbox with columns | border = none | fullwidth = true | -->{{Navbox with columns | border = none | fullwidth = true | ||
− | | bodystyle = background: none; border: none; padding-bottom: | + | | bodystyle = background: none; border: none; padding-bottom: 1px; margin-top:7px; |
| colheaderstyle = text-align: center; background: none; | | colheaderstyle = text-align: center; background: none; | ||
| colstyle = text-align: center; font-size: 110%; font-weight:bold; | | colstyle = text-align: center; font-size: 110%; font-weight:bold; | ||
− | |||
| colwidth = 33%<!-- | | colwidth = 33%<!-- | ||
− | |||
− | |||
--> | --> | ||
Line 143: | Line 143: | ||
}}<!-- | }}<!-- | ||
− | + | // INDEX BOTTOM ROW | |
-->{{Navbox with columns | border = none | fullwidth = true | -->{{Navbox with columns | border = none | fullwidth = true | ||
− | | bodystyle = background:none; border:none; padding-top: | + | | bodystyle = background:none; border:none; padding-top:1px; padding-bottom:1px; |
| colheaderstyle = text-align: center; background: none; | | colheaderstyle = text-align: center; background: none; | ||
| colstyle = text-align: center; font-size: 110%; font-weight:bold; | | colstyle = text-align: center; font-size: 110%; font-weight:bold; | ||
Line 165: | Line 165: | ||
}}<!-- | }}<!-- | ||
− | + | // INDEX POPULAR TOPICS | |
+ | |||
+ | --><center><hr style="background:#B47128; margin-left:11px; margin-right:11px; color:none; border:none; text-align:center;" /></center><!-- | ||
-->{{Navbox with columns | border = none | fullwidth = true | -->{{Navbox with columns | border = none | fullwidth = true | ||
− | | bodystyle = background:none; border:none | + | | bodystyle = background:none; border:none; |
| colheaderstyle = text-align: center; | | colheaderstyle = text-align: center; | ||
| colstyle = text-align: center; font-size: 110%; | | colstyle = text-align: center; font-size: 110%; | ||
− | | col1 = {{{box1-index-col1 | + | | col1 = {{{box1-index-col1}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | | col2 = {{{box1-index-col2}}} | |
− | | col2 = {{{box1-index-col2 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | col3 = {{{box1-index-col3 | + | | col3 = {{{box1-index-col3}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Line 211: | Line 188: | ||
--> | --> | ||
| | | | ||
− | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | <!-- | + | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | <!-- |
− | + | // FEATURED ARTICLE | |
--> | --> | ||
− | {| style=" | + | {| style="width:100%;" |
− | | colspan="2 | + | | colspan="2" | <div class="mp-content-header-alt">{{{box2-fa-title}}} — [[{{FeaturedArticleClassic/article/{{FeaturedArticleClassic/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=name}}|{{FeaturedArticleClassic/article/{{FeaturedArticleClassic/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=display}}]]</div> |
|- | |- | ||
− | | style="padding: | + | | style="padding:10px;" | {{FeaturedArticleClassic/article/{{FeaturedArticleClassic/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=text}} |
− | | style="width:auto;" | {{{ | + | | style="width:auto;" | {{FeaturedArticleClassic/article/{{FeaturedArticleClassic/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=image}} |
− | |- | + | <!-- Clear image being float:right --> |
− | + | <div style="clear: both;"></div> | |
− | -->[[{{{ | + | |}<!-- |
− | -->[[Team Fortress Wiki:Featured articles|Featured article project]] | + | |
+ | --><center><hr style="background:#B47128; margin-left:3px; margin-right:3px; margin-bottom:-3px; color:none; border:none; text-align:center;" /></center><!-- | ||
+ | |||
+ | --> | ||
+ | {| style="width:100%;" | ||
+ | ! style="font-size:95%; padding:10px;" colspan="2" | {{{box2-fa-links|<!-- | ||
+ | -->[[{{FeaturedArticleClassic/article/{{FeaturedArticleClassic/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=name}}|'''''Continue reading''''']]{{n}}<!-- | ||
+ | -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!-- | ||
+ | -->[[Template:FeaturedArticleClassic|Previously featured]] | ||
}}} | }}} | ||
|- | |- | ||
|} | |} | ||
− | |||
|}<!-- | |}<!-- | ||
// END COLUMNS TABLE | // END COLUMNS TABLE | ||
− | // | + | // TEAM FORTRESS WIKI |
--> | --> | ||
− | {| class="mp-content-table" style=" | + | {| class="mp-content-table" style="margin-bottom:7px;" |
! class="mp-content-header" | {{{box5-wiki-title|Team Fortress Wiki}}} | ! class="mp-content-header" | {{{box5-wiki-title|Team Fortress Wiki}}} | ||
|- | |- | ||
− | + | | {{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}}} | |
− | + | | col1 = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;|bodystylemarginbottom=}} | |
− | + | | col2header = {{{box5-wiki-title2|How you can help}}} | |
− | | | + | | 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 265: | Line 248: | ||
}} | }} | ||
− | + | | list1 = {{CentralDiscussion|child=true}} | |
}} | }} | ||
+ | <!-- | ||
+ | |||
+ | --><center><hr style="background:#B47128; margin-bottom:-3px; width:100%; color:none; border:none; text-align:center;" /></center><!-- | ||
+ | |||
+ | --> | ||
|- | |- | ||
− | | style="font-size:95%; padding: | + | | style="font-size:95%; padding:10px; margin-top:1px; text-align:center;" | {{{box5-wiki-statistics|'''[[Special:Statistics|Team Fortress Wiki Statistics]]''': <!-- |
-->{{NUMBEROFARTICLES}} [[Special:AllPages|articles]]{{n}}<!-- | -->{{NUMBEROFARTICLES}} [[Special:AllPages|articles]]{{n}}<!-- | ||
-->{{NUMBEROFFILES}} [[:Category:Images|uploaded images & media]]{{n}}<!-- | -->{{NUMBEROFFILES}} [[:Category:Images|uploaded images & media]]{{n}}<!-- | ||
− | -->{{NUMBEROFUSERS}} [[Special: | + | -->{{NUMBEROFUSERS}} [[Special:ListUsers|registered users]]{{n}}<!-- |
-->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since June 8, 2010 | -->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since June 8, 2010 | ||
}}} | }}} | ||
Line 277: | Line 265: | ||
|}<!-- | |}<!-- | ||
− | + | // VALVE WIKI NETWORK | |
− | + | // The following will come from {{VWN}}. | |
--> | --> | ||
− | {| class="mp-content-table plainlinks" | + | {| class="mp-content-table plainlinks" style="margin-bottom:7px;" |
! class="mp-content-header" colspan="5" | {{{box6-vwn-title}}} | ! class="mp-content-header" colspan="5" | {{{box6-vwn-title}}} | ||
|- | |- | ||
Line 287: | Line 275: | ||
|}<!-- | |}<!-- | ||
− | // | + | // COPYRIGHT |
--> | --> | ||
{| class="mp-content-table plainlinks" style="border:1px solid #aaa; margin:0; text-align:center; font-size:90%;" | {| class="mp-content-table 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. |
|}<!-- | |}<!-- | ||
Line 298: | Line 286: | ||
--><includeonly>{{#if:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}|{{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}}}|}}<!-- | --><includeonly>{{#if:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}|{{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}}}|}}<!-- | ||
− | -->{{lang cat|Team Fortress Classic|sort= }}{{lang cat|Main Page (Classic)|sort= }}</includeonly> | + | -->{{lang cat|Team Fortress Classic|sort= }}{{lang cat|Main Page (Classic)|sort= }} |
+ | </includeonly> |
Latest revision as of 19:31, 29 April 2024
To use this template please see the talk page. |
|
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 |
|
|
Team Fortress Wiki | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
Team Fortress Wiki Statistics: 74,809 articles – 174,557 uploaded images & media – 278,065 registered users – 19,113,158 edits since June 8, 2010 |
{{{box6-vwn-title}}} | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
© 2010–2024 Valve Corporation. All rights reserved. All trademarks are property of their respective owners in the US and other countries. See Terms of Use for details. |