Difference between revisions of "User:Picard/Maintenance/Main Page layout"
(Created page with '{{Main Page layout | welcome-text-1 = Welcome to the | welcome-text-title = Official Team Fortress Wiki | welcome-text-2 = the official resource for the ''Team Fortress''…') |
|||
Line 1: | Line 1: | ||
− | {{Main Page layout | + | <noinclude>{{Ambox | style = width: 100%; margin: 0.5em 0; | image = Warning blue.png | type = notice-2 |
+ | | contents = '''To use this template please see the [[Template talk:Main Page layout|talk page]].''' | ||
+ | }}[[Category:Main Page| ]]</noinclude><!-- | ||
− | + | // BEGIN MAIN PAGE LAYOUT TEMPLATE | |
− | |||
− | |||
− | |||
− | + | // WELCOME BANNER TABLE | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | --> | |
− | + | {| class="mp-content-table plainlinks" style="margin:1.2em 0 0.5em 0;" | |
− | + | | style="width:61%; color:#000;" |<!-- | |
− | |||
− | + | // WELCOME TEXT MINI-TABLE | |
− | |||
− | |||
− | + | --> | |
− | + | {| style="width:350px; border:none; background:none;" | |
− | + | | style="width:350px; text-align:center; white-space:nowrap; color:#000;" | | |
+ | <div style="top:+0.2em; font-size:95%;">{{{welcome-text-1}}}</div> | ||
+ | <div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">'''{{{welcome-text-title}}}'''</div> | ||
+ | <div style="top:+0.2em; font-size:95%;">{{{welcome-text-2}}}</div> | ||
+ | <div id="articlecount" style="width:100%; text-align:center; font-size:85%;">{{{welcome-text-3}}}</div> | ||
+ | |}<!-- | ||
− | + | // BANNER LIST ITEMS | |
− | |||
− | |||
− | + | --> | |
− | + | | 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://forums.steampowered.com/forums/forumdisplay.php?f=80 {{{welcome-link-forum}}}] | ||
+ | * [[Patches{{if lang}}|{{{welcome-link-updates}}}]] | ||
+ | | style="width:13%; font-size:95%;" | | ||
+ | * [http://www.youtube.com/officialtf2wiki {{{welcome-link-youtube}}}] | ||
+ | * [http://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}}}]]''' | ||
+ | * [[:Category:ToDo|{{{welcome-link-helpout}}}]] | ||
+ | * [[Help:Language translation|{{{welcome-link-translate}}}]] | ||
+ | |}<!-- | ||
− | + | // LANGUAGES | |
− | |||
− | |||
− | + | --> | |
+ | {| class="mp-content-table" style="text-align:center; font-size:90%;" | ||
+ | | '''[[Main Page|English]]'''<!-- | ||
+ | |||
+ | // 16 MOST UP TO DATE LANGUAGES | ||
+ | |||
+ | --> '''·''' [[Main Page/cs|{{#language:cs}}]]<!-- | ||
+ | --> '''·''' [[Main Page/de|{{#language:de}}]]<!-- | ||
+ | --> '''·''' [[Main Page/es|{{#language:es}}]]<!-- | ||
+ | --> '''·''' [[Main Page/fr|{{#language:fr}}]]<!-- | ||
+ | --> '''·''' [[Main Page/hu|{{#language:hu}}]]<!-- | ||
+ | --> '''·''' [[Main Page/it|{{#language:it}}]]<!-- | ||
+ | --> '''·''' [[Main Page/ja|{{#language:ja}}]]<!-- | ||
+ | --> '''·''' [[Main Page/nl|{{#language:nl}}]]<!-- | ||
+ | --> '''·''' [[Main Page/no|{{#language:no}}]]<!-- | ||
+ | --> '''·''' [[Main Page/pl|{{#language:pl}}]]<!-- | ||
+ | --> '''·''' [[Main Page/pt|{{#language:pt}}]]<!-- | ||
+ | --> '''·''' [[Main Page/pt-br|{{#language:pt-br}}]]<!-- | ||
+ | --> '''·''' [[Main Page/ro|{{#language:ro}}]]<!-- | ||
+ | --> '''·''' [[Main Page/ru|{{#language:ru}}]]<!-- | ||
+ | --> '''·''' [[Main Page/sv|{{#language:sv}}]]<!-- | ||
+ | --> '''·''' [[Main Page/zh-hans|{{#language:zh-hans}}]]<!-- | ||
+ | --> '''·''' [[Main Page/zh-hant|{{#language:zh-hant}}]] | ||
+ | |- | ||
+ | |}<!-- | ||
+ | |||
+ | // BEGIN CLASS NAV TABLE | ||
+ | |||
+ | -->{{Navbox | ||
+ | |||
+ | | bodystyle = width:100%; 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 | ||
+ | | bodystyle = text-align: center; | ||
+ | |||
+ | | colheaderstyle = padding: 0.5em; background: #fd9; padding: 0.5em 0; | ||
+ | | 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%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0" | ||
+ | |- | ||
+ | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | | ||
+ | {| style="padding:0.5em; width:100%;" | ||
+ | | <div class="mp-content-header-alt">{{{box1-index-title}}}</div> | ||
+ | |- | ||
+ | | style="padding:0.5em;" | <!-- | ||
+ | |||
+ | // 3COL IMAGE LIST | ||
+ | |||
+ | -->{{Navbox with columns | border = none | fullwidth = true | ||
+ | | bodystyle = background: none; border: none; padding-bottom: 0.75em; | ||
+ | | 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-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:0.75em; padding-bottom:0.5em; | ||
+ | | 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; padding-top: 0.25em; | ||
+ | | colheaderstyle = text-align: center; | ||
+ | | colstyle = text-align: center; font-size: 110%; | ||
+ | |||
+ | | col1 = {{{box1-index-col1|[[Achievements]]<br /><!-- | ||
-->[[Game Modes]]<br /><!-- | -->[[Game Modes]]<br /><!-- | ||
-->[[Strategy]]<br /><!-- | -->[[Strategy]]<br /><!-- | ||
Line 49: | Line 174: | ||
-->[[Administrator]]<br /><!-- | -->[[Administrator]]<br /><!-- | ||
-->[[Bots]] | -->[[Bots]] | ||
+ | }}} | ||
− | + | | col2style = font-weight: bold; | |
− | + | | col2 = {{{box1-index-col2|[[Golden Wrench]]<br /><!-- | |
− | |||
-->[[Engineer]]<br /><!-- | -->[[Engineer]]<br /><!-- | ||
+ | -->[[Engineer Update]]<br /><!-- | ||
-->[[Southern Hospitality]]<br /><!-- | -->[[Southern Hospitality]]<br /><!-- | ||
-->[[Gunslinger]]<br /><!-- | -->[[Gunslinger]]<br /><!-- | ||
-->[[Polycount Pack]]<br /><!-- | -->[[Polycount Pack]]<br /><!-- | ||
− | -->[[ | + | -->[[Alien Swarm Parasite]]<br /><!-- |
+ | -->[[Wrangler]] | ||
+ | }}} | ||
− | + | | col3 = {{{box1-index-col3|[[Scripting]]<br /><!-- | |
-->[[Item Drop System]]<br /><!-- | -->[[Item Drop System]]<br /><!-- | ||
-->[[Sentry Gun]]<br /><!-- | -->[[Sentry Gun]]<br /><!-- | ||
− | -->[[Critical | + | -->[[Critical Hits]]<br /><!-- |
-->[[Taunts]]<br /><!-- | -->[[Taunts]]<br /><!-- | ||
-->[[Developer Weapons]]<br /><!-- | -->[[Developer Weapons]]<br /><!-- | ||
-->[[Classes]]<br /><!-- | -->[[Classes]]<br /><!-- | ||
-->[[Meet the Team]] | -->[[Meet the Team]] | ||
+ | }}} | ||
+ | }} | ||
+ | |- | ||
+ | |}<!-- | ||
− | + | // FEATURED ARTICLE | |
− | + | --> | |
− | + | {| style="padding:0.5em; width:100%;" | |
− | + | | colspan="2" style="margin:0.5em 0;" | <div class="mp-content-header-alt">{{{box2-fa-title}}} - [[{{FeaturedArticle{{if lang}}|type=name}}|{{FeaturedArticle{{if lang}}|type=display}}]]</div> | |
− | + | |- | |
+ | | style="padding:0.5em;" | {{FeaturedArticle{{if lang}}|type=text}} | ||
+ | | style="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}} | ||
+ | |- | ||
+ | ! style="font-size:95%; padding: 0.5em 0; border-top:1px solid #B47128; margin-top:0.5em;" colspan="2" | {{{box2-fa-links|<!-- | ||
+ | -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!-- | ||
+ | -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!-- | ||
+ | -->[[Template:FeaturedArticle|Previously featured]] | ||
+ | }}} | ||
+ | |- | ||
+ | |}<!-- | ||
− | + | // BEGIN RIGHT COLUMN | |
− | + | --> | |
− | + | | | |
− | + | | style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" | <!-- | |
− | + | // LATEST UPDATES | |
− | + | --> | |
− | + | {| class="plainlinks" style="padding:0.5em; width:100%;" | |
− | + | | colspan="2" style="margin:0.5em 0;" | <div class="mp-content-header-alt">{{{box3-updates-title}}}</div> | |
− | + | |- | |
+ | | colspan="2" style="padding:0.5em;" | | ||
+ | {| style="width:100%; background:none; border:none; padding:0.25em; margin:0.25em; 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%;" | ||
+ | | {{Updates|type=patch-daysago}} | ||
+ | | {{Updates|type=blog-daysago}} | ||
+ | |- | ||
+ | |} | ||
+ | |- | ||
+ | | colspan="2" | <hr style="background:#B47128; color:none; border:none;" /> | ||
+ | |- | ||
+ | | style="padding:0.5em;" | {{#switch:{{{box3-updates-type|}}} | ||
+ | | banner = {{Latest item|type=banner}} | ||
+ | | text = {{Latest item|type=text}} | ||
+ | }} | ||
+ | |{{#ifeq:{{{box3-updates-type|}}}|text|{{Latest item|type=image}}|<!-- null -->}} | ||
+ | |- | ||
+ | ! colspan="2" style="{{#ifeq:{{{box3-updates-type|}}}|banner|padding:0.5em;|}}" | {{#ifeq:{{{box3-updates-type|}}}|banner|{{Latest item|type=banner-text}}|<!-- null -->}} | ||
+ | |- | ||
+ | | colspan="2" | <hr style="background:#B47128; color:none; border:none;" /> | ||
+ | |- | ||
+ | | colspan="2" style="padding:0.5em;" | {{{box3-updates-contents|{{Current Events{{if lang}}}}}}} | ||
+ | |}<!-- | ||
+ | |||
+ | // DID YOU KNOW | ||
+ | |||
+ | --> | ||
+ | {| style="padding:0.5em; width:100%;" | ||
+ | | colspan="2" style="margin:0.5em 0;" | <div class="mp-content-header-alt">{{{box4-dyk-title}}}</div> | ||
+ | |- | ||
+ | | style="padding:0.5em;" | {{{box4-dyk-contents|{{Did you know main{{if lang}}}}}}} | ||
+ | |- | ||
+ | ! style="font-size:95%; padding: 0.5em 0; border-top:1px solid #B47128; margin-top:0.5em;" 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" style="margin:0; margin-bottom: 0.5em;" | ||
+ | ! class="mp-content-header" | {{{box5-wiki-title|Team Fortress Wiki}}} | ||
+ | |- | ||
+ | | style="padding:0; margin:0;" | {{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%;}} | ||
+ | |||
+ | | 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:Language translation|'''Translating''']]<br /><!-- | ||
-->[[Help:Contents|Editing]]<br /><!-- | -->[[Help:Contents|Editing]]<br /><!-- | ||
Line 99: | Line 304: | ||
-->[[:Category:Stubs|Expand stubs]]<br /><!-- | -->[[:Category:Stubs|Expand stubs]]<br /><!-- | ||
-->[[:Category:Images that need improving|Improve bad images]] | -->[[:Category:Images that need improving|Improve bad images]] | ||
− | + | }}} | |
+ | |||
+ | | col2 = {{{box5-wiki-col2|<!-- | ||
-->[[Help:Style guide|'''Style guide''']]<br /><!-- | -->[[Help:Style guide|'''Style guide''']]<br /><!-- | ||
-->[[Team Fortress Wiki:Policies|Editing guidelines]]<br /><!-- | -->[[Team Fortress Wiki:Policies|Editing guidelines]]<br /><!-- | ||
Line 105: | Line 312: | ||
-->[[Team Fortress Wiki:Licensing images|Licensing restrictions]]<br /><!-- | -->[[Team Fortress Wiki:Licensing images|Licensing restrictions]]<br /><!-- | ||
-->[[Help:Group rights|Administrators]] | -->[[Help:Group rights|Administrators]] | ||
+ | }}} | ||
+ | |||
+ | }} | ||
+ | | {{#if:{{{box5-wiki-hidewikilinks|}}}|void|list1}} = {{CentralDiscussion|child=true}} | ||
+ | }} | ||
+ | |- | ||
+ | | style="font-size:95%; padding:0.5em 0; border-top:1px solid #B47128; margin-top:0.5em; text-align:center;" | {{{box5-wiki-statistics|'''[[Special:Statistics|Team Fortress Wiki Statistics]]''': <!-- | ||
+ | -->{{NUMBEROFARTICLES}} [[User:Seb26/Index|articles]]{{n}}<!-- | ||
+ | -->{{NUMBEROFFILES}} [[:Category:Images|uploaded images & media]]{{n}}<!-- | ||
+ | -->{{NUMBEROFUSERS}} [[Special:UserLogin|registered users]]{{n}}<!-- | ||
+ | -->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since June 8, 2010 | ||
+ | }}} | ||
+ | |- | ||
+ | |}<!-- | ||
+ | |||
+ | // VALVE WIKI NETWORK | ||
+ | // The following will come from {{VWN}}. | ||
− | + | --> | |
+ | {| class="mp-content-table plainlinks" | ||
+ | ! class="mp-content-header" colspan="5" | {{{box6-vwn-title}}} | ||
+ | |- | ||
+ | | style="padding:0;" | {{VWN|child=true}} | ||
+ | |}<!-- | ||
− | }} | + | // LANGUAGES & TRANSLATION |
+ | |||
+ | --> | ||
+ | {| class="mp-content-table plainlinks" style="border:1px solid #aaa; margin:0; text-align:center; font-size:90%;" | ||
+ | | © 2010 [http://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> |
Revision as of 16:50, 25 October 2010
To use this template please see the talk page. |
|
English · čeština · Deutsch · español · français · magyar · italiano · 日本語 · Nederlands · norsk · polski · português · português do Brasil · română · русский · svenska · 中文(简体) · 中文(繁體) |
|
|
Team Fortress Wiki | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
Team Fortress Wiki Statistics: 74,791 articles – 174,358 uploaded images & media – 277,937 registered users – 19,111,615 edits since June 8, 2010 |
{{{box6-vwn-title}}} | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
© 2010 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. |