Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main Page layout: Difference between revisions

Template page
So many red.... fill this up, guys
m Undo revision 189372
 
(46 intermediate revisions by 10 users not shown)
Line 16: Line 16:
{| 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;" |
|[[File:Wiki-banner.png]]
<h2 style="margin:0em; top:+0.2em; border:none;">{{{logo-image|[[File:Wiki-banner.png|420px|link=Portal Wiki:About{{if lang}}|The Portal Wiki]]}}}</h2>
<h2 style="margin:0em; top:+0.2em; border:none; font-size:95%;">{{{welcome-text-1}}}</h2>
|}<!--  
|}<!--  


Line 23: Line 24:
-->
-->
| 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.thinkwithportals.com/ {{{welcome-link-website}}}]
* [https://www.thinkwithportals.com/ {{{welcome-link-website}}}]
* [http://forums.steampowered.com/forums/forumdisplay.php?f=854 {{{welcome-link-forum}}}]
* [https://steamcommunity.com/app/620/discussions {{{welcome-link-forum}}}]
* [[Patches{{if lang}}|{{{welcome-link-updates}}}]]
* [[Patches{{if lang}}|{{{welcome-link-updates}}}]]
| style="width:13%; font-size:95%;" |
| style="width:13%; font-size:95%;" |
* [http://www.youtube.com/p2wiki {{{welcome-link-youtube}}}]
* [https://www.youtube.com/p2wiki {{{welcome-link-youtube}}}]
* [http://steamcommunity.com/groups/p2wiki {{{welcome-link-steam}}}]
* [https://steamcommunity.com/groups/pwiki {{{welcome-link-steam}}}]
* [[Portal Wiki:Discussion|{{{welcome-link-discussion}}}]]
* [[Portal Wiki:Discussion|{{{welcome-link-discussion}}}]]
| style="width:13%; font-size:95%;" |
| style="width:13%; font-size:95%;" |
Line 55: Line 56:
   --></span><br /><!--  
   --></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/cs|<span title="{{lang name|name|cs}}">{{#language:cs}}</span>]]<!--  
   --> '''·''' [[Main Page/da|<span title="{{lang name|name|da}}">{{#language:da}}</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/hu|<span title="{{lang name|name|hu}}">{{#language:hu}}</span>]]<!--  
   --> '''·''' [[Main Page/it|<span title="{{lang name|name|it}}">{{#language:it}}</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/ko|<span title="{{lang name|name|ko}}">{{#language:ko}}</span>]]<!--  
   --> '''·''' [[Main Page/no|<span title="{{lang name|name|no}}">{{#language:no}}</span>]]<!--  
   --> '''·''' [[Main Page/no|<span title="{{lang name|name|no}}">{{#language:no}}</span>]]<!--  
Line 74: Line 75:


-->
-->
{| style="width:100%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0"
{| class="mp-maintable" 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" |  
| class="mp-sectionblock" style="width:50%; border:1px solid #9999CC;" valign="top" |  
{| style="padding:0.5em; width:100%;"
{| class="mp-sectionblock" style="padding:0.5em; width:100%;"
| <div class="mp-content-header-alt">{{{box1-index-title}}}</div>
| <div class="mp-content-header-alt">{{{box1-index-title}}}</div>
|-
|-
| style="padding:0.5em;" | <!--  
| style="padding:0.5em; padding-top: 0px;" | <!--  


     // 3COL IMAGE LIST
     // 3COL IMAGE LIST
Line 128: Line 129:
     // 3COL TEXT LIST
     // 3COL TEXT LIST


-->{{Navbox with columns | border = none | fullwidth = true
-->{{ExtendedIndex}}
| 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
     // FEATURED ARTICLE


-->
-->
{| style="padding:0.5em; width:100%;"
{| style="padding:0.5em; width:100%; background: none;"
| 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>
| colspan="2" style="margin:0.5em 0; padding-top: 0px;" | <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="padding:0.5em;" | {{FeaturedArticle{{if lang}}|type=text}}
| style="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}}
| 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|<!--  
! style="font-size:95%; padding: 0.5em 0; border-top:1px solid #9999CC; margin-top:0.5em;" colspan="2" | {{{box2-fa-links|<!--  
   -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!--  
   -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!--  
   -->[[Portal Wiki:Featured articles|Featured article project]]{{n}}<!--  
   -->[[Portal Wiki:Featured articles|Featured article project]]{{n}}<!--  
Line 191: Line 149:
|-
|-
|}<!--  
|}<!--  
// BEGIN RIGHT COLUMN
-->
| &nbsp;&nbsp;
| class="mp-sectionblock" style="width:50%; border:1px solid #9999CC;" valign="top" |<!--
        // LATEST UPDATES
-->
{| class="plainlinks mp-sectionblock" 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-portal2|Latest ''[[Portal 2]]'' Patch}}}
! width="50%" | {{{box3-updates-text-latestblog|Latest [https://www.thinkwithportals.com/blog.php Blog] post}}}
|- style="font-size:110%"
! {{Updates|type=patch}}<br/>({{Updates|type=portal2-patch-daysago}})
! {{Updates|type=blog}}<br/>({{Updates|type=blog-daysago}})
|}
{| style="width:100%; background:none; border:none; margin:0.25em; padding:0.75em 0em; padding-bottom:0em; text-align:center;" cellspacing="0" class="plainlinks"
| colspan=2 | <hr style="background:#9999CC; color:none; border:none; text-align:center;" />
|- style="font-size:90%;"
| style="font-size:90%; padding:0.25em 0em; width:50%;" | <!--
-->{{{box3-updates-text-toolspatch|Latest [[Portal 2 Authoring Tools{{if lang}}|Authoring Tools]] patch:}}}<br />'''{{Updates|type=patch-tools}}''' ({{Updates|type=portal2-tools-patch-daysago}})
| style="font-size:90%; padding:0.25em 0em; width:50%;" | <!--
-->{{{box3-updates-text-latestpatch-portal|Latest ''[[Portal]]'' Patch:}}}<br/>'''{{Updates|type=portal-patch}}''' ({{Updates|type=portal-patch-daysago}})
|-
| colspan=2 | <hr style="background:#9999CC; color:none; border:none; text-align:center;" />
|}
|-
| style="padding:0.5em;" | {{Main Page news}}
|-
! style="font-size:95%; padding: 0.5em 0; border-top:1px solid #9999CC; margin-top:0.5em;" colspan="2" | {{{box3-update-link|<!--
  -->[[Template:Main Page news|{{Common string|update or view past news}}]]
}}}
|}
<!--


     // DID YOU KNOW
     // DID YOU KNOW
Line 196: Line 197:
-->
-->
{| style="padding:0.5em; width:100%;"
{| style="padding:0.5em; width:100%;"
| colspan="2" style="margin:0.5em 0;" | <div class="mp-content-header-alt">{{{box4-dyk-title}}}</div>
| colspan="2" style="margin:0.5em 0; padding-left: 1px; padding-right: 1px; padding-top: 0px;" | <div class="mp-content-header-alt">{{{box4-dyk-title}}}</div>
|-
|-
| style="padding:0.5em;" | {{{box4-dyk-contents|{{Did you know main{{if lang}}}}}}}
| 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|<!--  
! style="font-size:95%; padding: 0.5em 0; border-top:1px solid #9999CC; margin-top:0.5em;" 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 216: Line 217:
-->
-->
{| class="mp-content-table" style="margin:0; margin-bottom: 0.5em;"
{| class="mp-content-table" style="margin:0; margin-bottom: 0.5em;"
! class="mp-content-header" | {{{box5-wiki-title|Portal Wiki}}}
! class="mp-content-header mp-title-gradient" | {{{box5-wiki-title|Portal Wiki}}}
|-
|-
| style="padding:0; margin:0;" | {{Navbox with columns | bodystyle = border: none;
| style="padding:0; margin:0;" | {{Navbox with columns | bodystyle = border: none;
   | colheaderstyle = font-size:105%;
   | colheaderstyle = font-size:105%;
   | {{#ifeq:{{FULLPAGENAME}}|Main Page|col1header|null}} = {{{box5-wiki-title|Portal Wiki}}}
   | {{#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;}}
   | {{#ifeq:{{FULLPAGENAME}}|Main Page|col1|null}} = {{NS HELP 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}}header = {{{box5-wiki-title2|How you can help}}}
Line 247: Line 248:
   }}
   }}
|-
|-
| 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;<!--  
| style="font-size:95%; padding:0.5em 0; border-top:1px solid #9999CC; margin-top:0.5em; text-align:center;" | {{{box5-wiki-statistics|'''[[Special:Statistics|Portal Wiki Statistics]]''':&nbsp;<!--  
   -->{{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:ListUsers|registered users]]{{n}}<!--  
   -->{{NUMBEROFUSERS}} [[Special:ListUsers|registered users]]{{n}}<!--  
   -->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since June 8, 2010
   -->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since April 20, 2011
}}}
}}}
|-
|-
Line 259: Line 260:
     // The following will come from {{VWN}}.
     // The following will come from {{VWN}}.


-->
--><table class="mp-content-table plainlinks"><tr>
{| class="mp-content-table plainlinks"
<th scope="col" class="mp-content-header" colspan="5">{{{box6-vwn-title}}}</th>
! class="mp-content-header" colspan="5" | {{{box6-vwn-title}}}
</tr><tr>
|-
<td style="padding:0;">{{VWN|child=true}}</td>
| style="padding:0;" | {{VWN|child=true}}
</tr></table><!--  
|}<!--
 
// 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
// MAIN PAGE CATEGORIES