User:Sddarealone/sandbox/WikicodeTest
/—\—/—\—/—\—/—\—/—\_Test 101_/—\—/—\—/—\—/—\—/—\
| Typography | WP:TYPE |
|---|---|
| Color Accessibility | MOS:COLORS |
| Wikitext | All in one |
| Wikitext Tables | Tables full |
| Advanced Table Features | H:Table/A |
| Wikitext Templates | Templates full |
| Templates ready to use |
For any CSS styles, Wiki tables, HTML tables, Wiki templates, tools or other cool features that maybe new to me.
Tables
[edit ]Summing up all features:
- Wikitable default
class="wikitable"... basic (single pipe for cells, single exclamation for headings); standard (double pipes and exclamations); HTML (table, table row and table data tags) - CSS style inline with style="property:value" eg.
style="color:red; background-color:blue;"and external using HTML ie. attribute=value eg.width=10em; align=left; - Collapsible tables.
mw-collapsedfor showing first then hide;mw-collapsible mw-collapsedfor first hiding then show table. - Vertical scrollbar
style="height:y; overflow:auto;"and horizontal scrollbarstyle="width:x; overflow-x:auto;". - Sticky table
{{sticky header}}and inclass="sticky header"; don't use with scrollbars or it won't work. - All CSS features (padding, spacing, margin, height, width, font and others) in table cells work just as standard CSS.
- Row hover highlight
{{row hover highlight}}to highlight on hovering row cells. White only cellsclass="mw-datatable"and Greyed cellsclass="hover-highlight". - Right alignment in table data cells using
style="text-align:right"and center align usingstyle="text-align:centre". - Decimal point alignment using
{0|0...}if data cells are aligned to centre. - Column alignment using
{{Table alignment}}and add inclass="colxalign"where x is column no. and align is left, right and center. - Side by side tables without images using
display:inline-grid; and with imagesstyle="vertical-align:top/center/bottom;"where customization can be added such as margin withmargin-left:5em;. Note that<div>box is must. - Float table / images using
float:left/right;
Each table consists of table padding, table spacing and cell padding. To be continued...
Tables testground
[edit ]1. Vertical scroller
| Key | Function |
|---|---|
CTRL + /
|
Opens all shortcuts |
CTRL + 0
|
Paragraph |
CTRL + 1
|
Title |
CTRL + 2
|
Section |
CTRL + 3, 4, 5 and 6
|
Subheadings of progressively smaller size |
CTRL + B
|
Bolds the text |
CTRL + I
|
Italicizes the text |
CTRL + < or > KEY
|
Fast move to left or right |
CTRL + SHIFT + < or > KEY
|
Fast select to left or right |
CTRL + K
|
Adds an inline / external citation |
CTRL + SHIFT + K
|
Adds a reference (automatic, basic, manual) |
{{Template-name}}
|
For any template e.g., media licenses, maintenance templates, references etc. |
CTRL + SHIFT + P
|
Toolbar search |
2. Horizontal scroller
| Key | Function | Duplicate Key | Duplicate Function |
|---|---|---|---|
CTRL + /
|
Opens all shortcuts | CTRL + /
|
Opens all shortcuts |
CTRL + 0
|
Paragraph | CTRL + 0
|
Paragraph |
CTRL + 1
|
Title | CTRL + 1
|
Title |
CTRL + 2
|
Section | CTRL + 2
|
Section |
CTRL + 3, 4, 5 and 6
|
Subheadings of progressively smaller size | CTRL + 3, 4, 5 and 6
|
Subheadings of progressively smaller size |
CTRL + B
|
Bolds the text | CTRL + B
|
Bolds the text |
CTRL + I
|
Italicizes the text | CTRL + I
|
Italicizes the text |
CTRL + < or > KEY
|
Fast move to left or right | CTRL + < or > KEY
|
Fast move to left or right |
CTRL + SHIFT + < or > KEY
|
Fast select to left or right | CTRL + SHIFT + < or > KEY
|
Fast select to left or right |
CTRL + K
|
Adds an inline / external citation | CTRL + K
|
Adds an inline / external citation |
CTRL + SHIFT + K
|
Adds a reference (automatic, basic, manual) | CTRL + SHIFT + K
|
Adds a reference (automatic, basic, manual) |
{{Template-name}}
|
For any template e.g., media licenses, maintenance templates, references etc. | {{Template-name}}
|
For any template e.g., media licenses, maintenance templates, references etc. |
CTRL + SHIFT + P
|
Toolbar search | CTRL + SHIFT + P
|
Toolbar search |
A. Basic
Column wise filling
| Car Manufacturer | Model | Image |
|---|---|---|
| Toyota | Supra | dbllb File:pic-A.jpg dblrb |
| Hyundai | i10 | dbllb File:pic-B.jpg dblrb |
| Buggatti | Veyron | dbllb File:pic-C.jpg dblrb |
| Lykan | Hypersport | dbllb File:pic-D.jpg dblrb |
| Chevrolet | Corvette | dbllb File:pic-E.jpg dblrb |
B. How2basic
Column wise filling
| Head | Body | Tail |
|---|---|---|
| Eyes | Chest | Rump |
| Antennae | Rounded body | Sting |
| Mane | Stripes | Furry Tail |
| Trunk | Stomach | Good Tail |
Row wise filling
| Head | Eyes | Antennae | Mane | Trunk |
|---|---|---|---|---|
| Body | Chest | Rounded body | Stripes | Stomach |
| Tail | Rump | Sting | Furry Tail | Good Tail |
C. HTML only
Column wise filling
| Image | Model | Car Manufacturer |
|---|---|---|
| dbllb File:pic-E.jpg dblrb | Corvette | Chevrolet |
| dbllb File:pic-D.jpg dblrb | Hypersport | Lykan |
| dbllb File:pic-C.jpg dblrb | Veyron | Buggatti |
| dbllb File:pic-B.jpg dblrb | i10 | Hyundai |
| dbllb File:pic-A.jpg dblrb | Supra | Toyota |
4. Decimal Points
| Algebraic expression | Sum |
|---|---|
| 10 + 1^-1 | 10.1 |
| 10 + 1^-2 | 10.01 |
| 10 + 1^-3 | 10.001 |
| 10 + 1^-4 | 10.0001 |
| 10 + 1^-5 | 10.00001 |
5. Column alignment
| Name | Sport | Record Holder? | BLP? |
|---|---|---|---|
| Roger Federer | Tennis | Yes | Yes |
| Michael Phelps | Swimming | Yes | Yes |
| Alejandro Garnacho | Football | No | Yes |
| Dale Earnhardt Sr. | Stock car racing (NASCAR) | Yes | No |
Side by side tables with or without images
| Head | Body | Tail |
|---|---|---|
| Eyes | Chest | Rump |
| Antennae | Rounded body | Sting |
| Mane | Stripes | Furry Tail |
| Trunk | Stomach | Good Tail |
| Car Manufacturer | Model | Image |
|---|---|---|
| Toyota | Supra | dbllb File:pic-A.jpg dblrb |
| Hyundai | i10 | dbllb File:pic-B.jpg dblrb |
| Buggatti | Veyron | dbllb File:pic-C.jpg dblrb |
| Lykan | Hypersport | dbllb File:pic-D.jpg dblrb |
| Chevrolet | Corvette | dbllb File:pic-E.jpg dblrb |
| Head | Body | Tail |
|---|---|---|
| Eyes | Chest | Rump |
| Antennae | Rounded body | Sting |
| Mane | Stripes | Furry Tail |
| Trunk | Stomach | Good Tail |
| Head | Body | Tail |
|---|---|---|
| Eyes | Chest | Rump |
| Antennae | Rounded body | Sting |
| Mane | Stripes | Furry Tail |
| Trunk | Stomach | Good Tail |
Templates
[edit ]1. Drop dlcb drop|X drcb used to largen the first letter of starting word in a sentence.
2. Using plainlist by dlcb Plainlist|... drcb; alternative dlcb plainlist drcb ... dlcb endplainlist drcb.
3. For horizontal list its dlcb hlist|...|...|... drcb.
Now comes the real thing
1. Simplest is lorem ipsum dlcb lorem ipsum dlrb
drop
are couldn't beat the tortoise in the race not because it was lazy, but because it was not slow and steady. Although if the roadrunner helped it, it would have won the race and we wouldn't have with us that Aesop's fable.
plainlist
My FC mobile squad (2024-25)
horizontal list
adding tocbox to show template src code
lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
span the man
If you read this far, I'll give yer a wikilove. Knight Commander of the Order of Patience (yes it doesn't exist)
Both PADDING and MARGIN style-rule values use the sequence TOP, RIGHT, BOTTOM, then LEFT, i.e. clockwise starting at the top.
BORDER uses the sequence BORDER-WIDTH, BORDER-STYLE, then BORDER-COLOR for all of the four borders at once. Other properties can address the four separately.
PADDING is the space around the text. MARGIN is the space around the text block. BORDER is the line that surrounds the text and its padding.
The code block contains the common text properties.Table parameters
dropthing and dropimage used for drop controls.