Editing
Template
:
MainPage
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<includeonly>{{#invoke:MainPage|main}}</includeonly>__NOTOC__<noinclude> ;Description :This template is used to create a dynamic [https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout grid layout] on the main page using wiki.gg's Improved Main Page (IMP) framework, initiated with [[Module:MainPage]] to then display with [[Template:MP-Box]] header-body content containers. :The layout is constructed using keywords arranged in a grid. This grid is comprised of 3 columns on desktop-width displays (>=1350px), 2 columns on tablet-width displays (990px - 1350px), and 1 column on mobile displays (<=990px), and there is no limit for number of rows. Each keyword represents a grid section and can be assigned to cells to span multiple rows and/or columns, but must form dimensions of a contiguous rectangle (1x1, 2x1, 3x1, 1x2, 2x2, 1x3, 2x3). The table below gives a visual representation of how main page boxes can be arranged (using 3x1, 2x1, 1x2 allocations). The keyword <code>welcome</code> loads the contents of [[{{SITENAME}}/welcome]], for example. Keywords are not required to be used in all layouts for each screen dimension. :Using a keyword without an existing main page box will insert a placeholder containing a page-create input, which can be used to create a new main page box page from the specified keyword. : :{| class="wikitable" | style="background-color:#0F03;" |welcome | style="background-color:#0F03;" |welcome | style="background-color:#0F03;" |welcome |- | style="background-color:#F0F3;" |about | style="background-color:#F0F3;" |about | style="background-color:#00F3;" |external |- | style="background-color:#FF03;" |contribute | style="background-color:#FF03;" |contribute | style="background-color:#00F3;" |external |} ;Syntax <pre> {{MainPage |desktop = (required) [requires 3 main page box title specifications per line] |tablet = (required) [requires 2 main page box title specifications per line] |mobile = (required) [requires 1 main page box title specification per line] }} </pre> ;Sample <pre> {{MainPage |desktop = welcome welcome welcome about about external contribute contribute external |tablet = welcome welcome about external contribute contribute |mobile = welcome about contribute external }} </pre> ;Sample output {{MainPage |desktop = welcome welcome welcome about about external contribute contribute external |tablet = welcome welcome about external contribute contribute |mobile = welcome about contribute external }} [[Category:Container templates]]</noinclude>
Summary:
Please note that all contributions to Geometry Dash Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Geometry Dash Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Pages included on this page:
Template:MainPage
(
edit
)
Module:MainPage
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
associated-pages
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
New files
Random page
New here? Get started
>> Site policy
>> Staff
Help using MediaWiki
GD Base Content
Games
Main levels
Gameplay
Rewards
Rooms (vaults etc.)
Level editing
Account features
Updates
GD Community Content
Demon List levels
Gauntlet levels
Map Pack levels
Classic levels
Platformer levels
Players
Community activities
Wiki Resources
Propose new articles
Submit edits for review
Admin Dashboard
Images
Videos
Audio
PDFs
Templates
Sandbox
Discuss the wiki
Guestbook
Account tools
Alerts
Notices
Edit recovery
Tools
What links here
Related changes
Page information