Template:GridContainer: Difference between revisions
From Step Mods | Change The Game
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="display:grid;padding:1rem 0;grid-template:{{{template|auto / auto auto auto}}};">{{{1}}}</div></includeonly><noinclude>__NOTOC__ [[Category: | <includeonly><div style="display:grid;padding:1rem 0;grid-template:{{{template|auto / auto auto auto}}};">{{{1}}}</div></includeonly><noinclude>__NOTOC__ [[Category:Layout Templates]] | ||
==Purpose & Usage== | ==Purpose & Usage== | ||
Use this template to format content within a grid container. | Use this template to format content within a grid container. {{Fc|salmon|NOTE: This was created to properly display the NMS custom navbar but could be used in other edge cases (e.g., user pages or custom guides).}} | ||
===Parameters=== | ===Parameters=== |
Latest revision as of 15:26, September 17, 2021
Purpose & Usage
Use this template to format content within a grid container. NOTE: This was created to properly display the NMS custom navbar but could be used in other edge cases (e.g., user pages or custom guides).
Parameters
Required
- parameter 1: This is where you place your GridItems.
Optional
- template: This specifies the grid-template. Default is auto / auto auto auto. It is using this CSS property.
Examples
Code:
{{GridContainer| {{GridItem|1}} {{GridItem|2}} {{GridItem|3}} }}
Result:
1
2
3
See Also