User:Lakrits/sandbox3: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(-)
(-)
Line 1: Line 1:
;<big>Alignment</big>
{| class="wikitable" style="background-color: white;"
{| class="wikitable" style="background-color: white;"
|-
|-
! Parameter !! Value !! What you type !! style="width: 400px;" | What you see
! Element !! Value !! What you type !! style="width: -275px" | What you see
|-
|-
| {{center|{{code|1}} (text)}} || {{center|Only text}} || {{tlc|User:Lakrits/templatesandbox3|Sample text}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text}}
| rowspan="13" | Text || {{center|(none)}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text}}</div>
|-
|-
| rowspan="5" | {{center|{{code|2}} (alignment)}} || {{center|{{samp|baseline}}}} || {{tlc|User:Lakrits/templatesandbox3|Sample text|baseline}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text|baseline}}
| {{center|{{samp|baseline}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |baseline}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |baseline}}</div>
|-
|-
| {{center|{{samp|top}}}} || {{tlc|User:Lakrits/templatesandbox3|Sample text|top}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text|top}}
| {{center|{{samp|middle}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |middle}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |middle}}</div>
|-
|-
| {{center|{{samp|…px}}}} || {{tlc|User:Lakrits/templatesandbox3|Sample text|60px}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text|60px}}
| {{center|{{samp|sub}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |sub}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |sub}}</div>
|-
|-
| {{center|{{samp|…em}}}} || {{tlc|User:Lakrits/templatesandbox3|Sample text|-2em}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text|-2em}}
| {{center|{{samp|super}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |super}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |super}}</div>
|-
|-
| {{center|{{samp|…%}}}} || {{tlc|User:Lakrits/templatesandbox3|Sample text|-90%}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text|-90%}}
| {{center|{{samp|text-top}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |text-top}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |text-top}}</div>
|-
|-
| {{center|{{code|style}}}} ||  || {{tlc|User:Lakrits/templatesandbox3|Sample text|style{{=}}font-family: Garamond; background-color: azure;}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|Sample text|style=font-family: Garamond; background-color: azure;}}
| {{center|{{samp|text-bottom}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |text-bottom}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |text-bottom}}</div>
|-
|-
| Wiki-formatting ||  || {{tlc|User:Lakrits/templatesandbox3|<nowiki>You ''can'' '''use''' {{sup|wiki}} <big>markup</big></nowiki>}} || [[File:Idea.png|link=]] {{User:Lakrits/templatesandbox3|You ''can'' '''use''' {{sup|wiki}} <big>markup</big>}}
| {{center|{{samp|top}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |top}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |top}}</div>
|-
| {{center|{{samp|bottom}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |bottom}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |bottom}}</div>
|-
| {{center|{{samp|inherit}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |inherit}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |inherit}}</div>
|-
| {{center|{{samp|…px}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |40px}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |40px}}</div>
|-
| {{center|{{samp|…em}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |-2em}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |-2em}}</div>
|-
| {{center|{{samp|…%}}}} || {{tlc|User:Lakrits/templatesandbox3 |Sample text |-200%}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3 |Sample text |-200%}}</div>
|-
| rowspan="13" | Image || {{center|(none)}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]}}</div>
|-
| {{center|{{samp|baseline}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|baseline}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|baseline}}</div>
|-
| {{center|{{samp|middle}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|middle}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|middle}}</div>
|-
| {{center|{{samp|sub}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|sub}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|sub}}</div>
|-
| {{center|{{samp|super}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|super}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|super}}</div>
|-
| {{center|{{samp|text-top}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|text-top}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|text-top}}</div>
|-
| {{center|{{samp|text-bottom}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|text-bottom}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|text-bottom}}</div>
|-
| {{center|{{samp|top}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|top}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|top}}</div>
|-
| {{center|{{samp|bottom}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|bottom}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|bottom}}</div>
|-
| {{center|{{samp|inherit}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|inherit}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|inherit}}</div>
|-
| {{center|{{samp|…px}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|40px}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|40px}}</div>
|-
| {{center|{{samp|…em}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|-2em}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|-2em}}</div>
|-
| {{center|{{samp|…%}}}} || {{tlc|User:Lakrits/templatesandbox3|<nowiki>[[File:Idea.png|20px|link=]]</nowiki>|-200%}} || style="height: 75px;" | <div style="float: left;">(Parent element)&nbsp;&nbsp;{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|-200%}}</div>
|}
 
