Difference between revisions of "User:Evolena"

From Old World Wiki
Jump to navigation Jump to search
(Testing templates - Sections)
 
(Testing templaces - Icons)
Line 88: Line 88:


</div> <!-- grid template -->
</div> <!-- grid template -->
Ok, so the Left and Right Sections go further the end of the "grid-container" div.
= Icons =
* Uppercase, no space: {{icon|Civics}}
* Uppercase, space: {{icon| Civics}}
* Lowercase, no space: {{icon|civics}}
* Lowercase, space: {{icon| civics}}
-> no effect in the syntax
* 12px: {{icon|civics|12px}} {{icon|training|12px}}
* 14px: {{icon|civics|14px}} {{icon|training|14px}}
* 16px: {{icon|civics|16px}} {{icon|training|16px}}
* 18px: {{icon|civics|18px}} {{icon|training|18px}}
-> no effect (16x17 for civics for a 40x42 file / 16x22 for training for a 31x42 file)
* File 18px: [[File:Civics.png|18x18px|Civics]] (17x18)
* File 28px: [[File:Civics.png|28px|link=Laws]] (28x29)
-> size taken into account
= Formatting =
Start with a whitespace for code block

Revision as of 05:32, 25 February 2023

Sections

So, SectionTemplate (but not HeaderTemplate) is considered a level 2 title for the Table of Content.

Syntax

My Sandbox ("welcome" parameter)

for testing ("blurb" parameter)


A Section ("title" parameter)

Content ("content" parameter) within a "div" element with the class "middle2"

Grid

Left Section

Content with the class "left", into a grid-container

Right Section

Content with the class "right", into a grid-container

Must be before the "middle" sections, otherwise it is just displayed below them.

Left 2 Section

Content with the class "left2", into a grid-container

More than one "left" or "right" section messses things.

Right 2 Section

Content with the class "right2", into a grid-container

Middle Section

Content with the class "middle", into a grid-container

Middle Section bis

Content with the class "middle", into a grid-container - again

Without incrementing the class name, the sections overlaps.


Middle 2 Section

Content with the class "middle2", into a grid-container

Incrementing the class name prevents overlaping


Middle 3 Section

Content with the class "middle3", into a grid-container

Ok, so the Left and Right Sections go further the end of the "grid-container" div.

Icons

  • Uppercase, no space: Civics.png
  • Uppercase, space: Civics.png
  • Lowercase, no space: Civics.png
  • Lowercase, space: Civics.png

-> no effect in the syntax

  • 12px: Civics.png Training.png
  • 14px: Civics.png Training.png
  • 16px: Civics.png Training.png
  • 18px: Civics.png Training.png

-> no effect (16x17 for civics for a 40x42 file / 16x22 for training for a 31x42 file)

  • File 18px: Civics (17x18)
  • File 28px: Civics.png (28x29)

-> size taken into account

Formatting

Start with a whitespace for code block