Template:Main Page layout: Difference between revisions
Jump to navigation
Jump to search
DoktorAkcel (talk | contribs) (Shameless copypast) |
m (Add link to banner) |
||
(50 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<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 8: | 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 15: | 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%;" | | ||
* '''[[Special:UserLogin|{{{welcome-link-register}}}]]''' | * '''[[Special:UserLogin|{{{welcome-link-register}}}]]''' | ||
* [[: | * [[:Portal Wiki:Tasks|{{{welcome-link-helpout}}}]] | ||
* [[Help:Language translation|{{{welcome-link-translate}}}]] | * [[Help:Language translation|{{{welcome-link-translate}}}]] | ||
|}<!-- | |||
// LANGUAGES | |||
--> | |||
{| class="mp-content-table" style="text-align:center; font-size:90%; direction: ltr !important;" | |||
| <span style="font-size:1.05em;">'''[[Main Page|English]]'''<!-- | |||
--> '''·''' [[Main Page/ru|<span title="{{lang name|name|ru}}">{{#language:ru}}</span>]]<!-- | |||
--> '''·''' [[Main Page/fr|<span title="{{lang name|name|fr}}">{{#language:fr}}</span>]]<!-- | |||
--> '''·''' [[Main Page/de|<span title="{{lang name|name|de}}">{{#language:de}}</span>]]<!-- | |||
--> '''·''' [[Main Page/pl|<span title="{{lang name|name|pl}}">{{#language:pl}}</span>]]<!-- | |||
--> '''·''' [[Main Page/pt-br|<span title="{{lang name|name|pt-br}}">{{#language:pt-br}}</span>]]<!-- | |||
--> '''·''' [[Main Page/fi|<span title="{{lang name|name|fi}}">{{#language:fi}}</span>]]<!-- | |||
--> '''·''' [[Main Page/es|<span title="{{lang name|name|es}}">{{#language:es}}</span>]]<!-- | |||
--> '''·''' [[Main Page/nl|<span title="{{lang name|name|nl}}">{{#language:nl}}</span>]]<!-- | |||
--> '''·''' [[Main Page/zh-hans|<span title="{{lang name|name|zh-hans}}">{{#language:zh-hans}}</span>]]<!-- | |||
--> '''·''' [[Main Page/zh-hant|<span title="{{lang name|name|zh-hant}}">{{#language:zh-hant}}</span>]]<!-- | |||
--></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/hu|<span title="{{lang name|name|hu}}">{{#language:hu}}</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/no|<span title="{{lang name|name|no}}">{{#language:no}}</span>]]<!-- | |||
--> '''·''' [[Main Page/pt|<span title="{{lang name|name|pt}}">{{#language:pt}}</span>]]<!-- | |||
--> '''·''' [[Main Page/ro|<span title="{{lang name|name|ro}}">{{#language:ro}}</span>]]<!-- | |||
--> '''·''' [[Main Page/sv|<span title="{{lang name|name|sv}}">{{#language:sv}}</span>]] | |||
|- | |||
|} | |||
{{Main Page event}} | |||
<!-- | |||
// BEGIN COLUMNS TABLE | |||
--> | |||
{| class="mp-maintable" style="width:100%; background:none; border:none; margin:0.5em 0; padding:none;" cellspacing="0" cellpadding="0" | |||
|- | |||
| class="mp-sectionblock" style="width:50%; border:1px solid #9999CC;" valign="top" | | |||
{| class="mp-sectionblock" style="padding:0.5em; width:100%;" | |||
| <div class="mp-content-header-alt">{{{box1-index-title}}}</div> | |||
|- | |||
| style="padding:0.5em; padding-top: 0px;" | <!-- | |||
// 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 | |||
-->{{ExtendedIndex}} | |||
|- | |||
|}<!-- | |||
// FEATURED ARTICLE | |||
--> | |||
{| style="padding:0.5em; width:100%; background: none;" | |||
| 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="width:auto;" | {{FeaturedArticle{{if lang}}|type=image}} | |||
|- | |||
! 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}}<!-- | |||
-->[[Portal Wiki:Featured articles|Featured article project]]{{n}}<!-- | |||
-->[[Template:FeaturedArticle|Previously featured]] | |||
}}} | |||
|- | |||
|}<!-- | |||
// 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 | |||
--> | |||
{| style="padding:0.5em; width:100%;" | |||
| 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="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}}<!-- | |||
-->[[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 mp-title-gradient" | {{{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}} = {{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}} = {{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 #9999CC; margin-top:0.5em; text-align:center;" | {{{box5-wiki-statistics|'''[[Special:Statistics|Portal Wiki Statistics]]''': <!-- | |||
-->{{NUMBEROFARTICLES}} [[Special:AllPages|articles]]{{n}}<!-- | |||
-->{{NUMBEROFFILES}} [[:Category:Images|uploaded images & media]]{{n}}<!-- | |||
-->{{NUMBEROFUSERS}} [[Special:ListUsers|registered users]]{{n}}<!-- | |||
-->{{NUMBEROFEDITS}} [[Special:RecentChanges|edits]] since April 20, 2011 | |||
}}} | |||
|- | |||
|}<!-- | |||
// VALVE WIKI NETWORK | |||
// 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 | |||
// DISPLAYTITLE | |||
--><includeonly>{{#if:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}|{{DISPLAYTITLE:{{{displaytitle|{{{DISPLAYTITLE|}}}}}}}}|}}<!-- | |||
-->{{lang cat|Main|sort= }}{{lang cat|Main Page|sort= }} | |||
</includeonly> |
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,969 registered users–7,982,856 edits since April 20, 2011 |
{{{box6-vwn-title}}} | |||||||||
---|---|---|---|---|---|---|---|---|---|
|