;<big>Styling</big>
{| class="wikitable" style="background-color: white;"
|-
! Case !! What you type !! style="width: -275px;" | What you see
|-
| Param {{code|style}} || {{tlc|User:Lakrits/templatesandbox3|Sample text |style{{=}}font-family: Garamond; background-color: azure;}} || {{User:Lakrits/templatesandbox3|Sample text |style=font-family: Garamond; background-color: azure;}}
|-
| Wiki-formatting || {{tlc|User:Lakrits/templatesandbox3|<nowiki>You ''can'' '''use''' {{sup|wiki}} <big>markup</big></nowiki>}} || {{User:Lakrits/templatesandbox3|You ''can'' '''use''' {{sup|wiki}} <big>markup</big>}}
|}
|}

Revision as of 12:23, 30 December 2014

Alignment
Element Value What you type What you see
Text
(none)
{{User:Lakrits/templatesandbox3|Sample text}}
(Parent element)  
Sample text {{{2}}}
baseline
{{User:Lakrits/templatesandbox3|Sample text|baseline}}
(Parent element)  
Sample text baseline
middle
{{User:Lakrits/templatesandbox3|Sample text|middle}}
(Parent element)  
Sample text middle
sub
{{User:Lakrits/templatesandbox3|Sample text|sub}}
(Parent element)  
Sample text sub
super
{{User:Lakrits/templatesandbox3|Sample text|super}}
(Parent element)  
Sample text super
text-top
{{User:Lakrits/templatesandbox3|Sample text|text-top}}
(Parent element)  
Sample text text-top
text-bottom
{{User:Lakrits/templatesandbox3|Sample text|text-bottom}}
(Parent element)  
Sample text text-bottom
top
{{User:Lakrits/templatesandbox3|Sample text|top}}
(Parent element)  
Sample text top
bottom
{{User:Lakrits/templatesandbox3|Sample text|bottom}}
(Parent element)  
Sample text bottom
inherit
{{User:Lakrits/templatesandbox3|Sample text|inherit}}
(Parent element)  
Sample text inherit
…px
{{User:Lakrits/templatesandbox3|Sample text|40px}}
(Parent element)  
Sample text 40px
…em
{{User:Lakrits/templatesandbox3|Sample text|-2em}}
(Parent element)  
Sample text -2em
…%
{{User:Lakrits/templatesandbox3|Sample text|-200%}}
(Parent element)  
Sample text -200%
Image
(none)
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]}}
(Parent element)  
Idea.png {{{2}}}
baseline
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|baseline}}
(Parent element)  
Idea.png baseline
middle
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|middle}}
(Parent element)  
Idea.png middle
sub
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|sub}}
(Parent element)  
Idea.png sub
super
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|super}}
(Parent element)  
Idea.png super
text-top
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|text-top}}
(Parent element)  
Idea.png text-top
text-bottom
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|text-bottom}}
(Parent element)  
Idea.png text-bottom
top
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|top}}
(Parent element)  
Idea.png top
bottom
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|bottom}}
(Parent element)  
Idea.png bottom
inherit
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|inherit}}
(Parent element)  
Idea.png inherit
…px
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|40px}}
(Parent element)  
Idea.png 40px
…em
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|-2em}}
(Parent element)  
Idea.png -2em
…%
{{User:Lakrits/templatesandbox3|[[File:Idea.png|20px|link=]]|-200%}}
(Parent element)  
Idea.png -200%
Styling
Case What you type What you see
Param style {{User:Lakrits/templatesandbox3|Sample text|style=font-family: Garamond; background-color: azure;}}
Sample text {{{2}}}
Wiki-formatting {{User:Lakrits/templatesandbox3|You ''can'' '''use''' {{sup|wiki}} <big>markup</big>}}
You can use wiki markup {{{2}}}