Difference between revisions of "TryTest"
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
== Terminology == | == Terminology == | ||
See if the definition on the [[Terminology]] page appears, and how it looks when it does. (It's wonderful! Note the subtle dashed underline, and the way the text appears when the cursor hovers over that symbol.) | |||
And tenants, too. | And tenants, too. |
Latest revision as of 18:07, 29 August 2011
Terminology
See if the definition on the Terminology page appears, and how it looks when it does. (It's wonderful! Note the subtle dashed underline, and the way the text appears when the cursor hovers over that symbol.)
And tenants, too.
Template Transclusion
This page shows the results of transcluding Template:Test.
- == Left Right and Center Text on Same Line ==
It needs to work when the page is resized.
http://stackoverflow.com/questions/525961/css-same-line-aligning
{{#ifexist: Lab #4 | [[Lab #4 | Forward to Lab #4]] | }} |
Experiment with variablized links
Here is the result of an inserted [ eclipse plugin].
Experiment with tight table rows
Old
Data | ||
Store data in a powerful "database on steroids". |
New
Data | |||||||||||
|
Tight Table Rows
Looking for the magical formula to create rows with no space between them.
- The 4 padding/margin values = top, right, bottom, left
- Some browsers respond to margin, others to padding, so both need to be specified
- Applied to the table, they determine where the borders appear within a larger "box".
- To apply to individual cells, the border properties need to be specified on each cell
- The CSS rule below does that.
It applies only to <td>elements in tables that specify class="tight-rows":
table.tight-rows td { padding:0 5px 0 5px; margin:0 5px 0 5px; }
stuff stuff more more
Horizontal and Vertical Bars
LJ Horizontal ruler:
ATT Ruler:
CSS-styled Ruler:
Normal Ruler:
stuff
foo
barAnd more stuff:
Link Tests
Test a link to an embedded internal anchor: #end
Test a link that transcludes the host URL from Template:DOCHOST.
Add Line Numbers to Source Code Listings
But make it possible to copy the source code without the line numbers...
<pre> </pre> |
line 1 of code
line 2 of code
line 3 of code
{{{1}}}
|
The trick, obviously, is to find the CSS that GeSHI uses, and to figure out a way to automate the numbering. (Both tough, but the latter is the hardest.)
<a name="end"/>
- {{#len:Here is some text}} (s/b 17)
- 3 (s/b 3)
- 13 (s/b 13)
- 2 (s/b 2)
- 1 (s/b 1)
This is straight <syntaxhighlight> with the GeShi version that expands templates, to prove that basic functionality is unchanged:
SomeClass someFunction() {
some code;
}
Here's a version with the shorter <source> tag:
SomeClass someFunction() {
some code;
}
Here's a version that uses the Code template to provide non-intrusive line numbers:
Left Right and Center Text on Same Line
It needs to work when the page is resized.
http://stackoverflow.com/questions/525961/css-same-line-aligning
{{#ifexist: Lab #4 | [[Lab #4 | Forward to Lab #4]] | }} |
Experiment with variablized links
Here is the result of an inserted [ eclipse plugin].
Experiment with tight table rows
Old
Data | ||
Store data in a powerful "database on steroids". |
New
Data | |||||||||||
|
Tight Table Rows
Looking for the magical formula to create rows with no space between them.
- The 4 padding/margin values = top, right, bottom, left
- Some browsers respond to margin, others to padding, so both need to be specified
- Applied to the table, they determine where the borders appear within a larger "box".
- To apply to individual cells, the border properties need to be specified on each cell
- The CSS rule below does that.
It applies only to <td>elements in tables that specify class="tight-rows":
table.tight-rows td { padding:0 5px 0 5px; margin:0 5px 0 5px; }
stuff stuff more more
Horizontal and Vertical Bars
LJ Horizontal ruler:
ATT Ruler:
CSS-styled Ruler:
Normal Ruler:
stuff
foo
barAnd more stuff:
Link Tests
Test a link to an embedded internal anchor: #end
Test a link that transcludes the host URL from Template:DOCHOST.
Add Line Numbers to Source Code Listings
But make it possible to copy the source code without the line numbers...
<pre> </pre> |
line 1 of code
line 2 of code
line 3 of code
{{{1}}}
|
The trick, obviously, is to find the CSS that GeSHI uses, and to figure out a way to automate the numbering. (Both tough, but the latter is the hardest.)
<a name="end"/>