Difference between revisions of "Template:Main Page layout"
m (forums.steampowered -> steamcommunity.com) |
m (push mp fixes (boba)) |
||
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 8: | Line 8: | ||
--> __NOTOC__ | --> __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: | + | <h2 style="margin:0; margin-top:2px; border:none; font-size:95%;">{{{welcome-text-1}}}</h2> |
− | <h1 style="margin: | + | <h1 style="margin:0; font-size:162%; border:none; padding:2px; color:#000;"><strong>{{{welcome-text-title}}}</strong></h1> |
− | <h2 style="margin: | + | <h2 style="margin:0; margin-top:2px; border:none; font-size:95%;">{{{welcome-text-2}}}</h2> |
− | <h3 id="articlecount" style="margin: | + | <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 | |
--> | --> | ||
Line 39: | Line 39: | ||
|}<!-- | |}<!-- | ||
− | // | + | // LANGUAGE BANNER |
--> | --> | ||
− | {| class="mp-content-table" style="text-align:center; font-size:90%; direction: ltr !important;" | + | {| class="mp-content-table" style="margin-bottom:7px; text-align:center; font-size:90%; direction: ltr !important;" |
− | | <span style="font-size: | + | | <span style="font-size:100%;">'''[[Main Page|English]]'''<!-- |
--> '''·''' [[Main Page/ru|<span title="{{lang name|name|ru}}">{{#language:ru}}</span>]]<!-- | --> '''·''' [[Main Page/ru|<span title="{{lang name|name|ru}}">{{#language:ru}}</span>]]<!-- | ||
Line 76: | Line 76: | ||
<!-- | <!-- | ||
− | // | + | // CLASSES NAV TABLE |
-->{{Navbox | -->{{Navbox | ||
− | | bodystyle = width:100%; 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; <!-- // Manual workaround as CSS classes isn't working with Navbox --> |
| list1 = {{Navbox with columns | child | | list1 = {{Navbox with columns | child | ||
Line 86: | Line 86: | ||
| bodystyle = text-align: center; | | bodystyle = text-align: center; | ||
− | | colheaderstyle = background: #fd9; padding: | + | | colheaderstyle = background: #fd9; padding: 5px 0px 0px; |
| colstyle = text-align: center; font-size: 120%; font-weight: bold; | | colstyle = text-align: center; font-size: 120%; font-weight: bold; | ||
− | | col1header = [[File: | + | | col1header = [[File:{{Main Page class potrait|Scout}}|link=Scout{{if lang}}|84px]] |
− | | col2header = [[File: | + | | col2header = [[File:{{Main Page class potrait|Soldier}}|link=Soldier{{if lang}}|84px]] |
− | | col3header = [[File: | + | | col3header = [[File:{{Main Page class potrait|Pyro}}|link=Pyro{{if lang}}|84px]] |
− | | col4header = [[File: | + | | col4header = [[File:{{Main Page class potrait|Demoman}}|link=Demoman{{if lang}}|84px]] |
− | | col5header = [[File: | + | | col5header = [[File:{{Main Page class potrait|Heavy}}|link=Heavy{{if lang}}|84px]] |
− | | col6header = [[File: | + | | col6header = [[File:{{Main Page class potrait|Engineer}}|link=Engineer{{if lang}}|84px]] |
− | | col7header = [[File: | + | | col7header = [[File:{{Main Page class potrait|Medic}}|link=Medic{{if lang}}|84px]] |
− | | col8header = [[File: | + | | col8header = [[File:{{Main Page class potrait|Sniper}}|link=Sniper{{if lang}}|84px]] |
− | | col9header = [[File: | + | | col9header = [[File:{{Main Page class potrait|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 113: | Line 113: | ||
}}<!-- | }}<!-- | ||
− | // 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 146: | 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 168: | 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}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| col2style = font-weight: bold; background:#FEF5E0; | | col2style = font-weight: bold; background:#FEF5E0; | ||
− | | col2 = {{{col2-heading|Trending topics:}}}<br />{{{box1-index-col2|{{Trending topics}} | + | | col2 = {{{col2-heading|Trending topics:}}}<br />{{{box1-index-col2|{{Trending topics}}}}} |
− | |||
− | | col3 = {{{box1-index-col3 | + | | col3 = {{{box1-index-col3}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Line 203: | Line 185: | ||
|}<!-- | |}<!-- | ||
− | + | // FEATURED ARTICLE | |
--> | --> | ||
− | {| style=" | + | {| style="width:100%;" |
− | | colspan="2 | + | | colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box2-fa-title}}} — [[{{FeaturedArticle{{if lang}}|type=name}}|{{FeaturedArticle{{if lang}}|type=display}}]]</div> |
|- | |- | ||
− | | style="padding: | + | | style="padding:10px;" | {{FeaturedArticle{{if lang}}|type=text}} |
| style="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}} | | style="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}} | ||
<!-- Clear image being float:right --> | <!-- Clear image being float:right --> | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
− | |- | + | |}<!-- |
− | + | ||
+ | --><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|<!-- | ||
-->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!-- | -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!-- | ||
-->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!-- | -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!-- | ||
Line 228: | Line 215: | ||
| style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | <!-- | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | <!-- | ||
− | + | // LATEST UPDATES | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--> | --> | ||
− | {| class="plainlinks" style=" | + | {| class="plainlinks" style="width:100%;" |
− | | colspan="2 | + | | colspan="2" | <div class="mp-content-header-alt">{{{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 | + | | colspan="2" | |
− | {| style="width:100%; background:none; border:none | + | {| style="width:100%; padding:15px; background:none; border:none; text-align:center;" cellspacing="0" class="plainlinks"<!-- |
− | + | // The following will come from Template:Latest updates. | |
--> | --> | ||
Line 261: | Line 237: | ||
| ({{Updates|type=blog-daysago}}) | | ({{Updates|type=blog-daysago}}) | ||
|} | |} | ||
− | {| style="width:100%; background:none; border:none | + | {| 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> |
|- | |- | ||
− | | style="font-size:90%; padding: | + | | 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}}''' | -->{{{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> |
|} | |} | ||
|- | |- | ||
− | | | + | | style=padding:10px; colspan=2 | {{{box3-updates-contents|{{Current Events{{if lang}}}}}}} |
− | |}<!-- | + | |} <!-- |
− | + | // DID YOU KNOW | |
--> | --> | ||
− | {| style=" | + | {| style="width:100%;" |
− | | colspan="2 | + | | colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box4-dyk-title}}}</div> |
|- | |- | ||
− | | style= | + | | style=padding:10px; | {{{box4-dyk-contents|{{Did you know main{{if lang}}}}}}} |
− | |- | + | |}<!-- |
− | + | ||
+ | --><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" | {{{box4-dyk-links|<!-- | ||
-->[[Help:Did you know|Add a fact]]{{n}}<!-- | -->[[Help:Did you know|Add a fact]]{{n}}<!-- | ||
-->[[Template:Did you know|More "Did you know"]]{{n}}<!-- | -->[[Template:Did you know|More "Did you know"]]{{n}}<!-- | ||
Line 293: | Line 274: | ||
// 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%; | ||
− | | {{#ifeq:{{FULLPAGENAME}}|Main Page|col1header|null}} = {{{box5-wiki-title|Team Fortress Wiki}}} | + | | col1header = {{{box5-wiki-title|Team Fortress Wiki}}} <!-- {{#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;}} | + | | 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;}} --> |
− | + | | col2header = {{{box5-wiki-title2|How you can help}}} <!-- col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}}header = {{{box5-wiki-title2|How you can help}}} --> | |
− | | col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}}header = {{{box5-wiki-title2|How you can help}}} | + | | col2 = {{Navbox with columns <!-- col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}} = {{Navbox with columns --> |
− | | col{{#ifeq:{{FULLPAGENAME}}|Main Page|2|1}} = {{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 325: | Line 305: | ||
}} | }} | ||
− | | {{#ifeq:{{FULLPAGENAME}}|Main Page|list1|null}} = {{CentralDiscussion|child=true}} | + | | list1 = {{CentralDiscussion|child=true}} <!-- {{#ifeq:{{FULLPAGENAME}}|Main Page|list1|null}} = {{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}}<!-- | ||
Line 337: | Line 322: | ||
|}<!-- | |}<!-- | ||
− | + | // 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 347: | Line 332: | ||
|}<!-- | |}<!-- | ||
− | // | + | // 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}} [ | + | | © 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. |
|}<!-- | |}<!-- | ||
Revision as of 14:23, 6 November 2020
![]() | 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: 75,403 articles – 177,906 uploaded images & media – 282,213 registered users – 19,154,822 edits since June 8, 2010 |
{{{box6-vwn-title}}} | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
© 2010–2025 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. |