Template:Main Page layout: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Add link to banner) |
||
(41 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|link=Portal Wiki:About{{if lang}}]]}}}</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 --> | ||
* [ | * [https://www.thinkwithportals.com/ {{{welcome-link-website}}}] | ||
* [ | * [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%;" | | ||
* [ | * [https://www.youtube.com/p2wiki {{{welcome-link-youtube}}}] | ||
* [ | * [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/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% | | 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> | |||
|- | |- | ||
| style="padding:0.5em;" | <!-- | | style="padding:0.5em; padding-top: 0px;" | <!-- | ||
// 3COL IMAGE LIST | // 3COL IMAGE LIST | ||
Line 127: | Line 129: | ||
// 3COL TEXT LIST | // 3COL TEXT LIST | ||
-->{{ | -->{{ExtendedIndex}} | ||
}} | |||
|- | |- | ||
|}<!-- | |}<!-- | ||
// 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"> | | colspan="2" style="margin:0.5em 0; padding-top: 0px;" | <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="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 # | ! 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 190: | Line 149: | ||
|- | |- | ||
|}<!-- | |}<!-- | ||
// BEGIN RIGHT COLUMN | |||
--> | |||
| | |||
| 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 195: | 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 # | ! 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 215: | 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}} = {{ | | {{#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 246: | Line 248: | ||
}} | }} | ||
|- | |- | ||
| style="font-size:95%; padding:0.5em 0; border-top:1px solid # | | 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]]''': <!-- | ||
-->{{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 258: | Line 260: | ||
// The following will come from {{VWN}}. | // The following will come from {{VWN}}. | ||
--> | --><table class="mp-content-table plainlinks"><tr> | ||
<th scope="col" class="mp-content-header" colspan="5">{{{box6-vwn-title}}}</th> | |||
</tr><tr> | |||
<td style="padding:0;">{{VWN|child=true}}</td> | |||
</tr></table><!-- | |||
// MAIN PAGE CATEGORIES | // MAIN PAGE CATEGORIES |
Latest revision as of 18:36, 28 October 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 |
|
|
Portal Wiki | |||
---|---|---|---|
Portal Wiki Statistics: 2,865 articles–19,700 uploaded images & media–4,978 registered users–7,982,878 edits since April 20, 2011 |
{{{box6-vwn-title}}} | |||||||||
---|---|---|---|---|---|---|---|---|---|
|