Template:Main Page layout: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (Protected "Template:Main Page layout": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(So many red.... fill this up, guys)
Line 1: Line 1:
__NOTOC__
<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
 
--> __NOTOC__
{| class="mp-content-table plainlinks" style="margin:1.2em 0 0.5em 0;"
{| class="mp-content-table plainlinks" style="margin:1.2em 0 0.5em 0;"
| style="width:61%; color:#000;" |<!--  
| style="width:61%; color:#000;" |<!--  
Line 60: Line 68:
|-
|-
|}
|}
{{Main Page event}}
<!--
// 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 /><!--
      -->[[List of game modes|Game Modes]]<br /><!--
      -->[[Strategy]]<br /><!--
      -->[[RED]]<br /><!--
      -->[[BLU]]<br /><!--
      -->[[List of maps|List of Maps]]<br /><!--
      -->[[Administrator]]<br /><!--
      -->[[Bots]]
          }}}
| col2style      = font-weight: bold; background:#FEF5E0;
| col2 = {{{col2-heading|Trending topics:}}}<br />{{{box1-index-col2|[[Golden Wrench]]<br /><!--
      -->[[Engineer]]<br /><!--
      -->[[Engineer Update]]<br /><!--
      -->[[Southern Hospitality]]<br /><!--
      -->[[Gunslinger]]<br /><!--
      -->[[Polycount Pack]]<br /><!--
      -->[[Alien Swarm Parasite]]<br /><!--
      -->[[Wrangler]]
          }}}
| col3 = {{{box1-index-col3|[[Scripting]]<br /><!--
      -->[[Item drop system|Item Drop System]]<br /><!--
      -->[[Sentry Gun]]<br /><!--
      -->[[Critical hits|Critical Hits]]<br /><!--
      -->[[Taunts]]<br /><!--
      -->[[Quality|Item Quality]]<br /><!--
      -->[[Classes]]<br /><!--
      -->[[Meet the Team]]
          }}}
}}
|-
|}<!--
// BEGIN RIGHT COLUMN
-->
| &nbsp;&nbsp;
| style="width:50%; background:#FEFBF6; border:1px solid #79542B;" valign="top" |
<!--
    // FEATURED ARTICLE
-->
{| style="padding:0.5em; width:100%;"
| colspan="2" style="margin:0.5em 0;" | <div class="mp-content-header-alt">{{{box2-fa-title}}}&nbsp;— [[{{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}}<!--
  -->[[Portal Wiki:Featured articles|Featured article project]]{{n}}<!--
  -->[[Template:FeaturedArticle|Previously featured]]
}}}
|-
|}<!--
    // 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 PORTAL WIKI
-->
{| class="mp-content-table" style="margin:0; margin-bottom: 0.5em;"
! class="mp-content-header" | {{{box5-wiki-title|Portal 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|Portal 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 /><!--
            -->[[Portal Wiki:Policies|Editing guidelines]]<br /><!--
            -->[[Portal Wiki:Images|Uploading images]]<br /><!--
            -->[[Portal Wiki:Licensing images|Licensing restrictions]]<br /><!--
            -->[[Help:Group rights|Administrators]]
              }}}
           
      }}
  | {{#ifeq:{{FULLPAGENAME}}|Main Page|list1|null}} = {{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|Portal Wiki Statistics]]''':&nbsp;<!--
  -->{{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 plainlinks"
{| class="mp-content-table plainlinks"
! class="mp-content-header" colspan="5" | {{{box6-vwn-title}}}
! class="mp-content-header" colspan="5" | {{{box6-vwn-title}}}
|-
|-
| style="padding:0;" | {{VWN|child=true}}
| 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=&#32;}}{{lang cat|Main Page|sort=&#32;}}
</includeonly>

Revision as of 14:30, 22 April 2011

English · русский · français · Deutsch · polski · português do Brasil · suomi · español · Nederlands · 中文(简体) · 中文(繁體)
العربية · čeština · dansk · magyar · italiano · 한국어 · norsk · português · română · svenska
{{{box1-index-title}}}
  
{{{box2-fa-title}}} — GLaDOS
GLaDOS is the central core designed to control, guide, and oversee the Aperture Enrichment Center. With the ability to shift and move facilities and various chambers, GLaDOS is able to achieve a seamless and almost infinite testing design whilst residing in the Central AI Chamber.
GLaDOS
Continue readingFeatured article projectPreviously featured
{{{box4-dyk-title}}}
  • ...that GLaDOS', Turrets' and Caroline's voice actor, Ellen McLain, also voices the Administrator in Team Fortress 2 and the Overwatch in the Half-Life 2 series?
  • ...that GLaDOS stands for Genetic Lifeform and Disk Operating System?
  • ...that Ellen McLain is also an opera singer and sang the Turret Opera?
  • ...that Valve employee Richard Lord was the original, placeholder voice for Wheatley?
  • ...that Portal 2 originally wasn't going to have portals?
  • ...that there were plans for "sticky gel" in Portal 2?
  • ...that both Portal and Portal 2 derived many of their ideas from prototypes made by Digipen students?
  • ...that the cake in Portal is a Black Forest cake that project lead Kim Swift chose at a nearby bakery?
Add a factMore "Did you know"Previously featured
Portal Wiki
Portal Wiki Statistics: 2,858 articles–19,692 uploaded images & media–4,899 registered users–7,981,120 edits since June 8, 2010