Template:Section columns/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> Responsive layout for four small subsections. Displays subsections side-by-side in two columns in large viewports (e.g. desktop). Displays subsections in a single vertical column in small viewports (e.g. mobile). ==Usage== <pre> {{Section columns | heading 1 = ... | section 1 = ... | heading 2 = ... | section 2 = ... | heading 3 = ... | section 3 = ... | heading 4 = ... |...") |
(example) |
||
Line 5: | Line 5: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ | {{section columns | ||
| heading 1 = ... | | heading 1 = ... | ||
| section 1 = ... | | section 1 = ... | ||
Line 16: | Line 16: | ||
}} | }} | ||
</pre> | </pre> | ||
==Example== | |||
<pre> | |||
{{section columns | |||
| heading 1 = | |||
=== Paragon City === | |||
| section 1 = | |||
* Atlas Park | |||
* Kings Row | |||
* Steel Canyon | |||
* Skyway City | |||
* Independence Port | |||
* Talos Island | |||
* Brickstown | |||
* Founders Falls | |||
* Peregrine Island | |||
| heading 2 = | |||
=== Shadow Shard === | |||
| section 2 = | |||
* Firebase Zulu | |||
* Cascade Archipelago | |||
* The Chantry | |||
* The Storm Palace | |||
| heading 3 = | |||
=== Praetoria === | |||
| section 3 = | |||
* Nova Praetoria | |||
* Imperial City | |||
* Neutropolis | |||
| heading 4 = | |||
=== Rogue Isles === | |||
| section 4 = | |||
* Mercy Island | |||
* Port Oakes | |||
* Cap Au Diable | |||
* Sharkhead Isle | |||
* St. Martial | |||
* Grandville | |||
}} | |||
</pre> | |||
{{section columns | |||
| heading 1 = | |||
=== Paragon City === | |||
| section 1 = | |||
* Atlas Park | |||
* Kings Row | |||
* Steel Canyon | |||
* Skyway City | |||
* Independence Port | |||
* Talos Island | |||
* Brickstown | |||
* Founders Falls | |||
* Peregrine Island | |||
| heading 2 = | |||
=== Shadow Shard === | |||
| section 2 = | |||
* Firebase Zulu | |||
* Cascade Archipelago | |||
* The Chantry | |||
* The Storm Palace | |||
| heading 3 = | |||
=== Praetoria === | |||
| section 3 = | |||
* Nova Praetoria | |||
* Imperial City | |||
* Neutropolis | |||
| heading 4 = | |||
=== Rogue Isles === | |||
| section 4 = | |||
* Mercy Island | |||
* Port Oakes | |||
* Cap Au Diable | |||
* Sharkhead Isle | |||
* St. Martial | |||
* Grandville | |||
}} | |||
==See also== | ==See also== |
Revision as of 13:14, 20 September 2023
Responsive layout for four small subsections. Displays subsections side-by-side in two columns in large viewports (e.g. desktop). Displays subsections in a single vertical column in small viewports (e.g. mobile).
Usage
{{section columns | heading 1 = ... | section 1 = ... | heading 2 = ... | section 2 = ... | heading 3 = ... | section 3 = ... | heading 4 = ... | section 4 = ... }}
Example
{{section columns | heading 1 = === Paragon City === | section 1 = * Atlas Park * Kings Row * Steel Canyon * Skyway City * Independence Port * Talos Island * Brickstown * Founders Falls * Peregrine Island | heading 2 = === Shadow Shard === | section 2 = * Firebase Zulu * Cascade Archipelago * The Chantry * The Storm Palace | heading 3 = === Praetoria === | section 3 = * Nova Praetoria * Imperial City * Neutropolis | heading 4 = === Rogue Isles === | section 4 = * Mercy Island * Port Oakes * Cap Au Diable * Sharkhead Isle * St. Martial * Grandville }}
Paragon City
- Atlas Park
- Kings Row
- Steel Canyon
- Skyway City
- Independence Port
- Talos Island
- Brickstown
- Founders Falls
- Peregrine Island
Shadow Shard
- Firebase Zulu
- Cascade Archipelago
- The Chantry
- The Storm Palace
Praetoria
- Nova Praetoria
- Imperial City
- Neutropolis
Rogue Isles
- Mercy Island
- Port Oakes
- Cap Au Diable
- Sharkhead Isle
- St. Martial
- Grandville