User:Davidgothberg/Test4
From Wikipedia, the free encyclopedia
[edit] Soccerball current event
[edit] Testing image Crystal Clear app kworldclock.png
[edit] Testing image Info non-talk.svg
[edit] My new signature
--David Göthberg (talk) 07:38, 9 September 2007 (UTC)
--David Göthberg (talk) 07:44, 9 September 2007 (UTC)
[edit] DIV tag width problem
style="border:1px solid #aaa; background:#ddf; padding:4px;"
style="border:1px solid #aaa; background:#ddf; width:100%; padding:4px;"
style="border:1px solid #aaa; background:#ddf; width:100%;"
style="border:1px solid #aaa; background:#ddf; width:80%; padding:4px;"
style="border:1px solid #aaa; background:#ddf; width:80%; padding:4px; margin-left:20%;
style="border:1px solid #aaa; background:#ddf; width:80%; margin-left:20%;
[edit] DIV tag inside DIV tag
style="border:1px solid #aaa; width:100%;"
style="border:1px solid #aaa; background:#ddf; padding:4px;"
style="border:1px solid #aaa; width:100%;"
style="border:1px solid #aaa; background:#ddf; margin:4px;"
[edit] Solved the right margin problem
Using borders to handle the cell "margins". A div tag (or a table) to create the outer border. Inside a table with no margins of its own (style="border-collapse:collapse;"). Then creating fake cell margins by using border-top for groups and border-top + border-left for lists.
Note that lists that take a subgroup must have padding:0px, while we want normal padding (2px or more) for lists that hold text content. This means that we need a way to inform the list cell that it has a subgroup. I suggest that we do that by using two kinds of list items, the normal "list1" that is for text content and then "list1sub" that is for subgroup content.
Header cell | |||||||||
---|---|---|---|---|---|---|---|---|---|
Group1: Row 2, cell 1 |
|
||||||||
Group2: Row 3, cell 1 | List2: Row 3, cell 2. |
[edit] Testing a navbox (subgroup) list item template
[edit] Testing the Issuebox
To meet Wikipedia's quality standards, ... Some text. Some text. Some text. Some text. Some text. Some text. Some text. |
Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. |
Some text. Some text. Some text. Some text. |
It has been suggested that this article or section be merged with User:Davidgothberg/Test10. (Discuss) |
Some text. Some text. Some text. Some text. Some text. Some text. Some text. Some text. |
Some text. Some text. Some text. Some text. |
Some text.
[edit] Testing tables
class="navbox"
Row 1, cell 1. |
Row 1, cell 2. |
|||
Row 2, cell 1. |
Row 2, cell 2. |
class="navbox" style="border-collapse:collapse;"
Row 1, cell 1. |
Row 1, cell 2. |
|||
Row 2, cell 1. |
Row 2, cell 2. |
class="navbox" style="border-spacing:0px;"
Row 1, cell 1. |
Row 1, cell 2. |
|||
Row 2, cell 1. |
Row 2, cell 2. |
class="navbox" style="border-collapse:collapse;" with cell borders.
Row 1, cell 1. |
Row 1, cell 2. |
|||
Row 2, cell 1. |
Row 2, cell 2. |
[edit] Testing {{navbox}}
|
[edit] Testing navbox with images
|
[edit] David testing magic words and parser functions
Relevant articles:
[edit] Magic words
1: PAGENAME is Davidgothberg/Test4
2: SUBPAGENAME is Test4
3: BASEPAGENAME is Davidgothberg
4: NAMESPACE is User
3: FULLPAGENAME is User:Davidgothberg/Test4
4: TALKSPACE is User talk
5: SUBJECTSPACE is User
6: TALKPAGENAME is User talk:Davidgothberg/Test4
7: SUBJECTPAGENAME is User:Davidgothberg/Test4
10: This is user space
11: #rel2abs: ./Gurka is User:Davidgothberg/Test4/Gurka
12: #rel2abs: ../Gurka is User:Davidgothberg/Gurka