Difference between revisions of "Template:Main Page layout"
m |
m |
||
(20 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
--> | --> | ||
| 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.teamfortress.com/ {{{welcome-link-website}}}] |
* [https://steamcommunity.com/app/440/discussions {{{welcome-link-forum}}}] | * [https://steamcommunity.com/app/440/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/user/OfficialTF2Wiki {{{welcome-link-youtube}}}] | + | * {{#if:{{{welcome-link-bilibili|}}}|[https://space.bilibili.com/531557387 {{{welcome-link-bilibili}}}] / |}}[https://www.youtube.com/user/OfficialTF2Wiki {{{welcome-link-youtube}}}] |
* [{{{welcome-link-steam-url|https://steamcommunity.com/groups/OTFWiki}}} {{{welcome-link-steam}}}] | * [{{{welcome-link-steam-url|https://steamcommunity.com/groups/OTFWiki}}} {{{welcome-link-steam}}}] | ||
* [[Team Fortress Wiki:Discussion|{{{welcome-link-discussion}}}]] | * [[Team Fortress Wiki:Discussion|{{{welcome-link-discussion}}}]] | ||
Line 42: | Line 42: | ||
--> | --> | ||
− | {| class="mp-content-table" style="margin- | + | {| class="mp-content-table" style="margin-top: 7px; text-align:center; font-size:90%; direction: ltr !important;" |
| <span style="font-size:100%;">'''[[Main Page|English]]'''<!-- | | <span style="font-size:100%;">'''[[Main Page|English]]'''<!-- | ||
Line 58: | Line 58: | ||
--></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>]]<!-- | ||
Line 80: | Line 79: | ||
-->{{Navbox | -->{{Navbox | ||
− | | bodystyle = width:100%; margin-bottom:7px; text-align:center; font-size:90%; border:1px solid #79542B; <!-- // Manual workaround as CSS classes isn't working with Navbox --> | + | | bodystyle = width:100%; margin-bottom:7px; text-align:center; font-size:90%; border:1px solid #79542B; margin-top: 7px !important; <!-- // Manual workaround as CSS classes isn't working with Navbox --> |
| list1 = {{Navbox with columns | child | | list1 = {{Navbox with columns | child | ||
Line 89: | Line 88: | ||
| colstyle = text-align: center; font-size: 120%; font-weight: bold; | | colstyle = text-align: center; font-size: 120%; font-weight: bold; | ||
− | | col1header = [[File:{{Main Page class | + | | col1header = [[File:{{Main Page class portrait|Scout}}|link=Scout{{if lang}}|84px]] |
− | | col2header = [[File:{{Main Page class | + | | col2header = [[File:{{Main Page class portrait|Soldier}}|link=Soldier{{if lang}}|84px]] |
− | | col3header = [[File:{{Main Page class | + | | col3header = [[File:{{Main Page class portrait|Pyro}}|link=Pyro{{if lang}}|84px]] |
− | | col4header = [[File:{{Main Page class | + | | col4header = [[File:{{Main Page class portrait|Demoman}}|link=Demoman{{if lang}}|84px]] |
− | | col5header = [[File:{{Main Page class | + | | col5header = [[File:{{Main Page class portrait|Heavy}}|link=Heavy{{if lang}}|84px]] |
− | | col6header = [[File:{{Main Page class | + | | col6header = [[File:{{Main Page class portrait|Engineer}}|link=Engineer{{if lang}}|84px]] |
− | | col7header = [[File:{{Main Page class | + | | col7header = [[File:{{Main Page class portrait|Medic}}|link=Medic{{if lang}}|84px]] |
− | | col8header = [[File:{{Main Page class | + | | col8header = [[File:{{Main Page class portrait|Sniper}}|link=Sniper{{if lang}}|84px]] |
− | | col9header = [[File:{{Main Page class | + | | col9header = [[File:{{Main Page class portrait|Spy}}|link=Spy{{if lang}}|84px]] |
| col1 = [[Scout{{if lang}}|{{{class-scout-title|{{class name|Scout}}}}}]] | | col1 = [[Scout{{if lang}}|{{{class-scout-title|{{class name|Scout}}}}}]] | ||
Line 189: | Line 188: | ||
--> | --> | ||
{| style="width:100%;" | {| style="width:100%;" | ||
− | | colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box2-fa-title}}} — [[{{FeaturedArticle{{ | + | | colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box2-fa-title}}} — {{{box2-fa-article|[[{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=name}}|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=display}}]]}}}</div> |
|- | |- | ||
− | | style="padding:10px;" | {{FeaturedArticle{{ | + | | style="padding:10px;" | {{{box2-fa-description|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=text}}}}} |
− | | style="width:auto;" | {{FeaturedArticle{{ | + | | style="width:auto;" | {{{box2-fa-image|{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=image}}}}} |
<!-- Clear image being float:right --> | <!-- Clear image being float:right --> | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
Line 202: | Line 201: | ||
{| style="width:100%;" | {| style="width:100%;" | ||
! style="font-size:95%; padding:10px;" colspan="2" | {{{box2-fa-links|<!-- | ! style="font-size:95%; padding:10px;" colspan="2" | {{{box2-fa-links|<!-- | ||
− | -->[[{{FeaturedArticle|type=name}}|'''''Continue reading''''']]{{n}}<!-- | + | -->[[{{FeaturedArticle/article/{{FeaturedArticle/list|{{CURRENTYEAR}}-{{CURRENTMONTH1}}}}|type=name}}|'''''Continue reading''''']]{{n}}<!-- |
-->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!-- | -->[[Team Fortress Wiki:Featured articles|Featured article project]]{{n}}<!-- | ||
-->[[Template:FeaturedArticle|Previously featured]] | -->[[Template:FeaturedArticle|Previously featured]] | ||
Line 238: | Line 237: | ||
|} | |} | ||
{| style="width:100%; background:none; border:none; padding-bottom:1px; text-align:center;" cellspacing="0" class="plainlinks" | {| style="width:100%; background:none; border:none; padding-bottom:1px; text-align:center;" cellspacing="0" class="plainlinks" | ||
− | | | + | | colspan=2 | <hr style="background:#B47128; color:none; border:none; text-align:center;" /> |
|- | |- | ||
− | | style="font-size:90%; padding: | + | {{#ifexpr: {{#time:U|now}} < {{Updates|type=community-end}} |
+ | | <!-- Event in range, show event *and* latest recipient --> | ||
+ | {{!}} style="font-size:90%; padding:0.25em 0em; width:50%;" {{!}} <!-- | ||
-->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br />'''{{Updates|type=wiki-cap-recipient}}''' | -->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br />'''{{Updates|type=wiki-cap-recipient}}''' | ||
+ | {{!}} style="font-size:90%; padding:0.20em 0em; width:50%;" {{!}} <!-- | ||
+ | -->{{{box3-updates-text-latestcommunity|Featured community event:}}}<br />'''[{{Updates|type=community-blog}} {{Updates|type=community-title}}]''' ({{#time: {{{box3-updates-text-latestcommunity-datefmt|M d}}} | @{{Updates|type=community-start}} | {{SUBPAGENAME}}}}{{{box3-updates-text-latestcommunity-daterange| – }}}{{#time: {{{box3-updates-text-latestcommunity-datefmt|M d}}} | @{{Updates|type=community-end}} | {{SUBPAGENAME}}}}) | ||
+ | | <!-- No featured event, show cap recipient instead. --> | ||
+ | {{!}} style="font-size:90%; padding:4px; width:100%;" {{!}} <!-- | ||
+ | -->{{{box3-updates-text-latestwiki-cap|Latest [[Wiki Cap{{if lang}}|Wiki Cap]] [[List of Wiki Cap owners{{if lang}}|recipients]]:}}}<br />'''{{Updates|type=wiki-cap-recipient}}''' | ||
+ | }} | ||
|- | |- | ||
− | | | + | | colspan=2 | <hr style="background:#B47128; color:none; border:none; text-align:center;" /> |
|} | |} | ||
|- | |- | ||
Line 255: | Line 262: | ||
| colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box4-dyk-title}}}</div> | | colspan="2" | <div class="mp-content-header-alt" style="border-top: 1px solid #79542B;">{{{box4-dyk-title}}}</div> | ||
|- | |- | ||
− | | style=padding:10px; | {{{box4-dyk-contents|{{Did you know main | + | | style=padding:10px; | {{{box4-dyk-contents|{{Did you know/main}}}}} |
|}<!-- | |}<!-- | ||
Line 283: | Line 290: | ||
| colheaderstyle = font-size:105%; | | colheaderstyle = font-size:105%; | ||
| col1header = {{{box5-wiki-title3|Team Fortress Wiki}}} | | col1header = {{{box5-wiki-title3|Team Fortress Wiki}}} | ||
− | | col1 = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;}} | + | | col1 = {{TFWiki navbar|child=true|bodystyle=width:100%; border:none;|bodystylemarginbottom=}} |
| col2header = {{{box5-wiki-title2|How you can help}}} | | col2header = {{{box5-wiki-title2|How you can help}}} | ||
| col2 = {{Navbox with columns | | col2 = {{Navbox with columns |
Latest revision as of 16:58, 16 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 · Türkçe |
|
|
Team Fortress Wiki | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
Team Fortress Wiki Statistics: 74,407 articles – 171,318 uploaded images & media – 276,728 registered users – 19,092,399 edits since June 8, 2010 |
{{{box6-vwn-title}}} | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
© 2010–2024 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. |